dyjh 6 år sedan
förälder
incheckning
39216cab02
1 ändrade filer med 1 tillägg och 0 borttagningar
  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'];