|
@@ -169,7 +169,7 @@ class ShopProc {
|
|
|
|
|
|
$n = rand(0, count($gemList)-1);
|
|
|
$gem = StoreProc::initGem($gateGift[$n]->typeId);
|
|
|
- $resultArr[] = $gem;
|
|
|
+ $resultArr[] = $gem->uid;
|
|
|
StoreProc::PutGemInStore2($gem);
|
|
|
}
|
|
|
}
|
|
@@ -296,9 +296,8 @@ class ShopProc {
|
|
|
ctx($user);
|
|
|
UserProc::updateUserInfo();
|
|
|
return Resp::ok(array(
|
|
|
- 'resultArr' => $resultArr,
|
|
|
- 'gateGift'=>$gateGift,
|
|
|
- 'equip'=>$equip,
|
|
|
+ 'gemBox' => $resultArr,
|
|
|
+ 'gateGift'=>$gateGift,
|
|
|
'cash'=>$user->baseInfo->cash,
|
|
|
'gold'=>$user->baseInfo->gold,
|
|
|
'privateState' => $user->privateState,
|