diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index f78a0be3..df00fc98 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -413,6 +413,11 @@ class HeroController extends BaseAuthedController { 英雄重置 2:5|3:10|4:15|5:20|6:25|7:30|8:35|9:40|10:45|11:50|12:55|13:60|14:65|15:70 */ public function heroResetLevel(){ + error_log("heroResetLevel : " . json_encode($_REQUEST)); + if (!$this->_isValidAddress()) { + $this->_rspErr(1, 'address is empty'); + return; + } $hero_unnid = getReqVal('hero_unnid',0); $price = getReqVal('price', 0); $heroDb = Hero::find($hero_unnid);