|
@@ -1,16 +1,29 @@
|
|
|
import { ServiceProto } from 'tsrpc-proto';
|
|
|
import { ReqdeleteQuFu, ResdeleteQuFu } from './admin/PtldeleteQuFu';
|
|
|
+import { ReqDeleteSetting, ResDeleteSetting } from './admin/PtlDeleteSetting';
|
|
|
+import { ReqGetListBySid, ResGetListBySid } from './admin/PtlGetListBySid';
|
|
|
import { ReqgetNeed, ResgetNeed } from './admin/PtlgetNeed';
|
|
|
import { ReqgetQuFu, ResgetQuFu } from './admin/PtlgetQuFu';
|
|
|
+import { ReqGetSetting, ResGetSetting } from './admin/PtlGetSetting';
|
|
|
+import { ReqGetVer, ResGetVer } from './admin/PtlGetVer';
|
|
|
+import { ReqHuodongAdd, ResHuodongAdd } from './admin/PtlHuodongAdd';
|
|
|
+import { ReqHuodongDelete, ResHuodongDelete } from './admin/PtlHuodongDelete';
|
|
|
+import { ReqHuodongEdit, ResHuodongEdit } from './admin/PtlHuodongEdit';
|
|
|
+import { ReqHuodongFind, ResHuodongFind } from './admin/PtlHuodongFind';
|
|
|
import { RequpdateQuFu, ResupdateQuFu } from './admin/PtlupdateQuFu';
|
|
|
+import { ReqUpdateSetting, ResUpdateSetting } from './admin/PtlUpdateSetting';
|
|
|
import { MsgItems } from './common/MsgItems';
|
|
|
import { MsgMessage } from './common/MsgMessage';
|
|
|
+import { MsgEpsInfo } from './eps/client/MsgEpsInfo';
|
|
|
+import { MsgEpsChange } from './eps/server/MsgEpsChange';
|
|
|
+import { MsgEpsInfo as MsgEpsInfo_1 } from './eps/server/MsgEpsInfo';
|
|
|
import { MsgItemInfo } from './item/client/MsgItemInfo';
|
|
|
import { MsgItemChange } from './item/server/MsgItemChange';
|
|
|
import { MsgItemInfo as MsgItemInfo_1 } from './item/server/MsgItemInfo';
|
|
|
-import { ReqLogin, ResLogin } from './player/PtlLogin';
|
|
|
+import { ReqLogin, ResLogin } from './plat/PtlLogin';
|
|
|
+import { ReqLogin as ReqLogin_1, ResLogin as ResLogin_1 } from './player/PtlLogin';
|
|
|
import { MsgSetName } from './user/client/MsgSetName';
|
|
|
-import { ReqLogin as ReqLogin_1, ResLogin as ResLogin_1 } from './user/PtlLogin';
|
|
|
+import { ReqLogin as ReqLogin_2, ResLogin as ResLogin_2 } from './user/PtlLogin';
|
|
|
import { MsgSetName as MsgSetName_1 } from './user/server/MsgSetName';
|
|
|
|
|
|
export interface ServiceType {
|
|
@@ -19,6 +32,14 @@ export interface ServiceType {
|
|
|
req: ReqdeleteQuFu,
|
|
|
res: ResdeleteQuFu
|
|
|
},
|
|
|
+ "admin/DeleteSetting": {
|
|
|
+ req: ReqDeleteSetting,
|
|
|
+ res: ResDeleteSetting
|
|
|
+ },
|
|
|
+ "admin/GetListBySid": {
|
|
|
+ req: ReqGetListBySid,
|
|
|
+ res: ResGetListBySid
|
|
|
+ },
|
|
|
"admin/getNeed": {
|
|
|
req: ReqgetNeed,
|
|
|
res: ResgetNeed
|
|
@@ -27,22 +48,57 @@ export interface ServiceType {
|
|
|
req: ReqgetQuFu,
|
|
|
res: ResgetQuFu
|
|
|
},
|
|
|
+ "admin/GetSetting": {
|
|
|
+ req: ReqGetSetting,
|
|
|
+ res: ResGetSetting
|
|
|
+ },
|
|
|
+ "admin/GetVer": {
|
|
|
+ req: ReqGetVer,
|
|
|
+ res: ResGetVer
|
|
|
+ },
|
|
|
+ "admin/HuodongAdd": {
|
|
|
+ req: ReqHuodongAdd,
|
|
|
+ res: ResHuodongAdd
|
|
|
+ },
|
|
|
+ "admin/HuodongDelete": {
|
|
|
+ req: ReqHuodongDelete,
|
|
|
+ res: ResHuodongDelete
|
|
|
+ },
|
|
|
+ "admin/HuodongEdit": {
|
|
|
+ req: ReqHuodongEdit,
|
|
|
+ res: ResHuodongEdit
|
|
|
+ },
|
|
|
+ "admin/HuodongFind": {
|
|
|
+ req: ReqHuodongFind,
|
|
|
+ res: ResHuodongFind
|
|
|
+ },
|
|
|
"admin/updateQuFu": {
|
|
|
req: RequpdateQuFu,
|
|
|
res: ResupdateQuFu
|
|
|
},
|
|
|
- "player/Login": {
|
|
|
+ "admin/UpdateSetting": {
|
|
|
+ req: ReqUpdateSetting,
|
|
|
+ res: ResUpdateSetting
|
|
|
+ },
|
|
|
+ "plat/Login": {
|
|
|
req: ReqLogin,
|
|
|
res: ResLogin
|
|
|
},
|
|
|
- "user/Login": {
|
|
|
+ "player/Login": {
|
|
|
req: ReqLogin_1,
|
|
|
res: ResLogin_1
|
|
|
+ },
|
|
|
+ "user/Login": {
|
|
|
+ req: ReqLogin_2,
|
|
|
+ res: ResLogin_2
|
|
|
}
|
|
|
},
|
|
|
msg: {
|
|
|
"common/Items": MsgItems,
|
|
|
"common/Message": MsgMessage,
|
|
|
+ "eps/client/EpsInfo": MsgEpsInfo,
|
|
|
+ "eps/server/EpsChange": MsgEpsChange,
|
|
|
+ "eps/server/EpsInfo": MsgEpsInfo_1,
|
|
|
"item/client/ItemInfo": MsgItemInfo,
|
|
|
"item/server/ItemChange": MsgItemChange,
|
|
|
"item/server/ItemInfo": MsgItemInfo_1,
|
|
@@ -52,7 +108,7 @@ export interface ServiceType {
|
|
|
}
|
|
|
|
|
|
export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
- "version": 16,
|
|
|
+ "version": 19,
|
|
|
"services": [
|
|
|
{
|
|
|
"id": 5,
|
|
@@ -63,6 +119,22 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
+ "id": 23,
|
|
|
+ "name": "admin/DeleteSetting",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 24,
|
|
|
+ "name": "admin/GetListBySid",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
"id": 6,
|
|
|
"name": "admin/getNeed",
|
|
|
"type": "api",
|
|
@@ -79,6 +151,54 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
+ "id": 25,
|
|
|
+ "name": "admin/GetSetting",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "admin"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 26,
|
|
|
+ "name": "admin/GetVer",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 27,
|
|
|
+ "name": "admin/HuodongAdd",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 28,
|
|
|
+ "name": "admin/HuodongDelete",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 29,
|
|
|
+ "name": "admin/HuodongEdit",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 30,
|
|
|
+ "name": "admin/HuodongFind",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
"id": 8,
|
|
|
"name": "admin/updateQuFu",
|
|
|
"type": "api",
|
|
@@ -87,6 +207,14 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
+ "id": 31,
|
|
|
+ "name": "admin/UpdateSetting",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
"id": 18,
|
|
|
"name": "common/Items",
|
|
|
"type": "msg"
|
|
@@ -97,6 +225,21 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "msg"
|
|
|
},
|
|
|
{
|
|
|
+ "id": 20,
|
|
|
+ "name": "eps/client/EpsInfo",
|
|
|
+ "type": "msg"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 21,
|
|
|
+ "name": "eps/server/EpsChange",
|
|
|
+ "type": "msg"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 22,
|
|
|
+ "name": "eps/server/EpsInfo",
|
|
|
+ "type": "msg"
|
|
|
+ },
|
|
|
+ {
|
|
|
"id": 13,
|
|
|
"name": "item/client/ItemInfo",
|
|
|
"type": "msg"
|
|
@@ -112,6 +255,14 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "msg"
|
|
|
},
|
|
|
{
|
|
|
+ "id": 32,
|
|
|
+ "name": "plat/Login",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "http"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
"id": 3,
|
|
|
"name": "player/Login",
|
|
|
"type": "api",
|
|
@@ -163,6 +314,36 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ "admin/PtlDeleteSetting/ReqDeleteSetting": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "key",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "admin/PtlDeleteSetting/ResDeleteSetting": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "order10Back",
|
|
|
+ "type": {
|
|
|
+ "type": "Any"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "admin/PtlGetListBySid/ReqGetListBySid": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlGetListBySid/ResGetListBySid": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
"admin/PtlgetNeed/ReqgetNeed": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
@@ -209,6 +390,51 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ "admin/PtlGetSetting/ReqGetSetting": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlGetSetting/ResGetSetting": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "order10Back",
|
|
|
+ "type": {
|
|
|
+ "type": "Any"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "admin/PtlGetVer/ReqGetVer": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlGetVer/ResGetVer": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlHuodongAdd/ReqHuodongAdd": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlHuodongAdd/ResHuodongAdd": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlHuodongDelete/ReqHuodongDelete": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlHuodongDelete/ResHuodongDelete": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlHuodongEdit/ReqHuodongEdit": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlHuodongEdit/ResHuodongEdit": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlHuodongFind/ReqHuodongFind": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "admin/PtlHuodongFind/ResHuodongFind": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
"admin/PtlupdateQuFu/RequpdateQuFu": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
@@ -246,6 +472,37 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ "admin/PtlUpdateSetting/ReqUpdateSetting": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "key",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "name": "param",
|
|
|
+ "type": {
|
|
|
+ "type": "Any"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "admin/PtlUpdateSetting/ResUpdateSetting": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "order10Back",
|
|
|
+ "type": {
|
|
|
+ "type": "Any"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
"common/MsgItems/MsgItems": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
@@ -273,6 +530,27 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ "eps/client/MsgEpsInfo/MsgEpsInfo": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "eps/server/MsgEpsChange/MsgEpsChange": {
|
|
|
+ "type": "Interface",
|
|
|
+ "indexSignature": {
|
|
|
+ "keyType": "String",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "eps/server/MsgEpsInfo/MsgEpsInfo": {
|
|
|
+ "type": "Interface",
|
|
|
+ "indexSignature": {
|
|
|
+ "keyType": "String",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"item/client/MsgItemInfo/MsgItemInfo": {
|
|
|
"type": "Interface"
|
|
|
},
|
|
@@ -294,6 +572,47 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "plat/PtlLogin/ReqLogin": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "pid",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "name": "param",
|
|
|
+ "type": {
|
|
|
+ "type": "Array",
|
|
|
+ "elementType": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "plat/PtlLogin/ResLogin": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "openId",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "name": "token",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
"player/PtlLogin/ReqLogin": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|