dyjh %!s(int64=6) %!d(string=hai) anos
pai
achega
39216cab02
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Http/Controllers/Api/V1/AlbumController.php

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

xqd
@@ -1964,6 +1964,7 @@ class AlbumController extends Controller
         $local = $this->curlGet($url);
         $res = json_decode($local,true);
         $agent_check = AlbumAgentModel::where([['store_id',$data['store_id']],['user_id',$userAuth->id]])->withTrashed()->first();
+        dd($agent_check);
         if($agent_check){
             if($agent_check->status==0) return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '该用户已提交申请!');
             $agent_check->phone = $data['phone'];