From d4aa7d506199b60a73df21366f84dcb11d36e20f Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 29 Nov 2021 17:05:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E8=B5=8B=E5=8D=87=E7=BA=A7Ok?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/controller/GunController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/controller/GunController.class.php b/webapp/controller/GunController.class.php index 77ed880..966c7e9 100644 --- a/webapp/controller/GunController.class.php +++ b/webapp/controller/GunController.class.php @@ -71,11 +71,11 @@ class GunController extends BaseAuthedController { $this->_rspErr(2, '已满级'); return; } - /*$ormUserInfo = $this->_getOrmUserInfo(); + $ormUserInfo = $this->_getOrmUserInfo(); if ($ormUserInfo['level'] < $growMeta['need_user_level']) { $this->_rspErr(3, '用户等级未到达'); return; - }*/ + } $costList = mt\GunTalentGrow::getCostList($growMeta); $lackItem = array(); if (!$this->_hasEnoughItems($costList, $lackItem)) {