...
|
...
|
@@ -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 |
...
|
...
|
|