...
This commit is contained in:
parent
aa92aa148f
commit
46df586839
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user