|
@@ -87,7 +87,9 @@ class ShopProc {
|
|
|
|
|
|
$allDic = $user->privateState->junbeiShop_AllNumRecord;
|
|
$allDic = $user->privateState->junbeiShop_AllNumRecord;
|
|
if(!StlUtil::dictHasProperty($allDic, $typeId)){
|
|
if(!StlUtil::dictHasProperty($allDic, $typeId)){
|
|
- $allDic->$typeId = new Ins_JunBeiShop();
|
|
|
|
|
|
+ $junbei = new Ins_JunBeiShop();
|
|
|
|
+ $junbei->typeId = $typeId;
|
|
|
|
+ $allDic->$typeId = $junbei;
|
|
$user->privateState->junbeiShop_AllNumRecord =$allDic;
|
|
$user->privateState->junbeiShop_AllNumRecord =$allDic;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -303,6 +305,7 @@ class ShopProc {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ ctx() = $user;
|
|
UserProc::updateUserInfo();
|
|
UserProc::updateUserInfo();
|
|
return Resp::ok(array(
|
|
return Resp::ok(array(
|
|
'equip'=>$equip,
|
|
'equip'=>$equip,
|