|
@@ -27,7 +27,7 @@ class GoodsCommentModel extends BaseModel
|
|
|
// 时间
|
|
// 时间
|
|
|
public function getTimeTextAttribute()
|
|
public function getTimeTextAttribute()
|
|
|
{
|
|
{
|
|
|
- return $this->create_time? datetime($this->create_time,'Y-m-d H:i:s') : '';
|
|
|
|
|
|
|
+ return $this->create_time? dateFormat($this->create_time,'Y-m-d') : '';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|