|
@@ -4,8 +4,9 @@ import { ReqgetNeed, ResgetNeed } from './admin/PtlgetNeed';
|
|
|
import { ReqgetQuFu, ResgetQuFu } from './admin/PtlgetQuFu';
|
|
|
import { RequpdateQuFu, ResupdateQuFu } from './admin/PtlupdateQuFu';
|
|
|
import { ReqLogin, ResLogin } from './player/PtlLogin';
|
|
|
+import { MsgSetName } from './user/client/MsgSetName';
|
|
|
import { ReqLogin as ReqLogin_1, ResLogin as ResLogin_1 } from './user/PtlLogin';
|
|
|
-import { ReqLookFuser, ResLookFuser } from './user/PtlLookFuser';
|
|
|
+import { MsgSetName as MsgSetName_1 } from './user/server/MsgSetName';
|
|
|
|
|
|
export interface ServiceType {
|
|
|
api: {
|
|
@@ -32,26 +33,23 @@ export interface ServiceType {
|
|
|
"user/Login": {
|
|
|
req: ReqLogin_1,
|
|
|
res: ResLogin_1
|
|
|
- },
|
|
|
- "user/LookFuser": {
|
|
|
- req: ReqLookFuser,
|
|
|
- res: ResLookFuser
|
|
|
}
|
|
|
},
|
|
|
msg: {
|
|
|
-
|
|
|
+ "user/client/SetName": MsgSetName,
|
|
|
+ "user/server/SetName": MsgSetName_1
|
|
|
}
|
|
|
}
|
|
|
|
|
|
export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
- "version": 9,
|
|
|
+ "version": 11,
|
|
|
"services": [
|
|
|
{
|
|
|
"id": 5,
|
|
|
"name": "admin/deleteQuFu",
|
|
|
"type": "api",
|
|
|
"conf": {
|
|
|
- "connet": "http"
|
|
|
+ "connet": "admin"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -59,7 +57,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "admin/getNeed",
|
|
|
"type": "api",
|
|
|
"conf": {
|
|
|
- "connet": "http"
|
|
|
+ "connet": "admin"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -67,7 +65,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "admin/getQuFu",
|
|
|
"type": "api",
|
|
|
"conf": {
|
|
|
- "connet": "http"
|
|
|
+ "connet": "admin"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -75,7 +73,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "admin/updateQuFu",
|
|
|
"type": "api",
|
|
|
"conf": {
|
|
|
- "connet": "http"
|
|
|
+ "connet": "admin"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -87,34 +85,30 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- "id": 4,
|
|
|
- "name": "user/Login",
|
|
|
- "type": "api",
|
|
|
+ "id": 11,
|
|
|
+ "name": "user/client/SetName",
|
|
|
+ "type": "msg",
|
|
|
"conf": {
|
|
|
"connet": "ws"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- "id": 2,
|
|
|
- "name": "user/LookFuser",
|
|
|
+ "id": 4,
|
|
|
+ "name": "user/Login",
|
|
|
"type": "api",
|
|
|
"conf": {
|
|
|
"connet": "ws"
|
|
|
}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 12,
|
|
|
+ "name": "user/server/SetName",
|
|
|
+ "type": "msg"
|
|
|
}
|
|
|
],
|
|
|
"types": {
|
|
|
"admin/PtldeleteQuFu/ReqdeleteQuFu": {
|
|
|
"type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
@@ -125,20 +119,8 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "base/BaseRequest": {
|
|
|
- "type": "Interface"
|
|
|
- },
|
|
|
"admin/PtldeleteQuFu/ResdeleteQuFu": {
|
|
|
"type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseResponse"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
@@ -149,20 +131,8 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "base/BaseResponse": {
|
|
|
- "type": "Interface"
|
|
|
- },
|
|
|
"admin/PtlgetNeed/ReqgetNeed": {
|
|
|
"type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
@@ -182,15 +152,6 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
},
|
|
|
"admin/PtlgetNeed/ResgetNeed": {
|
|
|
"type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseResponse"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
@@ -202,28 +163,10 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
]
|
|
|
},
|
|
|
"admin/PtlgetQuFu/ReqgetQuFu": {
|
|
|
- "type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
+ "type": "Interface"
|
|
|
},
|
|
|
"admin/PtlgetQuFu/ResgetQuFu": {
|
|
|
"type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseResponse"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
@@ -236,15 +179,6 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
},
|
|
|
"admin/PtlupdateQuFu/RequpdateQuFu": {
|
|
|
"type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
@@ -270,15 +204,6 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
},
|
|
|
"admin/PtlupdateQuFu/ResupdateQuFu": {
|
|
|
"type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseResponse"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
@@ -291,15 +216,6 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
},
|
|
|
"player/PtlLogin/ReqLogin": {
|
|
|
"type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
@@ -350,15 +266,6 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
},
|
|
|
"player/PtlLogin/ResLogin": {
|
|
|
"type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseResponse"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
@@ -512,6 +419,9 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ "user/client/MsgSetName/MsgSetName": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
"user/PtlLogin/ReqLogin": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
@@ -641,38 +551,8 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "user/PtlLookFuser/ReqLookFuser": {
|
|
|
- "type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "user/PtlLookFuser/ResLookFuser": {
|
|
|
- "type": "Interface",
|
|
|
- "extends": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "base/BaseResponse"
|
|
|
- }
|
|
|
- }
|
|
|
- ],
|
|
|
- "properties": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "name": "ret",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
+ "user/server/MsgSetName/MsgSetName": {
|
|
|
+ "type": "Interface"
|
|
|
}
|
|
|
}
|
|
|
};
|