This commit is contained in:
songliang 2023-06-27 10:49:39 +08:00
parent 354a388d9d
commit 2fbf4bec84

View File

@ -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);