...
|
...
|
@@ -45,7 +45,7 @@ class Article extends BaseModel |
|
|
* 关联用户表
|
|
|
*/
|
|
|
public function User(){
|
|
|
return $this->belongsTo('user','user_id','id')->field('id,avatar,nickname,username,authlist,user_chirography_ids,user_label_ids');
|
|
|
return $this->belongsTo('user','user_id','id')->field('id,avatar,nickname,username,authlist,user_chirography_ids,user_label_ids,is_expert');
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|