diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 5f961977..e73465cb 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -402,7 +402,7 @@ class ShopController extends BaseAuthedController { $address = $this->_getAddress(); if (empty($address)) { - $this->_rspErr(2, 'address is empty'); + $this->_rspErr(3, 'address is empty'); return; } @@ -446,7 +446,7 @@ class ShopController extends BaseAuthedController { $address = $this->_getAddress(); if (empty($address)) { - $this->_rspErr(2, 'address is empty'); + $this->_rspErr(4, 'address is empty'); return; } $id = getReqVal('id', 0); @@ -669,7 +669,7 @@ class ShopController extends BaseAuthedController $account = $this->_getAccountId(); $address = $this->_getAddress(); if (empty($address)) { - $this->_rspErr(2, 'address is empty'); + $this->_rspErr(5, 'address is empty'); return; }