From 742e798f5aa3deea06c1467c53bad83ee387850b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 26 Jul 2023 15:34:53 +0800 Subject: [PATCH] 1 --- doc/_common.py | 1 + webapp/controller/ShopController.class.php | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/doc/_common.py b/doc/_common.py index 1d982083..8479814c 100644 --- a/doc/_common.py +++ b/doc/_common.py @@ -388,6 +388,7 @@ class Goods(object): ['bought_times', 0, '已购买次数'], ['total_buy_times', 0, '总的可购买次数'], ] + class NewGoods(object): def __init__(self): self.fields = [ diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 0aedef26..090a857e 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -105,15 +105,6 @@ class ShopController extends BaseAuthedController public function _handlePre() { - // if (SERVER_ENV == _ONLINE) { - // if (getReqVal('client_uuid', '') != '499af8a0-a1bc-0b0e-dc79-a42cb3f103dc') { - // if ((getReqVal('c', '') != 'Battle')) { - // phpcommon\sendError(1001, 'session expiration'); - // die(); - // } - // } - // } - $a = getReqVal('a', ''); if ( $a != 'buyGoodsDirect' &&