...
This commit is contained in:
parent
354a388d9d
commit
2fbf4bec84
@ -828,10 +828,10 @@ class ShopController extends BaseAuthedController
|
||||
public function buyGoodsNormal()
|
||||
{
|
||||
$address = $this->_getAddress();
|
||||
// if (empty($address)) {
|
||||
// $this->_rspErr(2, 'address is empty');
|
||||
// return;
|
||||
// }
|
||||
if (empty($address)) {
|
||||
$this->_rspErr(2, 'address is empty');
|
||||
return;
|
||||
}
|
||||
$id = getReqVal('id', 0);
|
||||
$token_type = getReqVal('token_type', '');
|
||||
$goods_num = getReqVal('goods_num', 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user