wesmiler hai 1 día
pai
achega
41ac1a5a5d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Models/GoodsCommentModel.php

+ 1 - 1
app/Models/GoodsCommentModel.php

@@ -37,7 +37,7 @@ class GoodsCommentModel extends BaseModel
     public function user()
     {
         return $this->hasOne(MemberModel::class, 'id', 'user_id')
-            ->select(['id','openid', 'mobile', 'nickname','balance', 'realname', 'status']);
+            ->select(['id','openid', 'mobile', 'nickname','balance','avatar', 'realname', 'status']);
     }