wesmiler 1 روز پیش
والد
کامیت
41ac1a5a5d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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']);
     }