dyjh 6 năm trước cách đây
mục cha
commit
b86665e098
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumPosterController.php

+ 1 - 1
app/Http/Controllers/Api/V1/AlbumPosterController.php

xqd
@@ -71,7 +71,7 @@ class AlbumPosterController extends Controller
             return $this->validatorError($validator->messages()->all(), ErrorCode::CLIENT_WRONG_PARAMS, '');
         }
         $store_id = $request->input('store_id');
-        $info = AlbumPosterModel::where('store_id', $store_id)->get()->toArray();
+        $info = AlbumPosterModel::where('store_id', $store_id)->get();
         $WeChatApp = AlbumManufacturerModel::where('store_id', $store_id)->first();
         if ($userAuth->is_dealer != 1) {
             if ($userAuth->up_agent_id == 0) {