'array', 'search' => 'array', ]; protected $fillable = [ 'uid', 'be_uid', 'title', 'content', 'images', 'reply_at', 'replay_content', 'device', 'phone', 'search' ]; protected $dateFormat = 'U'; public function userinfo() { return $this->belongsTo(UserModel::class, 'uid', 'uid')->select(["nickname", "headimgurl", "sex"]); } }