|
|
@@ -20,10 +20,6 @@ class PcIssue extends BaseModel
|
|
|
'award',
|
|
|
'winning_array',
|
|
|
'end_timestamp',
|
|
|
- 'openCode1',
|
|
|
- 'openCode2',
|
|
|
- 'openCode3',
|
|
|
- 'he'
|
|
|
];
|
|
|
|
|
|
public static $STATUS = [
|
|
|
@@ -65,12 +61,6 @@ class PcIssue extends BaseModel
|
|
|
return json_decode($value, true);
|
|
|
}
|
|
|
|
|
|
- function getOpenCode1Attribute(){
|
|
|
- $winning_numbers = explode(',', $this->winning_numbers);
|
|
|
- $winning_numbers = array_map('intval', $winning_numbers);
|
|
|
- return $winning_numbers[0];
|
|
|
- }
|
|
|
-
|
|
|
function getAwardAttribute()
|
|
|
{
|
|
|
if (!empty($this->winning_numbers)) {
|