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());
}
}else{
UserUserLogic::checkAddress($params);
if(UserUserLogic::hasError()){
return $this->fail(UserUserLogic::getError());
if(isset($params['type']) && $params['type'] != 2){
UserUserLogic::checkAddress($params);
if(UserUserLogic::hasError()){
return $this->fail(UserUserLogic::getError());
}
}
$find['real_name']=$params['real_name'];
$find['label_id']=$params['label_id']??0;