|
|
@ -70,6 +70,11 @@ class OrderMain extends Model |
|
|
return date('Y-m-d H:i:s', $this->attributes['created_at']); |
|
|
return date('Y-m-d H:i:s', $this->attributes['created_at']); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function getUpdatedAtTextAttribute() |
|
|
|
|
|
{ |
|
|
|
|
|
return date('Y-m-d H:i:s', $this->attributes['updated_at']); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public function getPayTimeTextAttribute() |
|
|
public function getPayTimeTextAttribute() |
|
|
{ |
|
|
{ |
|
|
return date('Y-m-d H:i:s', $this->attributes['pay_time']); |
|
|
return date('Y-m-d H:i:s', $this->attributes['pay_time']); |
|
|
|