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)) {