dyjh hace 6 años
padre
commit
39b468c51e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumController.php

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

xqd
@@ -1155,7 +1155,7 @@ class AlbumController extends Controller
         if ($validator->fails()) {
             return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '传入参数不正确!', $validator->messages());
         }
-        $this->wechat_app = AlbumManufacturerModel::where('store_id',$storeid)->first();
+        $this->wechat_app = AlbumManufacturerModel::where('store_id',$request->input('store_id'))->first();
         $config = [
             'app_id' => $this->wechat_app->xyx_id,
             'secret' => $this->wechat_app->xyx_secret,