Browse Source

章节礼包修改

cyzhao 6 tháng trước cách đây
mục cha
commit
03e7f327b0
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Gameserver/App/process/ShopProc.php

+ 2 - 2
Gameserver/App/process/ShopProc.php

@@ -176,8 +176,8 @@ class ShopProc {
 
     public static function BuyShop_GateGift($type, $typeId, $buyNum) {
         //$gateGift = array();
-        my_Assert(StlUtil::dictHasProperty(ctx()->gates->GateList, $typeId), ErrCode::active_const_no_err);
-        my_Assert(!in_array($typeId, ctx()->privateState->gateGiftReceived), ErrCode::user_shop_NotRepeatBuy);
+        //my_Assert(StlUtil::dictHasProperty(ctx()->gates->GateList, $typeId), ErrCode::active_const_no_err);
+        //my_Assert(!in_array($typeId, ctx()->privateState->gateGiftReceived), ErrCode::user_shop_NotRepeatBuy);
 
         $mo = GameConfig::shop_gategift_getItem($typeId);
         my_Assert($mo != null, ErrCode::err_const_no);