This commit is contained in:
songliang 2023-07-04 14:35:43 +08:00
parent aa92aa148f
commit 46df586839

View File

@ -402,7 +402,7 @@ class ShopController extends BaseAuthedController
{ {
$address = $this->_getAddress(); $address = $this->_getAddress();
if (empty($address)) { if (empty($address)) {
$this->_rspErr(2, 'address is empty'); $this->_rspErr(3, 'address is empty');
return; return;
} }
@ -446,7 +446,7 @@ class ShopController extends BaseAuthedController
{ {
$address = $this->_getAddress(); $address = $this->_getAddress();
if (empty($address)) { if (empty($address)) {
$this->_rspErr(2, 'address is empty'); $this->_rspErr(4, 'address is empty');
return; return;
} }
$id = getReqVal('id', 0); $id = getReqVal('id', 0);
@ -669,7 +669,7 @@ class ShopController extends BaseAuthedController
$account = $this->_getAccountId(); $account = $this->_getAccountId();
$address = $this->_getAddress(); $address = $this->_getAddress();
if (empty($address)) { if (empty($address)) {
$this->_rspErr(2, 'address is empty'); $this->_rspErr(5, 'address is empty');
return; return;
} }