Selaa lähdekoodia

缺少错误码

cyzhao 1 vuosi sitten
vanhempi
commit
3a856bedeb
2 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 1 1
      Gameserver/App/base/ErrCode.php
  2. 3 3
      Gameserver/App/process/ShopProc.php

+ 1 - 1
Gameserver/App/base/ErrCode.php

@@ -346,7 +346,7 @@ class ErrCode {
     /**
      * 奖励已经被领取
      */
-    //const gate_GatePriceHasReceive = 3203;
+    const gate_GatePriceHasReceive = 3203;
 
     /**
      * 不能扫荡

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

@@ -152,9 +152,9 @@ class ShopProc {
                     TaskProc::OnBuyNumDailyShop();
                 }
 
-                $str = explode(',', $mo->reward);
-                if ($str[0] == 501) {//暂时还没有
-                }
+//                $str = explode(',', $mo->reward);
+//                if ($str[0] == 501) {//暂时还没有
+//                }
                 //$dailyArr
 
                 StoreProc::AddMultiItemInStore($mo->reward);