|
@@ -22,6 +22,8 @@ import { RequpdateMail, ResupdateMail } from './admin/PtlupdateMail';
|
|
|
import { RequpdateQuFu, ResupdateQuFu } from './admin/PtlupdateQuFu';
|
|
|
import { RequpdateSetting, ResupdateSetting } from './admin/PtlupdateSetting';
|
|
|
import { Reqxiazai, Resxiazai } from './admin/Ptlxiazai';
|
|
|
+import { ReqChatSend, ResChatSend } from './chat/PtlChatSend';
|
|
|
+import { MsgChatNew_s } from './chat/server/MsgChatNew_s';
|
|
|
import { MsgItems } from './common/MsgItems';
|
|
|
import { MsgMessage } from './common/MsgMessage';
|
|
|
import { ReqEpsInfo, ResEpsInfo } from './eps/PtlEpsInfo';
|
|
@@ -143,6 +145,10 @@ export interface ServiceType {
|
|
|
req: Reqxiazai,
|
|
|
res: Resxiazai
|
|
|
},
|
|
|
+ "chat/ChatSend": {
|
|
|
+ req: ReqChatSend,
|
|
|
+ res: ResChatSend
|
|
|
+ },
|
|
|
"eps/EpsInfo": {
|
|
|
req: ReqEpsInfo,
|
|
|
res: ResEpsInfo
|
|
@@ -221,6 +227,7 @@ export interface ServiceType {
|
|
|
}
|
|
|
},
|
|
|
msg: {
|
|
|
+ "chat/server/ChatNew_s": MsgChatNew_s,
|
|
|
"common/Items": MsgItems,
|
|
|
"common/Message": MsgMessage,
|
|
|
"eps/server/EpsChange_s": MsgEpsChange_s,
|
|
@@ -232,7 +239,7 @@ export interface ServiceType {
|
|
|
}
|
|
|
|
|
|
export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
- "version": 58,
|
|
|
+ "version": 59,
|
|
|
"services": [
|
|
|
{
|
|
|
"id": 39,
|
|
@@ -419,6 +426,19 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
+ "id": 88,
|
|
|
+ "name": "chat/ChatSend",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 89,
|
|
|
+ "name": "chat/server/ChatNew_s",
|
|
|
+ "type": "msg"
|
|
|
+ },
|
|
|
+ {
|
|
|
"id": 18,
|
|
|
"name": "common/Items",
|
|
|
"type": "msg"
|
|
@@ -1162,6 +1182,165 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ "chat/PtlChatSend/ReqChatSend": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "type",
|
|
|
+ "type": {
|
|
|
+ "type": "Reference",
|
|
|
+ "target": "chat/PtlChatSend/ChatType"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "name": "str",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "chat/PtlChatSend/ChatType": {
|
|
|
+ "type": "Enum",
|
|
|
+ "members": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "value": "hefu"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "chat/PtlChatSend/ResChatSend": {
|
|
|
+ "type": "Interface",
|
|
|
+ "indexSignature": {
|
|
|
+ "keyType": "String",
|
|
|
+ "type": {
|
|
|
+ "type": "Reference",
|
|
|
+ "target": "chat/PtlChatSend/ChatInfo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "chat/PtlChatSend/ChatInfo": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "id",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "name": "type",
|
|
|
+ "type": {
|
|
|
+ "type": "Reference",
|
|
|
+ "target": "chat/PtlChatSend/ChatType"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 2,
|
|
|
+ "name": "fuuid",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 3,
|
|
|
+ "name": "fuser",
|
|
|
+ "type": {
|
|
|
+ "type": "Reference",
|
|
|
+ "target": "base/FUserInfo"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 4,
|
|
|
+ "name": "msg",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 5,
|
|
|
+ "name": "time",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "base/FUserInfo": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "uuid",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "name": "sid",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 2,
|
|
|
+ "name": "name",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 3,
|
|
|
+ "name": "head",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 4,
|
|
|
+ "name": "wxhead",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 5,
|
|
|
+ "name": "sex",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 6,
|
|
|
+ "name": "level",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 7,
|
|
|
+ "name": "exp",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 8,
|
|
|
+ "name": "power",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "chat/server/MsgChatNew_s/MsgChatNew_s": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
"common/MsgItems/MsgItems": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|