|
...
|
...
|
@@ -164,4 +164,10 @@ class Product extends Base |
|
|
|
// return self::where('project_id', $project_id)->where('status', self::STATUS_ON)->count();
|
|
|
|
// }
|
|
|
|
|
|
|
|
public function getSendTimeAttribute($value){
|
|
|
|
if(!$value){
|
|
|
|
return date('Y-m-d H:i:s', strtotime($this->getAttribute('created_at')));
|
|
|
|
}
|
|
|
|
return $value;
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|