This commit is contained in:
liu 2024-07-06 18:01:38 +08:00
parent f2cc9f7f9f
commit 89426af815

View File

@ -89,9 +89,11 @@ class StoreController extends BaseApiController
return $this->fail(UserUserLogic::getError()); return $this->fail(UserUserLogic::getError());
} }
}else{ }else{
UserUserLogic::checkAddress($params); if(isset($params['type']) && $params['type'] != 2){
if(UserUserLogic::hasError()){ UserUserLogic::checkAddress($params);
return $this->fail(UserUserLogic::getError()); if(UserUserLogic::hasError()){
return $this->fail(UserUserLogic::getError());
}
} }
$find['real_name']=$params['real_name']; $find['real_name']=$params['real_name'];
$find['label_id']=$params['label_id']??0; $find['label_id']=$params['label_id']??0;