作者 郭宇鹏
1 个管道 的构建 通过 耗费 1 秒

'1-6'

... ... @@ -36,6 +36,6 @@ class ArticleComment extends BaseModel
* 关联用户表
*/
public function User(){
return $this->belongsTo('user','user_id','id')->field('id,avatar,nickname,username,authlist');
return $this->belongsTo('user','user_id','id');
}
}
\ No newline at end of file
... ...
... ... @@ -10,6 +10,6 @@ class ExhibitionComment extends BaseModel
* 关联用户表
*/
public function User(){
return $this->belongsTo('user','user_id','id')->field('id,avatar,nickname,username,authlist');
return $this->belongsTo('user','user_id','id');
}
}
\ No newline at end of file
... ...
... ... @@ -11,7 +11,7 @@ class Production extends BaseModel
* 关联用户表
*/
public function User(){
return $this->belongsTo('user','user_id','id')->field('id,avatar,nickname,username,authlist');
return $this->belongsTo('user','user_id','id');
}
}
\ No newline at end of file
... ...