update
This commit is contained in:
@ -21,6 +21,8 @@ namespace App\Model;
|
||||
* @property int $is_record
|
||||
* @property string $cover
|
||||
* @property int $is_delete
|
||||
* @property string $source_url
|
||||
* @property string $source_platform
|
||||
* @property-read mixed $created_at
|
||||
*/
|
||||
class AppNews extends Model
|
||||
@ -44,6 +46,6 @@ class AppNews extends Model
|
||||
|
||||
public function getCreatedAtAttribute($value)
|
||||
{
|
||||
return date('Y-m-d H:i:s', intval($value));
|
||||
return date('Y-m-d', intval($value));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user