王刚 1 ano atrás
pai
commit
2f5dc9fc23
1 arquivos alterados com 11 adições e 11 exclusões
  1. 11 11
      Gameserver/App/process/FightProc.php

+ 11 - 11
Gameserver/App/process/FightProc.php

@@ -399,19 +399,19 @@ class FightProc {
     /**
      * 6805
      * @return type
-     * @deprecated since version 2024年5月17日
+     * @deprecated since version 2024年5月17日 已合并到6801
      */
     public static function ChallengeGateStartFight() {
-        list($layerNum) = req()->paras;
-        if ($layerNum != ctx()->gates()->TowerGateInfo()->CurLayer) {           # 起始层数校验
-            return Resp::err(ErrCode::tower_layerNum);
-        }
-        if (ctx()->gates()->TowerGateInfo()->TodayChanNum < 1) {                # 剩余次数校验
-            return Resp::err(ErrCode::tower_timeNo);
-        }
-        ctx()->gates()->TowerGateInfo()->TodayChanNum--;                        # 增加次数
-        UserProc::updateUserInfo();
-        return Resp::ok();
+//        list($layerNum) = req()->paras;
+//        if ($layerNum != ctx()->gates()->TowerGateInfo()->CurLayer) {           # 起始层数校验
+//            return Resp::err(ErrCode::tower_layerNum);
+//        }
+//        if (ctx()->gates()->TowerGateInfo()->TodayChanNum < 1) {                # 剩余次数校验
+//            return Resp::err(ErrCode::tower_timeNo);
+//        }
+//        ctx()->gates()->TowerGateInfo()->TodayChanNum--;                        # 增加次数
+//        UserProc::updateUserInfo();
+//        return Resp::ok();
     }
 
     /**