协议修改
This commit is contained in:
@@ -3,6 +3,10 @@ import type { ApiResponse } from "../client/types";
|
||||
import proto from "db://assets/Scripts/proto/proto.pb.js";
|
||||
|
||||
export interface IChatService {
|
||||
// 购买聊天次数
|
||||
reqBuyChat(req: proto.cs.ICSBuyChatReq): Promise<ApiResponse<proto.cs.ICSBuyChatRes>>;
|
||||
// 上报聊天数据
|
||||
reqChatMsg(req: proto.cs.ICSChatMsgReq): Promise<ApiResponse<proto.cs.ICSChatMsgRes>>;
|
||||
// 获取聊天数据
|
||||
reqGetChatMsg(req: proto.cs.ICSGetChatMsgReq): Promise<ApiResponse<proto.cs.ICSGetChatMsgRes>>;
|
||||
// 获取技师聊天次数
|
||||
reqChatCountData(req: proto.cs.ICSGetChatRemainCountReq): Promise<ApiResponse<proto.cs.ICSGetChatRemainCountRes>>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user