|
@@ -92,7 +92,7 @@ class StoreProc {
|
|
}
|
|
}
|
|
|
|
|
|
ctx()->store->equip->$uid = $ins_equip;
|
|
ctx()->store->equip->$uid = $ins_equip;
|
|
-
|
|
|
|
|
|
+ FightProc::Ranking_FightPower();
|
|
UserProc::updateUserInfo();
|
|
UserProc::updateUserInfo();
|
|
return Resp::ok(array(
|
|
return Resp::ok(array(
|
|
'gold' => ctx()->baseInfo->gold,
|
|
'gold' => ctx()->baseInfo->gold,
|
|
@@ -162,6 +162,8 @@ class StoreProc {
|
|
|
|
|
|
$ins_equip->level = 1;
|
|
$ins_equip->level = 1;
|
|
ctx()->store->equip->$uid = $ins_equip;
|
|
ctx()->store->equip->$uid = $ins_equip;
|
|
|
|
+
|
|
|
|
+ FightProc::Ranking_FightPower();
|
|
UserProc::updateUserInfo();
|
|
UserProc::updateUserInfo();
|
|
return Resp::ok(array(
|
|
return Resp::ok(array(
|
|
'gold' => ctx()->baseInfo->gold,
|
|
'gold' => ctx()->baseInfo->gold,
|
|
@@ -242,6 +244,8 @@ class StoreProc {
|
|
}
|
|
}
|
|
|
|
|
|
TaskProc::OnEquipComposeNum();
|
|
TaskProc::OnEquipComposeNum();
|
|
|
|
+ FightProc::Ranking_FightPower();
|
|
|
|
+
|
|
UserProc::updateUserInfo();
|
|
UserProc::updateUserInfo();
|
|
return Resp::ok(array(
|
|
return Resp::ok(array(
|
|
'gold' => ctx()->baseInfo->gold,
|
|
'gold' => ctx()->baseInfo->gold,
|
|
@@ -354,7 +358,7 @@ class StoreProc {
|
|
}
|
|
}
|
|
|
|
|
|
TaskProc::OnEquipComposeNum();
|
|
TaskProc::OnEquipComposeNum();
|
|
-
|
|
|
|
|
|
+ FightProc::Ranking_FightPower();
|
|
UserProc::updateUserInfo(); # 回存玩家数据
|
|
UserProc::updateUserInfo(); # 回存玩家数据
|
|
return Resp::ok(array(# # 返回给客户端的数据
|
|
return Resp::ok(array(# # 返回给客户端的数据
|
|
'gold' => ctx()->baseInfo->gold,
|
|
'gold' => ctx()->baseInfo->gold,
|