Browse Source

充值商场

cyzhao 3 years ago
parent
commit
db5b4c73fd
2 changed files with 3 additions and 3 deletions
  1. 2 2
      Gameserver/Amfphp/process/StoreProc.php
  2. 1 1
      Gameserver/Amfphp/process/UserProc.php

+ 2 - 2
Gameserver/Amfphp/process/StoreProc.php

@@ -877,8 +877,8 @@ class StoreProc {
         $privateState = req()->userInfo->game->privateState;
         $unlockNum = $privateState->expandNum * 5;    
         //var_dump("task==============");
-        $n = self::countStoreNum();     
-	my_Assert($n<$unlockNum+50, "背包容量不够请扩容");
+        //$n = self::countStoreNum();     
+	//my_Assert($n<$unlockNum+50, "背包容量不够请扩容");
         
         if (!CommUtil::isPropertyExists($privateState, "currentId")) {          # 如果仓库中已经有这种元素,则其数目+1
             req()->userInfo->game->privateState->currentId = 1;

+ 1 - 1
Gameserver/Amfphp/process/UserProc.php

@@ -372,7 +372,7 @@ class UserProc {
             $college->initTaskCard();
 
             req()->userInfo->game->colleg = $college;
-            ShopProc::resetDaliySpecialPackages();                              #每日特惠领奖每日重置
+            //ShopProc::resetDaliySpecialPackages();                              #每日特惠领奖每日重置
             UserProc::updateUserInfo();                                         # 这一步回存操作只有在 userInfo正常存在的情况下才进行
             $resp = Resp::ok($userInfo);                                        # 设置返回值
             self::backupUserInfo();                                             # 数据回写