王刚 hace 11 meses
padre
commit
71bd5fcf59
Se han modificado 2 ficheros con 18 adiciones y 17 borrados
  1. 12 17
      Gameserver/App/base/ErrCode.php
  2. 6 0
      Gameserver/Docs/改进记录.md

+ 12 - 17
Gameserver/App/base/ErrCode.php

@@ -377,13 +377,12 @@ class ErrCode {
      * 挑战关卡: 起始层id有误
      */
     const tower_layerNum = 3213;
-    
+
     /**
      * 排行榜荣誉榜奖励已经领取
      */
     const rankReward_HasReceive = 3214;
-        
-    
+
 // </editor-fold>
 //
 //   // <editor-fold defaultstate="collapsed" desc="    store 3300    ">
@@ -418,12 +417,12 @@ class ErrCode {
      */
     const user_store_GemCanotCompose = 3306;
     const user_store_NotExistGem = 3307;
-    
+
     /**
      * 洗练石不足
      */
     const user_store_XilianStoneNoEnough = 3308;
-    
+
     /**
      * 没有找到对应词条信息
      */
@@ -436,7 +435,7 @@ class ErrCode {
      * 商品不能重复购买
      */
     const user_shop_NotRepeatBuy = 3401;
-    
+
     /**
      * 购买次数已达最大值
      */
@@ -446,27 +445,27 @@ class ErrCode {
      * 活动过期
      */
     const user_shop_activeExpire = 3403;
-    
+
     /**
      *  免费次数已达上限
      */
-    const user_shop_FreeNumLimit = 3404;     
-    
+    const user_shop_FreeNumLimit = 3404;
+
     /**
      * 购买次数已达上限
      */
     const user_shop_buyTiliNumLimit = 3405;
-    
+
     /**
      * 广告购买体力次数已达上限
      */
     const user_shop_GuanggaoGetTiliNumLimit = 3406;
-    
+
     /**
      * 广告获得次数已达上限
      */
     const user_shop_GuanggaoFreeNumLimit = 3407;
-    
+
     /**
      * 倒计时时间限制暂时无法购买
      */
@@ -498,7 +497,6 @@ class ErrCode {
 
 // </editor-fold>
 //
-
 // <editor-fold defaultstate="collapsed" desc="    邮件错误码 37xx   ">
 
     /**
@@ -522,10 +520,7 @@ class ErrCode {
     const email_appendix_drawed = 3704;
 
 // </editor-fold>
-//    
-    
-    
-
+//
 // <editor-fold defaultstate="collapsed" desc="    反射方法    ">
 
     /**

+ 6 - 0
Gameserver/Docs/改进记录.md

@@ -1,5 +1,11 @@
 ## 改进记录
 
+## 2023.8.31 修改约定: cmdcode前两位为opecode. 参数传递过程中不单独传输opecode了.
+> author: gwang
+> digest: 再次精简, 优化掉req/resp中的冗余字段.
+
+## 2023.7.10 修改主路径AmfPHP => App
+
 ## 2023.6.28 再次脱壳
 > author: gwang
 > digest: 清理+规范.