// +---------------------------------------------------------------------- namespace app\matchmaker\model; use think\Model; class MatchmakerUserFollowModel extends Model { public function getCreateTimeTextAttr($value, $data) { return date('Y-m-d H:i:s', $data['create_time']); } }