1
This commit is contained in:
parent
8aa5627dc0
commit
02077e884a
@ -169,6 +169,13 @@ class HeroController extends BaseAuthedController {
|
|||||||
$propertyChgService->addHeroChg();
|
$propertyChgService->addHeroChg();
|
||||||
$propertyChgService->addBagChg();
|
$propertyChgService->addBagChg();
|
||||||
$propertyChgService->addUserChg();
|
$propertyChgService->addUserChg();
|
||||||
|
Hero::update($heroUniId,
|
||||||
|
array(
|
||||||
|
'hero_lv' => $heroDb['hero_lv'] + 1,
|
||||||
|
'lock_type' => 0,
|
||||||
|
'unlock_time' => 0,
|
||||||
|
)
|
||||||
|
);
|
||||||
$rankActivityService = new services\RankActivityService();
|
$rankActivityService = new services\RankActivityService();
|
||||||
$rankActivityService->heroUpgradeLevel($heroDb['hero_lv'] + 1);
|
$rankActivityService->heroUpgradeLevel($heroDb['hero_lv'] + 1);
|
||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
@ -197,6 +204,13 @@ class HeroController extends BaseAuthedController {
|
|||||||
$propertyChgService->addHeroChg();
|
$propertyChgService->addHeroChg();
|
||||||
$propertyChgService->addBagChg();
|
$propertyChgService->addBagChg();
|
||||||
$propertyChgService->addUserChg();
|
$propertyChgService->addUserChg();
|
||||||
|
Hero::update($heroUniId,
|
||||||
|
array(
|
||||||
|
'quality' => $heroDb['quality'] + 1,
|
||||||
|
'lock_type' => 0,
|
||||||
|
'unlock_time' => 0,
|
||||||
|
)
|
||||||
|
);
|
||||||
$rankActivityService = new services\RankActivityService();
|
$rankActivityService = new services\RankActivityService();
|
||||||
$rankActivityService->heroUpgradeLevel($heroDb['quality'] + 1);
|
$rankActivityService->heroUpgradeLevel($heroDb['quality'] + 1);
|
||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user