|
@@ -126,9 +126,9 @@ class ShopProc {
|
|
|
}
|
|
|
|
|
|
if ($getNum >= $mo->freeNum) {
|
|
|
- my_Assert($user->privateState->dailyShop_GuangGaoNum < $mo->num, ErrCode::user_shop_FreeNumLimit);
|
|
|
+ my_Assert($user->privateState->dailyShop_GuangGaoNum < $mo->num, ErrCode::user_shop_GuanggaoFreeNumLimit);
|
|
|
if ($user->privateState->dailyShop_GuangGaoNum >= 1) {
|
|
|
- my_Assert(now() - $user->privateState->dailyShop_GuangGaoTs >= $mo->downTs, ErrCode::user_shop_FreeNumLimit);
|
|
|
+ my_Assert(now() - $user->privateState->dailyShop_GuangGaoTs >= $mo->downTs, ErrCode::user_shop_DownTsLimit);
|
|
|
}
|
|
|
$user->privateState->dailyShop_GuangGaoNum += 1;
|
|
|
$user->privateState->dailyShop_GuangGaoTs = now();
|
|
@@ -414,7 +414,7 @@ class ShopProc {
|
|
|
|
|
|
//$user->privateState->goldShopReceived[] = $typeId;
|
|
|
} else {
|
|
|
- my_Assert(now() - $ts >= $mo->downTs, ErrCode::user_shop_FreeNumLimit);
|
|
|
+ my_Assert(now() - $ts >= $mo->downTs, ErrCode::user_shop_DownTsLimit);
|
|
|
switch ($typeId) {
|
|
|
case 1:
|
|
|
$user->privateState->goldShop_CoolDownTs_1 = now();
|