This commit is contained in:
aozhiwei 2022-06-13 19:37:43 +08:00
parent 8aa5627dc0
commit 02077e884a

View File

@ -169,6 +169,13 @@ class HeroController extends BaseAuthedController {
$propertyChgService->addHeroChg();
$propertyChgService->addBagChg();
$propertyChgService->addUserChg();
Hero::update($heroUniId,
array(
'hero_lv' => $heroDb['hero_lv'] + 1,
'lock_type' => 0,
'unlock_time' => 0,
)
);
$rankActivityService = new services\RankActivityService();
$rankActivityService->heroUpgradeLevel($heroDb['hero_lv'] + 1);
$this->_rspData(array(
@ -197,6 +204,13 @@ class HeroController extends BaseAuthedController {
$propertyChgService->addHeroChg();
$propertyChgService->addBagChg();
$propertyChgService->addUserChg();
Hero::update($heroUniId,
array(
'quality' => $heroDb['quality'] + 1,
'lock_type' => 0,
'unlock_time' => 0,
)
);
$rankActivityService = new services\RankActivityService();
$rankActivityService->heroUpgradeLevel($heroDb['quality'] + 1);
$this->_rspData(array(