|
|
|
@ -10,7 +10,8 @@ class StoreWithdrawal extends Model |
|
|
|
|
|
|
|
protected $appends = [ |
|
|
|
'state_text', |
|
|
|
'check_time_text' |
|
|
|
'check_time_text', |
|
|
|
'created_at_text' |
|
|
|
]; |
|
|
|
|
|
|
|
public function getStateTextAttribute() |
|
|
|
@ -26,4 +27,9 @@ class StoreWithdrawal extends Model |
|
|
|
return date('Y-m-d H:i:s', $this->attributes['check_time']); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public function getCreatedAtTimeTextAttribute() |
|
|
|
{ |
|
|
|
return date('Y-m-d H:i:s', $this->attributes['created_at']); |
|
|
|
} |
|
|
|
} |