From 2fbf4bec84100830b848fa775ea1b58f31134227 Mon Sep 17 00:00:00 2001 From: songliang Date: Tue, 27 Jun 2023 10:49:39 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 60578e59..e7a22d0b 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -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);