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

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

xqd xqd
@@ -1139,7 +1139,7 @@ class AlbumController extends Controller
      */
     public function albumSavePhone(Request $request)
     {
-        $userAuth = Auth('api')->user();
+       /* $userAuth = Auth('api')->user();
         if(!$userAuth) return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '未登录!');
         $validator = Validator::make($request->all(), [
             'store_id' => 'required',
@@ -1154,7 +1154,7 @@ class AlbumController extends Controller
         ]);
         if ($validator->fails()) {
             return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '传入参数不正确!', $validator->messages());
-        }
+        }*/
         $config = [
             'app_id' => $this->wechat_app->xyx_id,
             'secret' => $this->wechat_app->xyx_secret,