|
@@ -1914,6 +1914,7 @@ class AlbumController extends Controller
|
|
$url = "https://apis.map.qq.com/ws/geocoder/v1/?address=".$data['address']."&key=".env('QQMAP');
|
|
$url = "https://apis.map.qq.com/ws/geocoder/v1/?address=".$data['address']."&key=".env('QQMAP');
|
|
$local = $this->curl_get($url);
|
|
$local = $this->curl_get($url);
|
|
$res = json_decode($local,true);
|
|
$res = json_decode($local,true);
|
|
|
|
+ dd($res);
|
|
$agent_check = AlbumAgentModel::where([['store_id',$data['store_id']],['user_id',$userAuth->id]])->first();
|
|
$agent_check = AlbumAgentModel::where([['store_id',$data['store_id']],['user_id',$userAuth->id]])->first();
|
|
if($agent_check){
|
|
if($agent_check){
|
|
if($agent_check->status==0) return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '该用户已提交申请!');
|
|
if($agent_check->status==0) return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '该用户已提交申请!');
|