From 690a0afa33b5f33814fe8b55fca9eebc84ebc77c Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Mon, 3 Jul 2023 17:08:30 +0800 Subject: [PATCH] 1 --- webapp/controller/HeroController.class.php | 5 +++++ 1 file changed, 5 insertions(+) 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);