使用fdesk库
This commit is contained in:
@@ -16,7 +16,7 @@ class Follow extends Model
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'follow';
|
||||
protected $table = 'crm_follow';
|
||||
|
||||
/**
|
||||
* The primary key associated with the table.
|
||||
@@ -57,8 +57,8 @@ class Follow extends Model
|
||||
}else {
|
||||
$follow['oss_picture'] = '';
|
||||
}
|
||||
$follow['created_at'] = date('Y-m-d H:i:s',strtotime($follow['created_at'])+(3600*8));
|
||||
$follow['updated_at'] = date('Y-m-d H:i:s',strtotime($follow['updated_at'])+(3600*8));
|
||||
$follow['created_at'] = (!empty($follow['created_at']))?date('Y-m-d H:i:s',strtotime($follow['created_at'])+(3600*8)):'';
|
||||
$follow['updated_at'] = (!empty($follow['updated_at']))?date('Y-m-d H:i:s',strtotime($follow['updated_at'])+(3600*8)):'';
|
||||
// $follow = Util::formatDate($follow);
|
||||
return $follow;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user