This commit is contained in:
hujiabin 2023-07-03 17:08:30 +08:00
parent e9164064d0
commit 690a0afa33

View File

@ -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);