|
@@ -460,7 +460,7 @@ class ShopProc {
|
|
|
|
|
|
//收费买
|
|
|
if ($typeId == 1 && ctx()->privateState->goldShop_GuangGaoNum < $mo->guanggaoNum) {
|
|
|
- $user->privateState->goldShop_GuangGaoNum += 1;
|
|
|
+ ctx()->privateState->goldShop_GuangGaoNum += 1;
|
|
|
} else {
|
|
|
my_Assert(ctx()->baseInfo->cash >= $mo->price, ErrCode::notenough_cash_msg);
|
|
|
ctx()->baseInfo->Consume_Cash($mo->price);
|