|
@@ -538,7 +538,8 @@ class StoreProc {
|
|
|
// var_dump("装备言灵.");
|
|
|
TaskProc::OnHeroWearYanling($collectHeros->$herouid->typeId, $user->store->yanling->$yanling_uid->typeId);
|
|
|
UserProc::updateUserInfo(); # 5.回写数据
|
|
|
- $ret = array('resp' => "succeed!");
|
|
|
+ $ret = array('resp' => "succeed!",
|
|
|
+ 'store' => $user->store);
|
|
|
$resp = Resp::ok($ret); // 返回
|
|
|
HeroProc::CalcUserFightPower($req->zoneid, $req->uid, $user); # 更新总战力榜
|
|
|
return $resp;
|
|
@@ -618,7 +619,8 @@ class StoreProc {
|
|
|
// StoreProc::CheckItemNum($req);
|
|
|
TaskProc::OnHeroWearWeapon($collectHeros->$herouid->typeId, $user->store->equipment->$equipuid->typeId);
|
|
|
HeroProc::CalcUserFightPower($req->zoneid, $req->uid, $user); # 更新总战力榜
|
|
|
- return Resp::ok(array('resp' => "succeed!")); // 返回
|
|
|
+ return Resp::ok(array('resp' => "succeed!",
|
|
|
+ 'store' => $user->store)); // 返回
|
|
|
}
|
|
|
|
|
|
/**
|