dyjh 6 年之前
父節點
當前提交
39216cab02
共有 1 個文件被更改,包括 1 次插入0 次删除
  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'];