xiaoyang0346 3 天之前
父節點
當前提交
b07b7667db

+ 268 - 211
s_to_proto/docs/openapi.json

@@ -1133,6 +1133,100 @@
         }
       }
     },
+    "/fight/FightTest": {
+      "post": {
+        "tags": [
+          "fight"
+        ],
+        "operationId": "fight/FightTest",
+        "requestBody": {
+          "description": "Req<FightTest>",
+          "content": {
+            "application/json": {
+              "schema": {
+                "$ref": "#/components/schemas/fight_PtlFightTest_ReqFightTest"
+              }
+            }
+          }
+        },
+        "responses": {
+          "200": {
+            "description": "Success",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "type": "object",
+                  "description": "ApiReturn<ResFightTest>",
+                  "properties": {
+                    "isSucc": {
+                      "type": "boolean",
+                      "enum": [
+                        true
+                      ],
+                      "default": true
+                    },
+                    "res": {
+                      "$ref": "#/components/schemas/fight_PtlFightTest_ResFightTest"
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "default": {
+            "description": "Error",
+            "$ref": "#/components/responses/error"
+          }
+        }
+      }
+    },
+    "/hc/HcEmit": {
+      "post": {
+        "tags": [
+          "hc"
+        ],
+        "operationId": "hc/HcEmit",
+        "requestBody": {
+          "description": "Req<HcEmit>",
+          "content": {
+            "application/json": {
+              "schema": {
+                "$ref": "#/components/schemas/hc_PtlHcEmit_ReqHcEmit"
+              }
+            }
+          }
+        },
+        "responses": {
+          "200": {
+            "description": "Success",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "type": "object",
+                  "description": "ApiReturn<ResHcEmit>",
+                  "properties": {
+                    "isSucc": {
+                      "type": "boolean",
+                      "enum": [
+                        true
+                      ],
+                      "default": true
+                    },
+                    "res": {
+                      "$ref": "#/components/schemas/hc_PtlHcEmit_ResHcEmit"
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "default": {
+            "description": "Error",
+            "$ref": "#/components/responses/error"
+          }
+        }
+      }
+    },
     "/hc/HcInfo": {
       "post": {
         "tags": [
@@ -1697,53 +1791,6 @@
         }
       }
     },
-    "/user/UserFight": {
-      "post": {
-        "tags": [
-          "user"
-        ],
-        "operationId": "user/UserFight",
-        "requestBody": {
-          "description": "Req<UserFight>",
-          "content": {
-            "application/json": {
-              "schema": {
-                "$ref": "#/components/schemas/user_PtlUserFight_ReqUserFight"
-              }
-            }
-          }
-        },
-        "responses": {
-          "200": {
-            "description": "Success",
-            "content": {
-              "application/json": {
-                "schema": {
-                  "type": "object",
-                  "description": "ApiReturn<ResUserFight>",
-                  "properties": {
-                    "isSucc": {
-                      "type": "boolean",
-                      "enum": [
-                        true
-                      ],
-                      "default": true
-                    },
-                    "res": {
-                      "$ref": "#/components/schemas/user_PtlUserFight_ResUserFight"
-                    }
-                  }
-                }
-              }
-            }
-          },
-          "default": {
-            "description": "Error",
-            "$ref": "#/components/responses/error"
-          }
-        }
-      }
-    },
     "/user/UserLogin": {
       "post": {
         "tags": [
@@ -2475,6 +2522,180 @@
         },
         "description": "属性变化"
       },
+      "fight_PtlFightTest_ReqFightTest": {
+        "type": "object",
+        "properties": {},
+        "description": "请求接口"
+      },
+      "fight_PtlFightTest_ResFightTest": {
+        "type": "object",
+        "properties": {
+          "fightStart": {
+            "$ref": "#/components/schemas/fight_PtlFightTest_FightStart"
+          },
+          "win": {
+            "type": "number"
+          },
+          "log": {
+            "type": "object",
+            "properties": {},
+            "additionalProperties": {
+              "type": "array",
+              "items": {
+                "$ref": "#/components/schemas/fight_PtlFightTest_fightLogOne"
+              }
+            }
+          }
+        },
+        "required": [
+          "fightStart",
+          "win",
+          "log"
+        ],
+        "description": "返回信息"
+      },
+      "fight_PtlFightTest_FightStart": {
+        "type": "object",
+        "properties": {
+          "from": {
+            "type": "string"
+          },
+          "seed": {
+            "type": "number"
+          },
+          "teams": {
+            "type": "object",
+            "properties": {},
+            "additionalProperties": {
+              "$ref": "#/components/schemas/fight_PtlFightTest_FightTeam"
+            }
+          }
+        },
+        "required": [
+          "from",
+          "seed",
+          "teams"
+        ],
+        "description": "战斗初始阵容"
+      },
+      "fight_PtlFightTest_FightTeam": {
+        "type": "object",
+        "properties": {
+          "fid": {
+            "type": "string"
+          },
+          "seat": {
+            "type": "number"
+          },
+          "eps": {
+            "type": "object",
+            "properties": {},
+            "additionalProperties": {
+              "type": "number"
+            }
+          }
+        },
+        "required": [
+          "fid",
+          "seat",
+          "eps"
+        ],
+        "description": "单个阵容信息"
+      },
+      "fight_PtlFightTest_fightLogOne": {
+        "type": "object",
+        "properties": {
+          "aType": {
+            "$ref": "#/components/schemas/fight_PtlFightTest_ActionType"
+          },
+          "seat": {
+            "type": "number"
+          },
+          "atker": {
+            "$ref": "#/components/schemas/fight_PtlFightTest_fightLogOneData"
+          },
+          "target": {
+            "type": "array",
+            "items": {
+              "$ref": "#/components/schemas/fight_PtlFightTest_fightLogOneData"
+            }
+          }
+        },
+        "required": [
+          "aType",
+          "seat",
+          "atker",
+          "target"
+        ]
+      },
+      "fight_PtlFightTest_ActionType": {
+        "type": "string",
+        "enum": [
+          "wu",
+          "0",
+          "1",
+          "2",
+          "3",
+          "999"
+        ],
+        "description": "战斗动作类型"
+      },
+      "fight_PtlFightTest_fightLogOneData": {
+        "type": "object",
+        "properties": {
+          "iid": {
+            "type": "string"
+          },
+          "hp": {
+            "type": "number"
+          },
+          "buff": {
+            "type": "array",
+            "items": {
+              "type": "array",
+              "prefixItems": [
+                {
+                  "type": "string"
+                },
+                {
+                  "type": "number"
+                }
+              ]
+            }
+          },
+          "effect": {
+            "type": "array",
+            "items": {
+              "type": "array",
+              "prefixItems": [
+                {
+                  "type": "string"
+                },
+                {
+                  "type": "number"
+                }
+              ]
+            }
+          }
+        },
+        "required": [
+          "iid",
+          "hp",
+          "buff",
+          "effect"
+        ],
+        "description": "日志格式"
+      },
+      "hc_PtlHcEmit_ReqHcEmit": {
+        "type": "object",
+        "properties": {},
+        "description": "请求接口"
+      },
+      "hc_PtlHcEmit_ResHcEmit": {
+        "type": "object",
+        "properties": {},
+        "description": "返回信息"
+      },
       "hc_PtlHcInfo_ReqHcInfo": {
         "type": "object",
         "properties": {},
@@ -3052,170 +3273,6 @@
         ],
         "description": "主线任务进度"
       },
-      "user_PtlUserFight_ReqUserFight": {
-        "type": "object",
-        "properties": {},
-        "description": "战斗测试"
-      },
-      "user_PtlUserFight_ResUserFight": {
-        "type": "object",
-        "properties": {
-          "fightStart": {
-            "$ref": "#/components/schemas/user_PtlUserFight_FightStart"
-          },
-          "win": {
-            "type": "number"
-          },
-          "log": {
-            "type": "object",
-            "properties": {},
-            "additionalProperties": {
-              "type": "array",
-              "items": {
-                "$ref": "#/components/schemas/user_PtlUserFight_fightLogOne"
-              }
-            }
-          }
-        },
-        "required": [
-          "fightStart",
-          "win",
-          "log"
-        ],
-        "description": "返回战斗信息"
-      },
-      "user_PtlUserFight_FightStart": {
-        "type": "object",
-        "properties": {
-          "from": {
-            "type": "string"
-          },
-          "seed": {
-            "type": "number"
-          },
-          "teams": {
-            "type": "object",
-            "properties": {},
-            "additionalProperties": {
-              "$ref": "#/components/schemas/user_PtlUserFight_FightTeam"
-            }
-          }
-        },
-        "required": [
-          "from",
-          "seed",
-          "teams"
-        ],
-        "description": "战斗初始阵容"
-      },
-      "user_PtlUserFight_FightTeam": {
-        "type": "object",
-        "properties": {
-          "fid": {
-            "type": "string"
-          },
-          "seat": {
-            "type": "number"
-          },
-          "eps": {
-            "type": "object",
-            "properties": {},
-            "additionalProperties": {
-              "type": "number"
-            }
-          }
-        },
-        "required": [
-          "fid",
-          "seat",
-          "eps"
-        ],
-        "description": "单个阵容信息"
-      },
-      "user_PtlUserFight_fightLogOne": {
-        "type": "object",
-        "properties": {
-          "aType": {
-            "$ref": "#/components/schemas/user_PtlUserFight_ActionType"
-          },
-          "seat": {
-            "type": "number"
-          },
-          "atker": {
-            "$ref": "#/components/schemas/user_PtlUserFight_fightLogOneData"
-          },
-          "target": {
-            "type": "array",
-            "items": {
-              "$ref": "#/components/schemas/user_PtlUserFight_fightLogOneData"
-            }
-          }
-        },
-        "required": [
-          "aType",
-          "seat",
-          "atker",
-          "target"
-        ]
-      },
-      "user_PtlUserFight_ActionType": {
-        "type": "string",
-        "enum": [
-          "wu",
-          "0",
-          "1",
-          "2",
-          "3",
-          "999"
-        ],
-        "description": "战斗动作类型"
-      },
-      "user_PtlUserFight_fightLogOneData": {
-        "type": "object",
-        "properties": {
-          "iid": {
-            "type": "string"
-          },
-          "hp": {
-            "type": "number"
-          },
-          "buff": {
-            "type": "array",
-            "items": {
-              "type": "array",
-              "prefixItems": [
-                {
-                  "type": "string"
-                },
-                {
-                  "type": "number"
-                }
-              ]
-            }
-          },
-          "effect": {
-            "type": "array",
-            "items": {
-              "type": "array",
-              "prefixItems": [
-                {
-                  "type": "string"
-                },
-                {
-                  "type": "number"
-                }
-              ]
-            }
-          }
-        },
-        "required": [
-          "iid",
-          "hp",
-          "buff",
-          "effect"
-        ],
-        "description": "日志格式"
-      },
       "user_PtlUserLogin_ReqUserLogin": {
         "type": "object",
         "properties": {

+ 93 - 61
s_to_proto/docs/tsapi.md

@@ -35,7 +35,10 @@
     - [xiazai](#/admin/xiazai)
 - eps
     - [获取属性信息](#/eps/EpsInfo)
+- fight
+    - [请求接口](#/fight/FightTest)
 - hc
+    - [请求接口](#/hc/HcEmit)
     - [获取合成信息](#/hc/HcInfo)
     - [点击两个格子合成](#/hc/HcMerge)
 - item
@@ -54,7 +57,6 @@
     - [获取主线任务](#/task/TaskInfo)
     - [请求领取任务奖励](#/task/TaskRwd)
 - user
-    - [战斗测试](#/user/UserFight)
     - [角色登录](#/user/UserLogin)
     - [请求接口 获取内部公告](#/user/UserNotices)
     - [角色改名](#/user/UserSetName)
@@ -745,8 +747,98 @@ interface ResEpsInfo {
 
 ---
 
+## fight
+
+### 请求接口 <a id="/fight/FightTest"></a>
+
+**路径**
+- POST `/fight/FightTest`
+
+**请求**
+```ts
+interface ReqFightTest {
+
+}
+```
+
+**响应**
+```ts
+interface ResFightTest {
+    /** 战斗初始阵容 */
+    fightStart: {
+        from: string,
+        seed: number,
+        teams: {
+            [key: string]: {
+                fid: string,
+                seat: number,
+                eps: { [key: string]: number }
+            }
+        }
+    },
+    win: number,
+    log: {
+        [key: string]: {
+            /** 战斗动作类型 */
+            aType: "wu" | "0" | "1" | "2" | "3" | "999",
+            seat: number,
+            /** 日志格式 */
+            atker: {
+                iid: string,
+                hp: number,
+                buff: [string, number][],
+                effect: [string, number][]
+            },
+            target: {
+                iid: string,
+                hp: number,
+                buff: [string, number][],
+                effect: [string, number][]
+            }[]
+        }[]
+    }
+}
+```
+
+**配置**
+```ts
+{
+  "connet": "ws"
+}
+```
+
+---
+
 ## hc
 
+### 请求接口 <a id="/hc/HcEmit"></a>
+
+**路径**
+- POST `/hc/HcEmit`
+
+**请求**
+```ts
+interface ReqHcEmit {
+
+}
+```
+
+**响应**
+```ts
+interface ResHcEmit {
+
+}
+```
+
+**配置**
+```ts
+{
+  "connet": "ws"
+}
+```
+
+---
+
 ### 获取合成信息 <a id="/hc/HcInfo"></a>
 
 **路径**
@@ -1165,66 +1257,6 @@ interface ResTaskRwd {
 
 ## user
 
-### 战斗测试 <a id="/user/UserFight"></a>
-
-**路径**
-- POST `/user/UserFight`
-
-**请求**
-```ts
-interface ReqUserFight {
-
-}
-```
-
-**响应**
-```ts
-interface ResUserFight {
-    /** 战斗初始阵容 */
-    fightStart: {
-        from: string,
-        seed: number,
-        teams: {
-            [key: string]: {
-                fid: string,
-                seat: number,
-                eps: { [key: string]: number }
-            }
-        }
-    },
-    win: number,
-    log: {
-        [key: string]: {
-            /** 战斗动作类型 */
-            aType: "wu" | "0" | "1" | "2" | "3" | "999",
-            seat: number,
-            /** 日志格式 */
-            atker: {
-                iid: string,
-                hp: number,
-                buff: [string, number][],
-                effect: [string, number][]
-            },
-            target: {
-                iid: string,
-                hp: number,
-                buff: [string, number][],
-                effect: [string, number][]
-            }[]
-        }[]
-    }
-}
-```
-
-**配置**
-```ts
-{
-  "connet": "ws"
-}
-```
-
----
-
 ### 角色登录 <a id="/user/UserLogin"></a>
 
 **路径**

+ 6 - 6
s_to_proto/shared/user/PtlUserFight.ts → s_to_proto/shared/fight/PtlFightTest.ts

@@ -1,16 +1,16 @@
 
 
 /**
- * 战斗测试
- */
-export interface ReqUserFight {
+* 请求接口
+*/
+export interface ReqFightTest {
 
 }
 
 /**
- * 返回战斗信息
- */
-export interface ResUserFight {
+* 返回信息
+*/
+export interface ResFightTest {
     fightStart:FightStart; //战斗阵容
     win: number; //0失败 1胜利
     log: {

+ 22 - 0
s_to_proto/shared/hc/PtlHcEmit.ts

@@ -0,0 +1,22 @@
+
+
+/**
+* 请求接口
+*/
+export interface ReqHcEmit {
+
+}
+
+/**
+* 返回信息
+*/
+export interface ResHcEmit {
+
+}
+
+export const conf = {
+    connet: "ws"
+}
+
+
+

+ 261 - 242
s_to_proto/shared/serviceProto.ts

@@ -26,6 +26,8 @@ import { MsgItems } from './common/MsgItems';
 import { MsgMessage } from './common/MsgMessage';
 import { ReqEpsInfo, ResEpsInfo } from './eps/PtlEpsInfo';
 import { MsgEpsChange_s } from './eps/server/MsgEpsChange_s';
+import { ReqFightTest, ResFightTest } from './fight/PtlFightTest';
+import { ReqHcEmit, ResHcEmit } from './hc/PtlHcEmit';
 import { ReqHcInfo, ResHcInfo } from './hc/PtlHcInfo';
 import { ReqHcMerge, ResHcMerge } from './hc/PtlHcMerge';
 import { ReqItemInfo, ResItemInfo } from './item/PtlItemInfo';
@@ -41,7 +43,6 @@ import { ReqPlayerLogin, ResPlayerLogin } from './player/PtlPlayerLogin';
 import { ReqTaskInfo, ResTaskInfo } from './task/PtlTaskInfo';
 import { ReqTaskRwd, ResTaskRwd } from './task/PtlTaskRwd';
 import { MsgTaskCons_s } from './task/server/MsgTaskCons_s';
-import { ReqUserFight, ResUserFight } from './user/PtlUserFight';
 import { ReqUserLogin, ResUserLogin } from './user/PtlUserLogin';
 import { ReqUserNotices, ResUserNotices } from './user/PtlUserNotices';
 import { ReqUserSetName, ResUserSetName } from './user/PtlUserSetName';
@@ -146,6 +147,14 @@ export interface ServiceType {
             req: ReqEpsInfo,
             res: ResEpsInfo
         },
+        "fight/FightTest": {
+            req: ReqFightTest,
+            res: ResFightTest
+        },
+        "hc/HcEmit": {
+            req: ReqHcEmit,
+            res: ResHcEmit
+        },
         "hc/HcInfo": {
             req: ReqHcInfo,
             res: ResHcInfo
@@ -194,10 +203,6 @@ export interface ServiceType {
             req: ReqTaskRwd,
             res: ResTaskRwd
         },
-        "user/UserFight": {
-            req: ReqUserFight,
-            res: ResUserFight
-        },
         "user/UserLogin": {
             req: ReqUserLogin,
             res: ResUserLogin
@@ -227,7 +232,7 @@ export interface ServiceType {
 }
 
 export const serviceProto: ServiceProto<ServiceType> = {
-    "version": 55,
+    "version": 56,
     "services": [
         {
             "id": 39,
@@ -437,6 +442,22 @@ export const serviceProto: ServiceProto<ServiceType> = {
             "type": "msg"
         },
         {
+            "id": 86,
+            "name": "fight/FightTest",
+            "type": "api",
+            "conf": {
+                "connet": "ws"
+            }
+        },
+        {
+            "id": 87,
+            "name": "hc/HcEmit",
+            "type": "api",
+            "conf": {
+                "connet": "ws"
+            }
+        },
+        {
             "id": 66,
             "name": "hc/HcInfo",
             "type": "api",
@@ -548,14 +569,6 @@ export const serviceProto: ServiceProto<ServiceType> = {
             "type": "msg"
         },
         {
-            "id": 68,
-            "name": "user/UserFight",
-            "type": "api",
-            "conf": {
-                "connet": "ws"
-            }
-        },
-        {
             "id": 61,
             "name": "user/UserLogin",
             "type": "api",
@@ -1197,6 +1210,240 @@ export const serviceProto: ServiceProto<ServiceType> = {
                 }
             }
         },
+        "fight/PtlFightTest/ReqFightTest": {
+            "type": "Interface"
+        },
+        "fight/PtlFightTest/ResFightTest": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "fightStart",
+                    "type": {
+                        "type": "Reference",
+                        "target": "fight/PtlFightTest/FightStart"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "win",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "log",
+                    "type": {
+                        "type": "Interface",
+                        "indexSignature": {
+                            "keyType": "String",
+                            "type": {
+                                "type": "Array",
+                                "elementType": {
+                                    "type": "Reference",
+                                    "target": "fight/PtlFightTest/fightLogOne"
+                                }
+                            }
+                        }
+                    }
+                }
+            ]
+        },
+        "fight/PtlFightTest/FightStart": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "from",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "seed",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "teams",
+                    "type": {
+                        "type": "Interface",
+                        "indexSignature": {
+                            "keyType": "String",
+                            "type": {
+                                "type": "Reference",
+                                "target": "fight/PtlFightTest/FightTeam"
+                            }
+                        }
+                    }
+                }
+            ]
+        },
+        "fight/PtlFightTest/FightTeam": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "fid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "seat",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "eps",
+                    "type": {
+                        "type": "Interface",
+                        "indexSignature": {
+                            "keyType": "String",
+                            "type": {
+                                "type": "Number"
+                            }
+                        }
+                    }
+                }
+            ]
+        },
+        "fight/PtlFightTest/fightLogOne": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "aType",
+                    "type": {
+                        "type": "Reference",
+                        "target": "fight/PtlFightTest/ActionType"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "seat",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "atker",
+                    "type": {
+                        "type": "Reference",
+                        "target": "fight/PtlFightTest/fightLogOneData"
+                    }
+                },
+                {
+                    "id": 3,
+                    "name": "target",
+                    "type": {
+                        "type": "Array",
+                        "elementType": {
+                            "type": "Reference",
+                            "target": "fight/PtlFightTest/fightLogOneData"
+                        }
+                    }
+                }
+            ]
+        },
+        "fight/PtlFightTest/ActionType": {
+            "type": "Enum",
+            "members": [
+                {
+                    "id": 0,
+                    "value": "wu"
+                },
+                {
+                    "id": 1,
+                    "value": "0"
+                },
+                {
+                    "id": 2,
+                    "value": "1"
+                },
+                {
+                    "id": 3,
+                    "value": "2"
+                },
+                {
+                    "id": 4,
+                    "value": "3"
+                },
+                {
+                    "id": 5,
+                    "value": "999"
+                }
+            ]
+        },
+        "fight/PtlFightTest/fightLogOneData": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "iid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "hp",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "buff",
+                    "type": {
+                        "type": "Array",
+                        "elementType": {
+                            "type": "Tuple",
+                            "elementTypes": [
+                                {
+                                    "type": "String"
+                                },
+                                {
+                                    "type": "Number"
+                                }
+                            ]
+                        }
+                    }
+                },
+                {
+                    "id": 3,
+                    "name": "effect",
+                    "type": {
+                        "type": "Array",
+                        "elementType": {
+                            "type": "Tuple",
+                            "elementTypes": [
+                                {
+                                    "type": "String"
+                                },
+                                {
+                                    "type": "Number"
+                                }
+                            ]
+                        }
+                    }
+                }
+            ]
+        },
+        "hc/PtlHcEmit/ReqHcEmit": {
+            "type": "Interface"
+        },
+        "hc/PtlHcEmit/ResHcEmit": {
+            "type": "Interface"
+        },
         "hc/PtlHcInfo/ReqHcInfo": {
             "type": "Interface"
         },
@@ -1958,234 +2205,6 @@ export const serviceProto: ServiceProto<ServiceType> = {
                 }
             ]
         },
-        "user/PtlUserFight/ReqUserFight": {
-            "type": "Interface"
-        },
-        "user/PtlUserFight/ResUserFight": {
-            "type": "Interface",
-            "properties": [
-                {
-                    "id": 0,
-                    "name": "fightStart",
-                    "type": {
-                        "type": "Reference",
-                        "target": "user/PtlUserFight/FightStart"
-                    }
-                },
-                {
-                    "id": 1,
-                    "name": "win",
-                    "type": {
-                        "type": "Number"
-                    }
-                },
-                {
-                    "id": 2,
-                    "name": "log",
-                    "type": {
-                        "type": "Interface",
-                        "indexSignature": {
-                            "keyType": "String",
-                            "type": {
-                                "type": "Array",
-                                "elementType": {
-                                    "type": "Reference",
-                                    "target": "user/PtlUserFight/fightLogOne"
-                                }
-                            }
-                        }
-                    }
-                }
-            ]
-        },
-        "user/PtlUserFight/FightStart": {
-            "type": "Interface",
-            "properties": [
-                {
-                    "id": 0,
-                    "name": "from",
-                    "type": {
-                        "type": "String"
-                    }
-                },
-                {
-                    "id": 1,
-                    "name": "seed",
-                    "type": {
-                        "type": "Number"
-                    }
-                },
-                {
-                    "id": 2,
-                    "name": "teams",
-                    "type": {
-                        "type": "Interface",
-                        "indexSignature": {
-                            "keyType": "String",
-                            "type": {
-                                "type": "Reference",
-                                "target": "user/PtlUserFight/FightTeam"
-                            }
-                        }
-                    }
-                }
-            ]
-        },
-        "user/PtlUserFight/FightTeam": {
-            "type": "Interface",
-            "properties": [
-                {
-                    "id": 0,
-                    "name": "fid",
-                    "type": {
-                        "type": "String"
-                    }
-                },
-                {
-                    "id": 2,
-                    "name": "seat",
-                    "type": {
-                        "type": "Number"
-                    }
-                },
-                {
-                    "id": 1,
-                    "name": "eps",
-                    "type": {
-                        "type": "Interface",
-                        "indexSignature": {
-                            "keyType": "String",
-                            "type": {
-                                "type": "Number"
-                            }
-                        }
-                    }
-                }
-            ]
-        },
-        "user/PtlUserFight/fightLogOne": {
-            "type": "Interface",
-            "properties": [
-                {
-                    "id": 0,
-                    "name": "aType",
-                    "type": {
-                        "type": "Reference",
-                        "target": "user/PtlUserFight/ActionType"
-                    }
-                },
-                {
-                    "id": 3,
-                    "name": "seat",
-                    "type": {
-                        "type": "Number"
-                    }
-                },
-                {
-                    "id": 1,
-                    "name": "atker",
-                    "type": {
-                        "type": "Reference",
-                        "target": "user/PtlUserFight/fightLogOneData"
-                    }
-                },
-                {
-                    "id": 2,
-                    "name": "target",
-                    "type": {
-                        "type": "Array",
-                        "elementType": {
-                            "type": "Reference",
-                            "target": "user/PtlUserFight/fightLogOneData"
-                        }
-                    }
-                }
-            ]
-        },
-        "user/PtlUserFight/ActionType": {
-            "type": "Enum",
-            "members": [
-                {
-                    "id": 0,
-                    "value": "wu"
-                },
-                {
-                    "id": 1,
-                    "value": "0"
-                },
-                {
-                    "id": 2,
-                    "value": "1"
-                },
-                {
-                    "id": 3,
-                    "value": "2"
-                },
-                {
-                    "id": 4,
-                    "value": "3"
-                },
-                {
-                    "id": 5,
-                    "value": "999"
-                }
-            ]
-        },
-        "user/PtlUserFight/fightLogOneData": {
-            "type": "Interface",
-            "properties": [
-                {
-                    "id": 0,
-                    "name": "iid",
-                    "type": {
-                        "type": "String"
-                    }
-                },
-                {
-                    "id": 1,
-                    "name": "hp",
-                    "type": {
-                        "type": "Number"
-                    }
-                },
-                {
-                    "id": 2,
-                    "name": "buff",
-                    "type": {
-                        "type": "Array",
-                        "elementType": {
-                            "type": "Tuple",
-                            "elementTypes": [
-                                {
-                                    "type": "String"
-                                },
-                                {
-                                    "type": "Number"
-                                }
-                            ]
-                        }
-                    }
-                },
-                {
-                    "id": 3,
-                    "name": "effect",
-                    "type": {
-                        "type": "Array",
-                        "elementType": {
-                            "type": "Tuple",
-                            "elementTypes": [
-                                {
-                                    "type": "String"
-                                },
-                                {
-                                    "type": "Number"
-                                }
-                            ]
-                        }
-                    }
-                }
-            ]
-        },
         "user/PtlUserLogin/ReqUserLogin": {
             "type": "Interface",
             "properties": [