You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

8387 lines
316 KiB

{
"swagger": "2.0",
"info": {
"description": "智能耳机服务",
"title": "Home API",
"contact": {},
"version": "1.0"
},
"paths": {
"/api/home/agents_getagents": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取智能体列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Agents"
],
"summary": "获取智能体列表",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.AgentsGetAgentsReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.AgentsGetAgentsResp"
}
}
}
]
}
}
}
}
},
"/api/home/agents_getagenturl": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取智能体连接URL和Token",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Agents"
],
"summary": "获取智能体连接信息",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.AgentsGetAgentUrlReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.AgentsGetAgentUrlResp"
}
}
}
]
}
}
}
}
},
"/api/home/allhelp_addtask": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "创建一个新的定时任务",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Allhelp"
],
"summary": "添加任务",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.AllhelpAddTaskReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.AllhelpAddTaskResp"
}
}
}
]
}
}
}
}
},
"/api/home/allhelp_canceltask": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "取消指定任务",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Allhelp"
],
"summary": "取消任务",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.AllhelpCancelTaskReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.AllhelpCancelTaskResp"
}
}
}
]
}
}
}
}
},
"/api/home/allhelp_completetask": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "用户确认完成任务",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Allhelp"
],
"summary": "完成任务",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.AllhelpCompleteTaskReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.AllhelpCompleteTaskResp"
}
}
}
]
}
}
}
}
},
"/api/home/allhelp_delchatsummary": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "删除当前用户的指定总结记录",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Allhelp"
],
"summary": "删除每日聊天总结",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.AllhelpDelChatSummaryReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.AllhelpDelChatSummaryResp"
}
}
}
]
}
}
}
}
},
"/api/home/allhelp_getchatsummary": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "按日期查询当前用户的每日聊天总结记录,未提交则返回 record.id=0",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Allhelp"
],
"summary": "查询每日聊天总结",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.AllhelpGetChatSummaryReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.AllhelpGetChatSummaryResp"
}
}
}
]
}
}
}
}
},
"/api/home/allhelp_gettasks": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "分页获取用户的任务列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Allhelp"
],
"summary": "获取任务列表",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.AllhelpGetTasksReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.AllhelpGetTasksResp"
}
}
}
]
}
}
}
}
},
"/api/home/allhelp_listchatsummaries": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "按日期范围查询当前用户的每日聊天总结列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Allhelp"
],
"summary": "列表每日聊天总结",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.AllhelpListChatSummariesReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.AllhelpListChatSummariesResp"
}
}
}
]
}
}
}
}
},
"/api/home/allhelp_submitchatsummary": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "提交某一天的聊天消息列表,异步调用AI生成总结;同一(uid,日期)重复提交会覆盖重算",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Allhelp"
],
"summary": "提交每日聊天总结任务",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.AllhelpSubmitChatSummaryReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.AllhelpSubmitChatSummaryResp"
}
}
}
]
}
}
}
}
},
"/api/home/bailian_deviceregister": {
"post": {
"description": "设备端首次联网调用,本服务透传给阿里云 POP,返回的 data 结构由设备 SDK 解签使用",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Bailian"
],
"summary": "百炼设备注册中转(半托管模式)",
"parameters": [
{
"description": "设备签名请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.BailianDeviceRegisterReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.BailianDeviceRegisterResp"
}
}
}
]
}
}
}
}
},
"/api/home/bailian_gettoken": {
"post": {
"description": "设备端每次需要交互令牌时调用;本服务补注 tokenKey(百炼 API Key)后转发 POP",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Bailian"
],
"summary": "百炼获取业务交互令牌中转(半托管模式)",
"parameters": [
{
"description": "设备签名请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.BailianGetTokenReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.BailianGetTokenResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_addrecord": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "新增一条会议记录,支持携带已有转写内容",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "新增会议记录",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetAddRecordReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetAddRecordResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_addtemplate": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "新增一条会议模板",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "新增会议模板",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetAddTemplateReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetAddTemplateResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_alibackcall": {
"post": {
"description": "接收阿里云录音文件转写异步回调结果",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "处理阿里云录音文件转写回调",
"parameters": [
{
"description": "阿里云回调参数",
"name": "notify",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetAliCallbackReq"
}
}
],
"responses": {
"200": {
"description": "处理结果",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetAliCallbackResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_backcall": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "接收由HTTP回调网关转发来的已验证的支付通知,并处理业务逻辑",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "处理Echomeet异步通知 [内部RPC]",
"parameters": [
{
"description": "回调参数",
"name": "notify",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetCallbackReq"
}
}
],
"responses": {
"200": {
"description": "处理结果",
"schema": {
"$ref": "#/definitions/comm.HttpResult"
}
}
}
}
},
"/api/home/echomeet_delrecords": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "根据 Ids 批量删除会议记录",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "批量删除会议记录",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetDelRecordsReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetDelRecordsResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_deltemplate": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "根据 Ids 批量删除会议模板",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "删除会议模板",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetDeleteTemplateReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetDeleteTemplateResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_getallrecords": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取当前用户的全部会议记录",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "获取用户全部会议记录",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetGetAllRecordsReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetGetAllRecordsResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_getcapabilities": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "一次性下发客户端做界面所需的两份清单,全部来自后台配置、服务端下发,客户端不写死:",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "获取会议记录能力清单(支持语言 + 可选总结大模型)",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetGetCapabilitiesReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetGetCapabilitiesResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_getrecord": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "根据 Id 获取单条会议记录,若处于转写中会触发一次状态轮询",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "获取单条会议记录",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetGetRecordReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetGetRecordResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_getrecords": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "根据 Ids 批量获取会议记录,若存在转写中的记录会触发一次状态轮询",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "批量获取会议记录",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetGetRecordsReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetGetRecordsResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_getsummaryservices": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "由后台「会议记录服务」编排下发:client_choice 为后台开关(关闭时仅返回默认项、",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "获取客户端可选的总结大模型服务列表",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetGetSummaryServicesReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetGetSummaryServicesResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_gettemplates": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取公共模板与当前用户的模板列表,按语言过滤",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "获取会议模板列表",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetGetTemplatesReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetGetTemplatesResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_modifyrecord": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "修改会议记录的标题、地址、人员、转写及总结内容(字段传 \"NULL\" 表示不更新)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "修改会议记录",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetModifyRecordsReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetModifyRecordsResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_readrecord": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "将单条会议记录状态置为已读",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "标记会议记录已读",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetReadRecordReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetReadRecordResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_starttask": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "扣除积分并启动指定会议记录的转写/翻译任务,根据源语言自动路由到字节或阿里云",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "启动会议转写任务",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetStartTaskReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetStartTaskResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_summary": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "按指定模板和语言对已有会议记录进行翻译与 AI 总结",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "会议记录智能总结",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetSummaryReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetAddRecordResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_updatetemplate": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "更新当前用户的会议模板",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "更新会议模板",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetUpdateTemplateReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetUpdateTemplateResp"
}
}
}
]
}
}
}
}
},
"/api/home/echomeet_uprecord": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "更新会议记录的音频文件地址",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Echomeet"
],
"summary": "更新会议记录音频地址",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.EchomeetUpRecordReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.EchomeetUpRecordResp"
}
}
}
]
}
}
}
}
},
"/api/home/music_search": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取音乐播放地址",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Music"
],
"summary": "获取音乐播放地址",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.MusicSearchReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.MusicSearchResp"
}
}
}
]
}
}
}
}
},
"/api/home/music_url": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取音乐播放地址",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Music"
],
"summary": "获取音乐播放地址",
"parameters": [
{
"description": "请求数据",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.MusicUrlReq"
}
}
],
"responses": {
"200": {
"description": "响应数据",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.MusicUrlResp"
}
}
}
]
}
}
}
}
},
"/api/home/pay_alipaynotify": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "接收由HTTP回调网关转发来的已验证、解密的支付通知,并处理业务逻辑",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Pay"
],
"summary": "处理微信支付异步通知 [内部RPC]",
"parameters": [
{
"description": "支付宝异步通知参数",
"name": "notify",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.PayAlipayNotifyReq"
}
}
],
"responses": {
"200": {
"description": "处理结果",
"schema": {
"$ref": "#/definitions/comm.HttpResult"
}
}
}
}
},
"/api/home/pay_createorder": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "创建支付订单并返回支付信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Pay"
],
"summary": "创建支付订单",
"parameters": [
{
"description": "订单信息",
"name": "order",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.PayCreatePayOrderReq"
}
}
],
"responses": {
"200": {
"description": "支付订单信息",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.PayCreatePayOrderResp"
}
}
}
]
}
}
}
}
},
"/api/home/pay_getgoodss": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取商品列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Pay"
],
"summary": "获取商品列表",
"parameters": [
{
"description": "获取商品列表",
"name": "order",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.PayGetGoodssReq"
}
}
],
"responses": {
"200": {
"description": "商品列表",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.PayGetGoodssResp"
}
}
}
]
}
}
}
}
},
"/api/home/pay_getgoodssv2": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取商品列表(读管理后台「应用商品配置」,按应用隔离)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Pay"
],
"summary": "获取商品列表 v2",
"parameters": [
{
"description": "获取商品列表 v2",
"name": "order",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.PayGetGoodssV2Req"
}
}
],
"responses": {
"200": {
"description": "商品列表",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.PayGetGoodssV2Resp"
}
}
}
]
}
}
}
}
},
"/api/home/pay_getorderlist": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取商品列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Pay"
],
"summary": "获取商品列表",
"parameters": [
{
"description": "获取订单列表",
"name": "order",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.PayGetOrderListReq"
}
}
],
"responses": {
"200": {
"description": "订单列表",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.PayGetOrderListResp"
}
}
}
]
}
}
}
}
},
"/api/home/pay_paypalnotify": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "接收由HTTP回调网关转发来的已验证的支付通知,并处理业务逻辑",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Pay"
],
"summary": "处理PayPal支付异步通知 [内部RPC]",
"parameters": [
{
"description": "PayPal 异步通知参数",
"name": "notify",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.PayPayPalNotifyReq"
}
}
],
"responses": {
"200": {
"description": "处理结果",
"schema": {
"$ref": "#/definitions/comm.HttpResult"
}
}
}
}
},
"/api/home/pay_paypalnotifyv2": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "接收由HTTP回调网关转发来的支付通知,验签后按管理后台的商品配置发货",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Pay"
],
"summary": "处理PayPal支付异步通知 v2 [内部RPC]",
"parameters": [
{
"description": "PayPal 异步通知参数",
"name": "notify",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.PayPayPalNotifyReq"
}
}
],
"responses": {
"200": {
"description": "处理结果",
"schema": {
"$ref": "#/definitions/comm.HttpResult"
}
}
}
}
},
"/api/home/pay_verifyorder": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "验证支付订单是否有效",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "验证订单",
"parameters": [
{
"description": "发送绑定请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.PayAskOrCancelReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.PayPayOrderAskResp"
}
}
}
]
}
}
}
}
},
"/api/home/pay_wechatnotify": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "接收由HTTP回调网关转发来的已验证、解密的支付通知,并处理业务逻辑",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Pay"
],
"summary": "处理微信支付异步通知 [内部RPC]",
"parameters": [
{
"description": "已解密的微信支付通知",
"name": "notify",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.PayWeChatNotifyReq"
}
}
],
"responses": {
"200": {
"description": "处理结果",
"schema": {
"$ref": "#/definitions/comm.HttpResult"
}
}
}
}
},
"/api/home/user_bindauthcode": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "新设计:激活码 = 厂家公码。每个用户一生仅可领取 1 次(DBUser.Isactivatecode 判重)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "扫激活码领取奖励",
"parameters": [
{
"description": "扫激活码请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserBindAuthCodeReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserBindAuthCodeResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_binddevice": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "绑定耳机设备",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "绑定耳机设备",
"parameters": [
{
"description": "发送绑定请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserBindDeviceReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserBindDeviceResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_del": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "软注销账号:清理业务数据与个人痕迹,保留身份锚点与 Isgiveaway,下次登录可复活",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "注销账号信息",
"parameters": [
{
"description": "注销账号信息",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserDelReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserDelResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_feedback": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "用户反馈",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "用户反馈",
"parameters": [
{
"description": "用户反馈",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserFeedbackReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserFeedbackResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getagents_v2": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "下发后台「Agent 配置」:本应用作用域(应用覆盖全局)、仅启用的,按 sort 升序;服务编排字段引用 user_getthirdsvcs_v2 下发的服务 id",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取 agent 列表",
"parameters": [
{
"description": "获取 agent 列表",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetAgentsReq"
}
}
],
"responses": {
"200": {
"description": "成功返回(整体响应体经 AES-CBC 加密,响应头 X-Encrypted:1)",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetAgentsResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getagents_v3": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "下发后台「Agent 配置」,相比 v2 增加:绑定的 MCP 服务 id、变量定义,且 voice_map 已按内置音色表补全",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取 agent 列表(v3)",
"parameters": [
{
"description": "获取 agent 列表",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetAgentsV3Req"
}
}
],
"responses": {
"200": {
"description": "成功返回(整体响应体经 AES-CBC 加密,响应头 X-Encrypted:1)",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetAgentsV3Resp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getappconfig": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取应用配置",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取应用配置",
"parameters": [
{
"description": "获取应用配置",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetAppConfigReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetAppConfigResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getappconfig_v2": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取应用配置",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取应用配置",
"parameters": [
{
"description": "获取应用配置",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetAppConfigReq"
}
}
],
"responses": {
"200": {
"description": "成功返回(整体响应体经 AES-CBC 加密,响应头 X-Encrypted:1)",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetAppConfigResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getappconfig_v3": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "一次性下发客户端启动所需的全部配置:环境变量 + 智能体 + 产品 + 第三方服务(含 MCP) + 会议记录能力。",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取应用配置(v3)",
"parameters": [
{
"description": "获取应用配置",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetAppConfigV3Req"
}
}
],
"responses": {
"200": {
"description": "成功返回(整体响应体经 AES-CBC 加密,响应头 X-Encrypted:1)",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetAppConfigV3Resp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getchannelapp": {
"post": {
"description": "获取渠道包信息并校验升级:传了 version 时返回 needupdate/forceupdate/reviewing 三个判定结果",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取渠道包信息",
"parameters": [
{
"description": "获取渠道包信息",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetChannelAppReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetChannelAppResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getchannelapps": {
"post": {
"description": "获取渠道包信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取渠道包信息",
"parameters": [
{
"description": "获取渠道包信息",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetChannelAppsReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetChannelAppsResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getdevices": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取设备信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取设备信息",
"parameters": [
{
"description": "获取设备信息",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetDevicesReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetDevicesResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getinfo": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "使用token获取用户信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取用户信息",
"parameters": [
{
"description": "获取用户信息",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetInfoReq"
}
}
],
"responses": {
"200": {
"description": "成功返回用户信息",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetInfoResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getproduct": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取设备信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取设备信息",
"parameters": [
{
"description": "获取设备信息",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetProductReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetProductResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getproductversions": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取产品对应的所有固件版本",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取产品固件版本列表",
"parameters": [
{
"description": "获取产品固件版本列表",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetProductVersionsReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetProductVersionsResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getstatistics": {
"post": {
"description": "获取用户统计数据",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取统计数据",
"parameters": [
{
"description": "获取统计数据请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetStatisticsReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetStatisticsResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getthirdsvcs_v2": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "下发后台「第三方服务配置」:本应用作用域(应用覆盖全局)+按用户 IP 区域合并字段覆盖,凭据解密为明文",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取第三方服务列表",
"parameters": [
{
"description": "获取第三方服务列表",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetThirdSvcsReq"
}
}
],
"responses": {
"200": {
"description": "成功返回(整体响应体经 AES-CBC 加密,响应头 X-Encrypted:1)",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetThirdSvcsResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_getwakeupvoices": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "获取唤醒词列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "获取唤醒词列表",
"parameters": [
{
"description": "用户反馈",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserGetWakeupVoicesReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserGetWakeupVoicesResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_pushaction": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "上报用户行为",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "上报用户行为",
"parameters": [
{
"description": "上报用户行为",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserPushActionReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserPushActionResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_reportaicontent": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "举报AI内容",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "举报AI内容",
"parameters": [
{
"description": "举报AI内容",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserReportAIContentReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserReportAIContentResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_setting": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "用户设置接口",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "用户设置接口",
"parameters": [
{
"description": "发送请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserSettingReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserSettingResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_sgin": {
"post": {
"description": "根据登录类型实现登录操作",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "登入接口",
"parameters": [
{
"description": "登录请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserSginReq"
}
}
],
"responses": {
"200": {
"description": "成功返回用户信息",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserSginResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_unbinddevice": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "绑定耳机设备",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "解绑定耳机设备",
"parameters": [
{
"description": "发送绑定请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserUnBindDeviceReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserUnBindDeviceResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_updatedevicesetting": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "更新设备设置接口",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "更新设备设置接口",
"parameters": [
{
"description": "发送请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserUpdateDeviceSettingReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserUpdateDeviceSettingResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_usages": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "使用资源请求",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "使用资源请求",
"parameters": [
{
"description": "使用资源请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserUsagesReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserUsagesResp"
}
}
}
]
}
}
}
}
},
"/api/home/user_verification": {
"post": {
"description": "发送验证码",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "发送验证码",
"parameters": [
{
"description": "发送验证吗请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.UserVerificationReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.UserVerificationResp"
}
}
}
]
}
}
}
}
},
"/chat": {
"post": {
"description": "普通聊天接口,内部对接咪咕灵犀。\nstream=false:返回完整 JSON(ChatResponse),结构化音乐卡片在 cards 字段;\nstream=true:返回 SSE 流,每帧一个 ChatChunk(音乐卡片在 card 字段),结束以 data: [DONE]。\n鉴权:服务端配置了 ApiKey 时需带请求头 Authorization: Bearer \u003ckey\u003e。",
"consumes": [
"application/json"
],
"produces": [
"application/json",
"text/event-stream"
],
"tags": [
"Migu"
],
"summary": "咪咕灵犀聊天",
"parameters": [
{
"description": "聊天请求",
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/migu.ChatRequest"
}
}
],
"responses": {
"200": {
"description": "非流式完整响应;流式时为 SSE 流(data: {ChatChunk} ... data: [DONE])",
"schema": {
"$ref": "#/definitions/migu.ChatResponse"
}
},
"400": {
"description": "参数错误",
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"401": {
"description": "鉴权失败",
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
},
"/web/api/api_getglobalstats": {
"post": {
"description": "返回实时计算的累计注册/充值人数;stat 字段已停用(App 运营统计迁至运营后台)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"API"
],
"summary": "查询全局累计统计",
"parameters": [
{
"description": "查询请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.ApiGetGlobalStatsReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.ApiGetGlobalStatsResp"
}
}
}
]
}
}
}
}
},
"/web/api/api_getuserrank": {
"post": {
"description": "翻译/会议两类用量 Top N,可选标记当前账号名下用户",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"API"
],
"summary": "查询用户使用量排行",
"parameters": [
{
"description": "查询请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.ApiGetUserRankReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.ApiGetUserRankResp"
}
}
}
]
}
}
}
}
},
"/web/api/api_getuseruselogs": {
"post": {
"description": "查询用户使用量日志",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"API"
],
"summary": "查询用户使用量日志",
"parameters": [
{
"description": "查询请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.ApiGetUserUseLogsReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.ApiGetUserUseLogsResp"
}
}
}
]
}
}
}
}
},
"/web/api/api_rebuildstats": {
"post": {
"description": "从源表重算 userstatistics 与 product_stat(仅超管);App 运营统计已迁至运营后台,不在此重建",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"API"
],
"summary": "重建统计数据",
"parameters": [
{
"description": "重建请求",
"name": "user",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/pb.ApiRebuildStatsReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"allOf": [
{
"$ref": "#/definitions/comm.HttpResult"
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/pb.ApiRebuildStatsResp"
}
}
}
]
}
}
}
}
}
},
"definitions": {
"comm.HttpResult": {
"type": "object",
"properties": {
"code": {
"description": "错误代码\n@Description 响应结果的错误码 0 表示成功\n@example 0",
"allOf": [
{
"$ref": "#/definitions/pb.ErrorCode"
}
],
"example": 0
},
"data": {
"description": "数据部分,可能是多种类型\n@Description 响应的数据,类型可变\n@oneOf User Product Order\n@example {\"id\": 1, \"name\": \"John Doe\"}"
},
"msg": {
"description": "消息说明\n@Description 响应结果的消息 请求返回的描述信息\n@example \"Success\"",
"type": "string",
"example": "Success"
}
}
},
"migu.ChatRequest": {
"type": "object",
"properties": {
"deviceId": {
"description": "设备ID(可选,亦可用 X-Device-Id 头)",
"type": "string"
},
"history": {
"description": "历史对话(可选)",
"type": "array",
"items": {
"$ref": "#/definitions/modules_migu.Message"
}
},
"message": {
"description": "本次问话(必填)",
"type": "string"
},
"sessionId": {
"description": "会话ID(可选,亦可用 X-Session-Id 头)",
"type": "string"
},
"stream": {
"description": "是否流式",
"type": "boolean"
}
}
},
"migu.ChatResponse": {
"type": "object",
"properties": {
"cards": {
"description": "全部结构化卡片(音乐等)",
"type": "array",
"items": {
"$ref": "#/definitions/yunyan_sys_migu.Content"
}
},
"content": {
"description": "拼接后的完整文本",
"type": "string"
},
"finishReason": {
"description": "结束原因",
"type": "string"
},
"reasoning": {
"description": "拼接后的完整思考",
"type": "string"
},
"recommendPrompts": {
"description": "全部追问提示词",
"type": "array",
"items": {
"type": "string"
}
},
"reqId": {
"type": "string"
},
"sessionId": {
"type": "string"
}
}
},
"modules_migu.Message": {
"type": "object",
"properties": {
"content": {
"description": "文本内容",
"type": "string"
},
"role": {
"description": "user / assistant / system",
"type": "string"
}
}
},
"pb.AgentInfo": {
"type": "object",
"properties": {
"agent_id": {
"description": "@go_tags(`json:\"agent_id\"`) 智能体id",
"type": "string"
},
"description": {
"description": "@go_tags(`json:\"description\"`) 智能体描述",
"type": "string"
},
"name": {
"description": "@go_tags(`json:\"name\"`) 智能体名称",
"type": "string"
},
"type": {
"description": "@go_tags(`json:\"type\"`) 智能体类型",
"type": "string"
}
}
},
"pb.AgentItem": {
"type": "object",
"properties": {
"ast_svc_id": {
"description": "@go_tags(`json:\"ast_svc_id\"`) 端到端翻译服务",
"type": "string"
},
"avatar_url": {
"description": "@go_tags(`json:\"avatar_url\"`) 头像",
"type": "string"
},
"default_lang": {
"description": "@go_tags(`json:\"default_lang\"`) 默认语言",
"type": "string"
},
"description": {
"description": "@go_tags(`json:\"description\"`) 描述",
"type": "string"
},
"gender": {
"description": "@go_tags(`json:\"gender\"`) 0未定 1男 2女",
"type": "integer"
},
"greeting_enabled": {
"description": "@go_tags(`json:\"greeting_enabled\"`) 开场白开关",
"type": "boolean"
},
"greeting_text": {
"description": "@go_tags(`json:\"greeting_text\"`) 开场白",
"type": "string"
},
"id": {
"description": "@go_tags(`json:\"id\"`) agent id",
"type": "string"
},
"llm_svc_id": {
"description": "@go_tags(`json:\"llm_svc_id\"`) 大模型服务",
"type": "string"
},
"mt_svc_id": {
"description": "@go_tags(`json:\"mt_svc_id\"`) 翻译服务",
"type": "string"
},
"name": {
"description": "@go_tags(`json:\"name\"`) 名称",
"type": "string"
},
"sort": {
"description": "@go_tags(`json:\"sort\"`) 排序",
"type": "integer"
},
"sts_svc_id": {
"description": "@go_tags(`json:\"sts_svc_id\"`) 端到端对话服务",
"type": "string"
},
"stt_svc_id": {
"description": "@go_tags(`json:\"stt_svc_id\"`) 识别服务",
"type": "string"
},
"support_langs": {
"description": "@go_tags(`json:\"support_langs\"`) 支持语言(逗号分隔 BCP-47)",
"type": "string"
},
"system_prompt": {
"description": "@go_tags(`json:\"system_prompt\"`) 系统提示词",
"type": "string"
},
"tts_svc_id": {
"description": "@go_tags(`json:\"tts_svc_id\"`) 合成服务",
"type": "string"
},
"type": {
"description": "@go_tags(`json:\"type\"`) chat|translate|sts-chat|ast-translate",
"type": "string"
},
"voice_map": {
"description": "@go_tags(`json:\"voice_map\"`) 音色覆盖",
"type": "array",
"items": {
"$ref": "#/definitions/pb.AgentVoiceItem"
}
}
}
},
"pb.AgentItemV3": {
"type": "object",
"properties": {
"avatar_url": {
"description": "@go_tags(`json:\"avatar_url\"`) 头像",
"type": "string"
},
"default_lang": {
"description": "@go_tags(`json:\"default_lang\"`) 默认语言",
"type": "string"
},
"description": {
"description": "@go_tags(`json:\"description\"`) 描述",
"type": "string"
},
"gender": {
"description": "@go_tags(`json:\"gender\"`) 0未定 1男 2女",
"type": "integer"
},
"greeting_enabled": {
"description": "@go_tags(`json:\"greeting_enabled\"`) 开场白开关",
"type": "boolean"
},
"greeting_text": {
"description": "@go_tags(`json:\"greeting_text\"`) 开场白",
"type": "string"
},
"id": {
"description": "@go_tags(`json:\"id\"`) agent id",
"type": "string"
},
"llm_svc_id": {
"description": "@go_tags(`json:\"llm_svc_id\"`) 大模型服务(chat)",
"type": "string"
},
"mcp_svc_ids": {
"description": "@go_tags(`json:\"mcp_svc_ids\"`) 绑定的 MCP 服务 id(详情在 getappconfig_v3 的 thirdsvcs 里)",
"type": "array",
"items": {
"type": "string"
}
},
"mcps": {
"description": "@go_tags(`json:\"mcps\"`) MCP 绑定(含每个服务允许的工具);mcp_svc_ids 是它的 id 平铺,保留给老客户端",
"type": "array",
"items": {
"$ref": "#/definitions/pb.AgentMcpBindingItem"
}
},
"name": {
"description": "@go_tags(`json:\"name\"`) 名称",
"type": "string"
},
"sort": {
"description": "@go_tags(`json:\"sort\"`) 排序",
"type": "integer"
},
"sts_svc_id": {
"description": "@go_tags(`json:\"sts_svc_id\"`) 端到端对话服务(sts-chat)",
"type": "string"
},
"stt_svc_id": {
"description": "@go_tags(`json:\"stt_svc_id\"`) 识别服务(chat)",
"type": "string"
},
"support_langs": {
"description": "@go_tags(`json:\"support_langs\"`) 支持语言(逗号分隔 BCP-47)",
"type": "string"
},
"system_prompt": {
"description": "@go_tags(`json:\"system_prompt\"`) 系统提示词",
"type": "string"
},
"tts_svc_id": {
"description": "@go_tags(`json:\"tts_svc_id\"`) 合成服务(chat)",
"type": "string"
},
"type": {
"description": "@go_tags(`json:\"type\"`) chat|sts-chat",
"type": "string"
},
"variables": {
"description": "@go_tags(`json:\"variables\"`) 变量定义",
"type": "array",
"items": {
"$ref": "#/definitions/pb.AgentVariableItem"
}
},
"voice_map": {
"description": "@go_tags(`json:\"voice_map\"`) 各语言最终音色(已按音色表补全)",
"type": "array",
"items": {
"$ref": "#/definitions/pb.AgentVoiceItem"
}
}
}
},
"pb.AgentMcpBindingItem": {
"type": "object",
"properties": {
"svc_id": {
"description": "@go_tags(`json:\"svc_id\"`) MCP 服务 id(详情在 getappconfig_v3 的 thirdsvcs 里)",
"type": "string"
},
"tools": {
"description": "@go_tags(`json:\"tools\"`) 允许调用的工具名;空=该服务的工具全放开(仍受服务自身 tools 白名单约束)",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"pb.AgentSource": {
"description": "智能体来源",
"type": "integer",
"enum": [
0,
1,
2,
3
],
"x-enum-comments": {
"AgentSource_AgentSourceAliyun": "阿里云平台",
"AgentSource_AgentSourceBuiltin": "内置智能体",
"AgentSource_AgentSourcePolyChat": "PolyChat 平台",
"AgentSource_AgentSourceVolcano": "火山平台"
},
"x-enum-varnames": [
"AgentSource_AgentSourceBuiltin",
"AgentSource_AgentSourcePolyChat",
"AgentSource_AgentSourceAliyun",
"AgentSource_AgentSourceVolcano"
]
},
"pb.AgentVariable": {
"type": "object",
"properties": {
"default": {
"description": "@go_tags(`json:\"default\"`) 默认值",
"type": "string"
},
"description": {
"description": "@go_tags(`json:\"description\"`) 变量描述",
"type": "string"
},
"name": {
"description": "@go_tags(`json:\"name\"`) 变量名",
"type": "string"
},
"required": {
"description": "@go_tags(`json:\"required\"`) 是否必填",
"type": "boolean"
},
"type": {
"description": "@go_tags(`json:\"type\"`) 变量类型",
"type": "string"
}
}
},
"pb.AgentVariableItem": {
"type": "object",
"properties": {
"def_value": {
"description": "@go_tags(`json:\"def_value\"`) 默认值(客户端没有对应上下文时用它)",
"type": "string"
},
"description": {
"description": "@go_tags(`json:\"description\"`) 备注",
"type": "string"
},
"key": {
"description": "@go_tags(`json:\"key\"`) 变量名;在提示词/开场白里用双大括号包住它作占位符",
"type": "string"
},
"label": {
"description": "@go_tags(`json:\"label\"`) 展示名",
"type": "string"
}
}
},
"pb.AgentVoiceItem": {
"type": "object",
"properties": {
"gender": {
"description": "@go_tags(`json:\"gender\"`) 1男 2女 0不限",
"type": "integer"
},
"language": {
"description": "@go_tags(`json:\"language\"`) BCP-47 语言",
"type": "string"
},
"voice": {
"description": "@go_tags(`json:\"voice\"`) provider 音色名",
"type": "string"
}
}
},
"pb.AgentsGetAgentUrlReq": {
"type": "object",
"properties": {
"agent_id": {
"description": "@go_tags(`json:\"agent_id\"`) 智能体id",
"type": "string"
}
}
},
"pb.AgentsGetAgentUrlResp": {
"type": "object",
"properties": {
"agent": {
"description": "@go_tags(`json:\"agent\"`) 智能体信息",
"allOf": [
{
"$ref": "#/definitions/pb.AgentInfo"
}
]
},
"connect_url": {
"description": "@go_tags(`json:\"connect_url\"`) 智能体连接url",
"type": "string"
},
"expires_at": {
"description": "@go_tags(`json:\"expires_at\"`) 过期时间",
"type": "string"
},
"expires_in": {
"description": "@go_tags(`json:\"expires_in\"`) 过期秒数",
"type": "integer"
},
"token": {
"description": "@go_tags(`json:\"token\"`) 访问token",
"type": "string"
}
}
},
"pb.AgentsGetAgentsReq": {
"type": "object"
},
"pb.AgentsGetAgentsResp": {
"type": "object",
"properties": {
"agents": {
"description": "@go_tags(`json:\"agents\"`) //智能体列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBVoitransAgent"
}
}
}
},
"pb.AllhelpAddTaskReq": {
"type": "object",
"properties": {
"cron_expr": {
"description": "@go_tags(`json:\"cron_expr\"`) cron表达式",
"type": "string"
},
"extra": {
"description": "@go_tags(`json:\"extra\"`) 扩展信息",
"type": "string"
},
"task_desc": {
"description": "@go_tags(`json:\"task_desc\"`) 任务描述",
"type": "string"
},
"task_name": {
"description": "@go_tags(`json:\"task_name\"`) 任务标题",
"type": "string"
},
"task_type": {
"description": "@go_tags(`json:\"task_type\"`) 任务类型",
"type": "integer"
},
"trigger_time": {
"description": "@go_tags(`json:\"trigger_time\"`) 触发时间(带时区的RFC3339字符串)",
"type": "string"
}
}
},
"pb.AllhelpAddTaskResp": {
"type": "object",
"properties": {
"task": {
"description": "@go_tags(`json:\"task\"`) 创建的任务",
"allOf": [
{
"$ref": "#/definitions/pb.DBTask"
}
]
}
}
},
"pb.AllhelpCancelTaskReq": {
"type": "object",
"properties": {
"task_id": {
"description": "@go_tags(`json:\"task_id\"`) 任务ID",
"type": "integer"
}
}
},
"pb.AllhelpCancelTaskResp": {
"type": "object"
},
"pb.AllhelpCompleteTaskReq": {
"type": "object",
"properties": {
"task_id": {
"description": "@go_tags(`json:\"task_id\"`) 任务ID",
"type": "integer"
}
}
},
"pb.AllhelpCompleteTaskResp": {
"type": "object"
},
"pb.AllhelpDelChatSummaryReq": {
"type": "object",
"properties": {
"id": {
"description": "@go_tags(`json:\"id\"`)",
"type": "integer"
}
}
},
"pb.AllhelpDelChatSummaryResp": {
"type": "object"
},
"pb.AllhelpGetChatSummaryReq": {
"type": "object",
"properties": {
"summary_date": {
"description": "@go_tags(`json:\"summary_date\"`) YYYY-MM-DD",
"type": "string"
}
}
},
"pb.AllhelpGetChatSummaryResp": {
"type": "object",
"properties": {
"record": {
"description": "@go_tags(`json:\"record\"`) 记录(不存在时 record.id=0)",
"allOf": [
{
"$ref": "#/definitions/pb.DBChatSummary"
}
]
}
}
},
"pb.AllhelpGetTasksReq": {
"type": "object",
"properties": {
"page": {
"description": "@go_tags(`json:\"page\"`) 页码(从1开始)",
"type": "integer"
},
"size": {
"description": "@go_tags(`json:\"size\"`) 每页数量",
"type": "integer"
},
"status": {
"description": "@go_tags(`json:\"status\"`) 按状态筛选,-1 表示全部",
"type": "integer"
}
}
},
"pb.AllhelpGetTasksResp": {
"type": "object",
"properties": {
"tasks": {
"description": "@go_tags(`json:\"tasks\"`) 任务列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBTask"
}
},
"total": {
"description": "@go_tags(`json:\"total\"`) 总数",
"type": "integer"
}
}
},
"pb.AllhelpListChatSummariesReq": {
"type": "object",
"properties": {
"end_date": {
"description": "@go_tags(`json:\"end_date\"`) 含,YYYY-MM-DD",
"type": "string"
},
"page": {
"description": "@go_tags(`json:\"page\"`) 从1开始",
"type": "integer"
},
"size": {
"description": "@go_tags(`json:\"size\"`)",
"type": "integer"
},
"start_date": {
"description": "@go_tags(`json:\"start_date\"`) 含,YYYY-MM-DD",
"type": "string"
}
}
},
"pb.AllhelpListChatSummariesResp": {
"type": "object",
"properties": {
"records": {
"description": "@go_tags(`json:\"records\"`)",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBChatSummary"
}
},
"total": {
"description": "@go_tags(`json:\"total\"`)",
"type": "integer"
}
}
},
"pb.AllhelpSubmitChatSummaryReq": {
"type": "object",
"properties": {
"msgs": {
"description": "@go_tags(`json:\"msgs\"`) 当日聊天消息列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.ChatMsg"
}
},
"summary_date": {
"description": "@go_tags(`json:\"summary_date\"`) 日期 YYYY-MM-DD(客户端按本地时区选择)",
"type": "string"
}
}
},
"pb.AllhelpSubmitChatSummaryResp": {
"type": "object",
"properties": {
"record": {
"description": "@go_tags(`json:\"record\"`) 入库记录(state=Pending)",
"allOf": [
{
"$ref": "#/definitions/pb.DBChatSummary"
}
]
}
}
},
"pb.ApiGetGlobalStatsReq": {
"type": "object"
},
"pb.ApiGetGlobalStatsResp": {
"type": "object",
"properties": {
"stat": {
"description": "@go_tags(`json:\"stat\"`) 累计统计(字段含义与 DBAppStat 一致)",
"allOf": [
{
"$ref": "#/definitions/pb.DBAppStat"
}
]
},
"total_pay_user_count": {
"description": "@go_tags(`json:\"total_pay_user_count\"`) 累计充值人数(实时 COUNT DISTINCT 付费订单)",
"type": "integer"
},
"total_user_count": {
"description": "@go_tags(`json:\"total_user_count\"`) 累计注册人数(实时 COUNT(*) 用户表)",
"type": "integer"
}
}
},
"pb.ApiGetUserRankReq": {
"type": "object",
"properties": {
"limit": {
"description": "@go_tags(`json:\"limit\"`) 返回条数 默认 10",
"type": "integer"
},
"product_id": {
"description": "@go_tags(`json:\"product_id\"`) 产品ID 0=代理全部产品(仅代理仪表盘\"我的\"标记会按此过滤)",
"type": "integer"
},
"type": {
"description": "@go_tags(`json:\"type\"`) 排行类型 trade=翻译 meet=会议",
"type": "string"
}
}
},
"pb.ApiGetUserRankResp": {
"type": "object",
"properties": {
"list": {
"description": "@go_tags(`json:\"list\"`) 排行列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.UserRankItem"
}
}
}
},
"pb.ApiGetUserUseLogsReq": {
"type": "object",
"properties": {
"end": {
"description": "@go_tags(`json:\"end\"`) //结束时间",
"type": "integer"
},
"start": {
"description": "@go_tags(`json:\"start\"`) //开始时间",
"type": "integer"
},
"uid": {
"description": "@go_tags(`json:\"uid\"`) //用户id",
"type": "string"
},
"usagetype": {
"description": "@go_tags(`json:\"usagetype\"`) //使用量类型",
"allOf": [
{
"$ref": "#/definitions/pb.UserLogType"
}
]
}
}
},
"pb.ApiGetUserUseLogsResp": {
"type": "object",
"properties": {
"logs": {
"description": "@go_tags(`json:\"logs\"`) //用户使用量日志列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBUserUseLog"
}
}
}
},
"pb.ApiRebuildStatsReq": {
"type": "object"
},
"pb.ApiRebuildStatsResp": {
"type": "object",
"properties": {
"cost_ms": {
"description": "@go_tags(`json:\"cost_ms\"`) 耗时(毫秒)",
"type": "integer"
},
"daily_rows": {
"description": "@go_tags(`json:\"daily_rows\"`) 写入的日行数",
"type": "integer"
},
"monthly_rows": {
"description": "@go_tags(`json:\"monthly_rows\"`) 写入的月行数",
"type": "integer"
},
"yearly_rows": {
"description": "@go_tags(`json:\"yearly_rows\"`) 写入的年行数",
"type": "integer"
}
}
},
"pb.AppPayParams": {
"type": "object",
"properties": {
"appid": {
"description": "@go_tags(`json:\"appid\"`) 应用ID",
"type": "string"
},
"noncestr": {
"description": "@go_tags(`json:\"noncestr\"`) 随机字符串",
"type": "string"
},
"package": {
"description": "@go_tags(`json:\"package",
"type": "string"
},
"partnerid": {
"description": "@go_tags(`json:\"partnerid\"`) 商户号",
"type": "string"
},
"prepayid": {
"description": "@go_tags(`json:\"prepayid\"`) 预支付ID",
"type": "string"
},
"sign": {
"description": "@go_tags(`json:\"sign\"`) 支付签名",
"type": "string"
},
"timestamp": {
"description": "@go_tags(`json:\"timestamp\"`) 时间戳(秒)",
"type": "string"
}
}
},
"pb.AudioInfo": {
"type": "object",
"properties": {
"duration": {
"description": "音频时长(ms)",
"type": "integer"
}
}
},
"pb.BailianDeviceRegisterReq": {
"type": "object",
"required": [
"appId",
"nonce",
"requestTime",
"signature"
],
"properties": {
"appId": {
"description": "@go_tags(`json:\"appId\" binding:\"required\"`) 产品标识",
"type": "string"
},
"deviceName": {
"description": "@go_tags(`json:\"deviceName\"`) 设备唯一标识(可选,透传用)",
"type": "string"
},
"nonce": {
"description": "@go_tags(`json:\"nonce\" binding:\"required\"`) 16 字节随机数 32 字符",
"type": "string"
},
"requestTime": {
"description": "@go_tags(`json:\"requestTime\" binding:\"required\"`) 毫秒时间戳字符串",
"type": "string"
},
"sdkVersion": {
"description": "@go_tags(`json:\"sdkVersion\"`) 设备端 SDK 版本",
"type": "string"
},
"signature": {
"description": "@go_tags(`json:\"signature\" binding:\"required\"`) 设备端签名",
"type": "string"
}
}
},
"pb.BailianDeviceRegisterResp": {
"type": "object",
"properties": {
"appId": {
"description": "@go_tags(`json:\"appId\"`)",
"type": "string"
},
"deviceName": {
"description": "@go_tags(`json:\"deviceName\"`)",
"type": "string"
},
"nonce": {
"description": "@go_tags(`json:\"nonce\"`)",
"type": "string"
},
"responseTime": {
"description": "@go_tags(`json:\"responseTime\"`)",
"type": "string"
},
"signature": {
"description": "@go_tags(`json:\"signature\"`)",
"type": "string"
}
}
},
"pb.BailianGetTokenReq": {
"type": "object",
"required": [
"appId",
"deviceName",
"requestTime",
"signature",
"tokenType"
],
"properties": {
"appId": {
"description": "@go_tags(`json:\"appId\" binding:\"required\"`)",
"type": "string"
},
"deviceName": {
"description": "@go_tags(`json:\"deviceName\" binding:\"required\"`)",
"type": "string"
},
"nonce": {
"description": "@go_tags(`json:\"nonce\"`) 可选,部分版本设备 SDK 不下发",
"type": "string"
},
"payMode": {
"description": "@go_tags(`json:\"payMode\"`) 固定 \"LICENSE\"",
"type": "string"
},
"requestTime": {
"description": "@go_tags(`json:\"requestTime\" binding:\"required\"`)",
"type": "string"
},
"sdkVersion": {
"description": "@go_tags(`json:\"sdkVersion\"`)",
"type": "string"
},
"signature": {
"description": "@go_tags(`json:\"signature\" binding:\"required\"`)",
"type": "string"
},
"tokenType": {
"description": "@go_tags(`json:\"tokenType\" binding:\"required\"`) 固定 \"MMI\"",
"type": "string"
}
}
},
"pb.BailianGetTokenResp": {
"type": "object",
"properties": {
"appId": {
"description": "@go_tags(`json:\"appId\"`)",
"type": "string"
},
"deviceName": {
"description": "@go_tags(`json:\"deviceName\"`)",
"type": "string"
},
"nonce": {
"description": "@go_tags(`json:\"nonce\"`)",
"type": "string"
},
"requestIp": {
"description": "@go_tags(`json:\"requestIp\"`)",
"type": "string"
},
"responseTime": {
"description": "@go_tags(`json:\"responseTime\"`)",
"type": "string"
},
"signature": {
"description": "@go_tags(`json:\"signature\"`)",
"type": "string"
}
}
},
"pb.ChatMsg": {
"type": "object",
"properties": {
"content": {
"description": "@go_tags(`json:\"content\"`) 消息内容",
"type": "string"
},
"speaker": {
"description": "@go_tags(`json:\"speaker\"`) 说话人(可为用户昵称或\"me\"/\"him\"等)",
"type": "string"
},
"time": {
"description": "@go_tags(`json:\"time\"`) 消息时间戳(秒级,可选)",
"type": "integer"
}
}
},
"pb.ChatSummaryState": {
"type": "integer",
"enum": [
0,
1,
2,
3
],
"x-enum-comments": {
"ChatSummaryState_ChatSummaryState_Done": "完成",
"ChatSummaryState_ChatSummaryState_Failed": "失败",
"ChatSummaryState_ChatSummaryState_Pending": "入队等待",
"ChatSummaryState_ChatSummaryState_Processing": "AI 处理中"
},
"x-enum-varnames": [
"ChatSummaryState_ChatSummaryState_Pending",
"ChatSummaryState_ChatSummaryState_Processing",
"ChatSummaryState_ChatSummaryState_Done",
"ChatSummaryState_ChatSummaryState_Failed"
]
},
"pb.ContextStruct": {
"type": "object",
"properties": {
"content": {
"description": "@go_tags(`json:\"content\"`) 内容",
"type": "string"
},
"endtime": {
"description": "@go_tags(`json:\"endtime\"`) 结束时间",
"type": "integer"
},
"meetingid": {
"description": "@go_tags(`json:\"meetingid\"`) 会议id",
"type": "integer"
},
"speaker": {
"description": "@go_tags(`json:\"speaker\"`) 说话人",
"type": "string"
},
"starttime": {
"description": "@go_tags(`json:\"starttime\"`) 开始时间",
"type": "integer"
}
}
},
"pb.DBAgent": {
"type": "object",
"properties": {
"avatarUrl": {
"description": "@go_tags(`gorm:\"avatarUrl:50\" json:\"avatarUrl\"`) 头像",
"type": "string"
},
"description": {
"description": "@go_tags(`gorm:\"description\" json:\"description\"`) 智能体描述",
"type": "string"
},
"enable": {
"description": "@go_tags(`gorm:\"enable\" json:\"enable\"`) 是否启用",
"type": "boolean"
},
"id": {
"description": "@go_tags(`gorm:\"id:50;primaryKey\" json:\"id\"`) 智能体id",
"type": "string"
},
"isOnline": {
"description": "@go_tags(`gorm:\"isOnline\" json:\"isOnline\"`) 是否在线",
"type": "boolean"
},
"languages": {
"description": "@go_tags(`gorm:\"languages\" json:\"languages\"`) 支持语言 多个用逗号分隔 zh-CN,en-US",
"type": "string"
},
"name": {
"description": "@go_tags(`gorm:\"name:50\" json:\"name\"`) 智能体名称",
"type": "string"
},
"roleId": {
"description": "@go_tags(`gorm:\"roleId:50;index\" json:\"roleId\"`) 角色ID",
"type": "string"
},
"serviceData": {
"description": "@go_tags(`gorm:\"serviceData\" json:\"serviceData\"`) 服务数据 JSON 存放各平台所需的接入参数",
"type": "string"
},
"sort": {
"description": "@go_tags(`gorm:\"sort;index\" json:\"sort\"`) 排序权重 值越小越靠前",
"type": "integer"
},
"source": {
"description": "@go_tags(`gorm:\"source;index\" json:\"source\"`) Agent来源 0:内置 1:PolyChat 2:阿里云 3:火山",
"allOf": [
{
"$ref": "#/definitions/pb.AgentSource"
}
]
},
"systemPrompt": {
"description": "@go_tags(`gorm:\"systemPrompt\" json:\"systemPrompt\"`) 提示词",
"type": "string"
},
"tag": {
"description": "@go_tags(`gorm:\"tag\" json:\"tag\"`) 类型 多个用逗号分隔",
"type": "string"
},
"voice": {
"description": "@go_tags(`gorm:\"voice\" json:\"voice\"`) 音色配置 多个用逗号分隔 平台音色id",
"type": "string"
},
"voiceWelcomeMessage": {
"description": "@go_tags(`gorm:\"voiceWelcomeMessage\" json:\"voiceWelcomeMessage\"`) 声音欢迎消息",
"type": "string"
},
"voices": {
"description": "@go_tags(`gorm:\"voices\" json:\"voices\"`) 音色配置 多个用逗号分隔 平台音色id",
"type": "string"
},
"welcomeMessage": {
"description": "@go_tags(`gorm:\"welcomeMessage\" json:\"welcomeMessage\"`) 文字欢迎消息",
"type": "string"
}
}
},
"pb.DBAppStat": {
"type": "object",
"properties": {
"active_device_count": {
"description": "@go_tags(`gorm:\"active_device_count\" json:\"active_device_count\"`) 活跃设备数(当期有使用)",
"type": "integer"
},
"active_user_count": {
"description": "@go_tags(`gorm:\"active_user_count\" json:\"active_user_count\"`) 活跃用户数(当期有登录行为)",
"type": "integer"
},
"add_ai_integral": {
"description": "@go_tags(`gorm:\"add_ai_integral\" json:\"add_ai_integral\"`) 发放AI积分",
"type": "integer"
},
"add_meet_second": {
"description": "@go_tags(`gorm:\"add_meet_second\" json:\"add_meet_second\"`) 发放会议时长(秒)",
"type": "integer"
},
"add_trade_second": {
"description": "@go_tags(`gorm:\"add_trade_second\" json:\"add_trade_second\"`) 发放翻译时长(秒)",
"type": "integer"
},
"add_vip_days": {
"description": "发放资源统计",
"type": "integer"
},
"ai_chat_count": {
"description": "AI聊天消耗统计",
"type": "integer"
},
"ai_down_token": {
"description": "@go_tags(`gorm:\"ai_down_token\" json:\"ai_down_token\"`) AI下行token",
"type": "integer"
},
"ai_up_token": {
"description": "@go_tags(`gorm:\"ai_up_token\" json:\"ai_up_token\"`) AI上行token",
"type": "integer"
},
"bind_device_count": {
"description": "设备统计",
"type": "integer"
},
"failed_order_count": {
"description": "@go_tags(`gorm:\"failed_order_count\" json:\"failed_order_count\"`) 失败订单数",
"type": "integer"
},
"id": {
"description": "@go_tags(`gorm:\"id;primaryKey;autoIncrement\" json:\"id\"`) 主键",
"type": "integer"
},
"login_count": {
"description": "@go_tags(`gorm:\"login_count\" json:\"login_count\"`) 登录次数",
"type": "integer"
},
"meet_count": {
"description": "会议消耗统计",
"type": "integer"
},
"meet_time": {
"description": "@go_tags(`gorm:\"meet_time\" json:\"meet_time\"`) 会议时长消耗(秒)",
"type": "integer"
},
"new_user_count": {
"description": "用户统计",
"type": "integer"
},
"order_count": {
"description": "@go_tags(`gorm:\"order_count\" json:\"order_count\"`) 创建订单数",
"type": "integer"
},
"pay_amount": {
"description": "支付统计",
"type": "integer"
},
"pay_count": {
"description": "@go_tags(`gorm:\"pay_count\" json:\"pay_count\"`) 有效订单数(已支付)",
"type": "integer"
},
"pay_user_count": {
"description": "@go_tags(`gorm:\"pay_user_count\" json:\"pay_user_count\"`) 付费用户数",
"type": "integer"
},
"stat_date": {
"description": "@go_tags(`gorm:\"type:varchar(20);uniqueIndex\" json:\"stat_date\"`) 统计日期 日:2006-01-02 月:2006-01 年:2006",
"type": "string"
},
"total_user_count": {
"description": "@go_tags(`gorm:\"total_user_count\" json:\"total_user_count\"`) 累计用户总数(快照)",
"type": "integer"
},
"trade_count": {
"description": "翻译消耗统计",
"type": "integer"
},
"trade_time": {
"description": "@go_tags(`gorm:\"trade_time\" json:\"trade_time\"`) 翻译时长消耗(秒)",
"type": "integer"
},
"trade_words": {
"description": "@go_tags(`gorm:\"trade_words\" json:\"trade_words\"`) 翻译字数",
"type": "integer"
},
"update_time": {
"description": "@go_tags(`gorm:\"update_time\" json:\"update_time\"`) 更新时间",
"type": "integer"
},
"vip_user_count": {
"description": "@go_tags(`gorm:\"vip_user_count\" json:\"vip_user_count\"`) 当期新增VIP用户数",
"type": "integer"
}
}
},
"pb.DBChannelApp": {
"type": "object",
"properties": {
"address": {
"description": "@go_tags(`gorm:\"address\" json:\"address\"`) 下载地址",
"type": "string"
},
"allowskipdevicebinding": {
"description": "@go_tags(`gorm:\"allowskipdevicebinding\" json:\"allowskipdevicebinding\"`) 是否允许跳过设备绑定",
"type": "boolean"
},
"changelog": {
"description": "@go_tags(`gorm:\"changelog\" json:\"changelog\"`) 更新日志",
"type": "string"
},
"channel": {
"description": "@go_tags(`gorm:\"channel;primaryKey\" json:\"channel\"`) 渠道",
"type": "integer"
},
"description": {
"description": "@go_tags(`gorm:\"description\" json:\"description\"`) 描述",
"type": "string"
},
"forceupdate": {
"description": "@go_tags(`gorm:\"forceupdate\" json:\"forceupdate\"`) 强制更新开关(配合 minversion)",
"type": "boolean"
},
"minversion": {
"description": "@go_tags(`gorm:\"minversion\" json:\"minversion\"`) 最低支持版本,低于它需更新",
"type": "string"
},
"paychannels": {
"description": "@go_tags(`gorm:\"paychannels\" json:\"paychannels\"`) 支付渠道 wxpay,alipay,paypal,google,apple",
"type": "string"
},
"reviewversion": {
"description": "@go_tags(`gorm:\"reviewversion\" json:\"reviewversion\"`) 审核中的版本号,客户端报此版本时可隐藏未过审功能",
"type": "string"
},
"status": {
"description": "@go_tags(`gorm:\"status\" json:\"status\"`) 上架状态 0草稿 1已上架 2审核中 3已下架",
"type": "integer"
},
"tourists": {
"description": "@go_tags(`gorm:\"tourists\" json:\"tourists\"`) 是否开启游客登录",
"type": "boolean"
},
"version": {
"description": "@go_tags(`gorm:\"version\" json:\"version\"`) 当前线上版本",
"type": "string"
}
}
},
"pb.DBChatSummary": {
"type": "object",
"properties": {
"chat_content": {
"description": "@go_tags(`gorm:\"type:longtext\" json:\"chat_content\"`) 拼接后的聊天内容(服务端由 ChatMsg 列表拼接)",
"type": "string"
},
"chat_msgs": {
"description": "@go_tags(`gorm:\"type:longtext\" json:\"chat_msgs\"`) 原始 ChatMsg JSON(便于回查)",
"type": "string"
},
"create_time": {
"description": "@go_tags(`gorm:\"index\" json:\"create_time\"`)",
"type": "integer"
},
"error_msg": {
"description": "@go_tags(`gorm:\"size:500\" json:\"error_msg\"`) 失败原因",
"type": "string"
},
"finish_time": {
"description": "@go_tags(`gorm:\"index\" json:\"finish_time\"`)",
"type": "integer"
},
"id": {
"description": "@go_tags(`gorm:\"primaryKey;autoIncrement\" json:\"id\"`)",
"type": "integer"
},
"state": {
"description": "@go_tags(`gorm:\"default:0;index\" json:\"state\"`) 状态",
"allOf": [
{
"$ref": "#/definitions/pb.ChatSummaryState"
}
]
},
"summary": {
"description": "@go_tags(`gorm:\"type:longtext\" json:\"summary\"`) AI 生成的总结",
"type": "string"
},
"summary_date": {
"description": "@go_tags(`gorm:\"size:10;uniqueIndex:idx_chatsum_uid_date,priority:2;index\" json:\"summary_date\"`) 总结日期 YYYY-MM-DD",
"type": "string"
},
"uid": {
"description": "@go_tags(`gorm:\"size:50;uniqueIndex:idx_chatsum_uid_date,priority:1\" json:\"uid\"`) 用户ID",
"type": "string"
},
"update_time": {
"description": "@go_tags(`json:\"update_time\"`)",
"type": "integer"
}
}
},
"pb.DBEchoMeetRecord": {
"type": "object",
"properties": {
"address": {
"description": "@go_tags(`gorm:\"address\" json:\"address\"`) 地址",
"type": "string"
},
"asr_svc_id": {
"description": "@go_tags(`gorm:\"asr_svc_id\" json:\"asr_svc_id\"`) 识别服务id(后台编排选路结果)",
"type": "string"
},
"audiourl": {
"description": "@go_tags(`gorm:\"audiourl\" json:\"audiourl\"`) 音频url",
"type": "string"
},
"creationtime": {
"description": "@go_tags(`gorm:\"creationtime;index\" json:\"creationtime\"`) 時間",
"type": "integer"
},
"filepath": {
"description": "@go_tags(`gorm:\"filepath\" json:\"filepath\"`) 本地音频文件路径",
"type": "string"
},
"formlanguage": {
"description": "@go_tags(`gorm:\"formlanguage\" json:\"formlanguage\"`) 语言",
"type": "string"
},
"id": {
"description": "@go_tags(`gorm:\"id:50;primaryKey;autoIncrement json:\"id\"`) 索引id",
"type": "integer"
},
"imageurls": {
"description": "@go_tags(`gorm:\"imageurls\" json:\"imageurls\"`) 注释图片url列表(JSON数组字符串,编码方式同original),作为多模态内容参与AI总结",
"type": "string"
},
"isdistinguishspeaker": {
"description": "@go_tags(`gorm:\"isdistinguishspeaker\" json:\"isdistinguishspeaker\"`) 是否区分说话人",
"type": "boolean"
},
"lastquerytime": {
"description": "@go_tags(`gorm:\"lastquerytime\" json:\"lastquerytime\"`) 上一次主动查询第三方服务的 unix 秒,用于限制查询频率",
"type": "integer"
},
"llm_svc_id": {
"description": "@go_tags(`gorm:\"llm_svc_id\" json:\"llm_svc_id\"`) 总结大模型服务id(默认或客户端指定)",
"type": "string"
},
"logid": {
"description": "@go_tags(`gorm:\"logid\" json:\"logid\"`) 日志id",
"type": "string"
},
"mt_svc_id": {
"description": "@go_tags(`gorm:\"mt_svc_id\" json:\"mt_svc_id\"`) 翻译服务id(后台编排选路结果)",
"type": "string"
},
"original": {
"description": "@go_tags(`gorm:\"original\" json:\"original\"`) 听写内容",
"type": "string"
},
"overview": {
"description": "@go_tags(`gorm:\"overview\" json:\"overview\"`) 短总结",
"type": "string"
},
"personnel": {
"description": "@go_tags(`gorm:\"personnel\" json:\"personnel\"`) 成员",
"type": "string"
},
"processduration": {
"description": "@go_tags(`gorm:\"processduration\" json:\"processduration\"`) 处理耗时 秒",
"type": "integer"
},
"remark": {
"description": "@go_tags(`gorm:\"remark\" json:\"remark\"`) 用户备注(创建记录时填写,参与AI总结)",
"type": "string"
},
"rtype": {
"description": "@go_tags(`gorm:\"rtype;index\" json:\"rtype\"`) 类型",
"type": "string"
},
"seconds": {
"description": "@go_tags(`gorm:\"seconds\" json:\"seconds\"`) 时长",
"type": "integer"
},
"size": {
"description": "@go_tags(`gorm:\"column:size;type:bigint\" json:\"size\"`) 文件大小",
"type": "integer"
},
"starttime": {
"description": "@go_tags(`gorm:\"starttime\" json:\"starttime\"`) 处理开始时间 unix 秒",
"type": "integer"
},
"state": {
"description": "@go_tags(`gorm:\"state;index\" json:\"state\"`) 状态",
"allOf": [
{
"$ref": "#/definitions/pb.DBEchoMeetRecordState"
}
]
},
"summary": {
"description": "@go_tags(`gorm:\"summary\" json:\"summary\"`) 总结",
"type": "string"
},
"taskid": {
"description": "@go_tags(`gorm:\"taskid\" json:\"taskid\"`) 任务id",
"type": "string"
},
"tasktype": {
"description": "@go_tags(`gorm:\"tasktype\" json:\"tasktype\"`) 任务类型",
"type": "integer"
},
"templateid": {
"description": "@go_tags(`gorm:\"templateid\" json:\"templateid\"`) 模板id",
"type": "integer"
},
"title": {
"description": "@go_tags(`gorm:\"title\" json:\"title\"`) 标题",
"type": "string"
},
"tolanguage": {
"description": "@go_tags(`gorm:\"tolanguage\" json:\"tolanguage\"`) 目标语言",
"type": "string"
},
"translate": {
"description": "@go_tags(`gorm:\"translate\" json:\"translate\"`) 翻译",
"type": "string"
},
"uid": {
"description": "@go_tags(`gorm:\"uid;index\" json:\"uid\"`) 用户ID",
"type": "string"
}
}
},
"pb.DBEchoMeetRecordState": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4,
5,
6,
10002,
10001
],
"x-enum-comments": {
"DBEchoMeetRecordState_AwaitSummarizing": "@go_tags(`gorm:\"DBEchoMeetRecordState_AwaitingSummarizing\"`) 等待总结中",
"DBEchoMeetRecordState_AwaitTranscribing": "@go_tags(`gorm:\"DBEchoMeetRecordState_AwaitingTranscribing\"`) 等待转写中",
"DBEchoMeetRecordState_Completed": "@go_tags(`gorm:\"DBEchoMeetRecordState_Completed\"`) 已完成",
"DBEchoMeetRecordState_Readed": "@go_tags(`gorm:\"DBEchoMeetRecordState_Readed\"`) 已阅",
"DBEchoMeetRecordState_SummarizFail": "@go_tags(`gorm:\"DBEchoMeetRecordState_SummarizFail\"`) 总结失败",
"DBEchoMeetRecordState_Summarizing": "@go_tags(`gorm:\"DBEchoMeetRecordState_Summarizing\"`) 总结中",
"DBEchoMeetRecordState_TranscribeFail": "@go_tags(`gorm:\"DBEchoMeetRecordState_TranscribeFail\"`) 转写失败",
"DBEchoMeetRecordState_Transcribing": "@go_tags(`gorm:\"DBEchoMeetRecordState_Transcribing\"`) 听写中",
"DBEchoMeetRecordState_Unknow": "@go_tags(`gorm:\"DBEchoMeetRecordState_Unknow\"`) 未知状态"
},
"x-enum-varnames": [
"DBEchoMeetRecordState_Unknow",
"DBEchoMeetRecordState_AwaitTranscribing",
"DBEchoMeetRecordState_Transcribing",
"DBEchoMeetRecordState_AwaitSummarizing",
"DBEchoMeetRecordState_Summarizing",
"DBEchoMeetRecordState_Completed",
"DBEchoMeetRecordState_Readed",
"DBEchoMeetRecordState_TranscribeFail",
"DBEchoMeetRecordState_SummarizFail"
]
},
"pb.DBEchoMeetTemplate": {
"type": "object",
"properties": {
"description": {
"description": "@go_tags(`gorm:\"description\"`) 描述",
"type": "string"
},
"icon": {
"description": "@go_tags(`gorm:\"icon\"`) 图标",
"type": "string"
},
"id": {
"description": "@go_tags(`gorm:\"id;primaryKey;autoIncrement json:\"id\"`) id",
"type": "integer"
},
"language": {
"description": "@go_tags(`gorm:\"language;index\"`) 语言",
"type": "string"
},
"outline": {
"description": "@go_tags(`gorm:\"outline\"`) 大纲",
"type": "string"
},
"sort": {
"description": "@go_tags(`gorm:\"sort;index\"`) 显示优先级,数值越大越靠前",
"type": "integer"
},
"source": {
"description": "@go_tags(`gorm:\"source;index\"`) 来源",
"type": "string"
},
"tags": {
"description": "@go_tags(`gorm:\"tags\"`) 标签",
"type": "string"
},
"template": {
"description": "@go_tags(`gorm:\"template\"`) 模板",
"type": "string"
},
"tid": {
"description": "@go_tags(`gorm:\"tid;index\"`) 模板id",
"type": "string"
},
"title": {
"description": "@go_tags(`gorm:\"title\"`) 标题",
"type": "string"
},
"ttype": {
"description": "@go_tags(`gorm:\"ttype;index\"`) 类型",
"type": "string"
}
}
},
"pb.DBGoods": {
"type": "object",
"properties": {
"ainum": {
"description": "@go_tags(`gorm:\"ainum\" json:\"ainum\"`) AI资源点",
"type": "integer"
},
"enable": {
"description": "@go_tags(`gorm:\"enable\" json:\"enable\"`) 是否启用",
"type": "boolean"
},
"id": {
"description": "@go_tags(`gorm:\"id;primaryKey\" json:\"id\"`) 产品id",
"type": "string"
},
"localname": {
"description": "@go_tags(`gorm:\"localname\" json:\"localname\"`) 产品本地名称 采用json存储 {\"zh-CN\":{\"name\":\"中文名称\",\"currency\":\"¥\",\"price\":100}}",
"type": "string"
},
"meetnum": {
"description": "@go_tags(`gorm:\"meetnum\" json:\"meetnum\"`) 会议使用量资源点",
"type": "integer"
},
"name": {
"description": "@go_tags(`gorm:\"name\" json:\"name\"`) 产品名称",
"type": "string"
},
"price": {
"description": "@go_tags(`gorm:\"price\" json:\"price\"`) 产品价格",
"type": "integer"
},
"tradenum": {
"description": "@go_tags(`gorm:\"tradenum\" json:\"tradenum\"`) 翻译资源点",
"type": "integer"
},
"usagetype": {
"description": "@go_tags(`gorm:\"usagetype\" json:\"usagetype\"`) 产品类型 0:普通产品 1:会员产品",
"allOf": [
{
"$ref": "#/definitions/pb.UsageType"
}
]
},
"viptime": {
"description": "@go_tags(`gorm:\"viptime\" json:\"viptime\"`) 会员时间",
"type": "integer"
}
}
},
"pb.DBMusic": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"image": {
"type": "string"
},
"name": {
"type": "string"
},
"singer": {
"type": "string"
}
}
},
"pb.DBPayOrder": {
"type": "object",
"properties": {
"amount": {
"description": "@go_tags(`gorm:\"amount\" json:\"amount\"`) 订单金额(分)",
"type": "integer"
},
"client_ip": {
"description": "@go_tags(`gorm:\"client_ip:50\" json:\"client_ip\"`) 客户端IP",
"type": "string"
},
"code_url": {
"description": "@go_tags(`gorm:\"code_url:500\" json:\"code_url\"`) 支付二维码URL",
"type": "string"
},
"create_time": {
"description": "@go_tags(`gorm:\"create_time;index\" json:\"create_time\"`) 创建时间",
"type": "integer"
},
"expire_time": {
"description": "@go_tags(`gorm:\"expire_time\" json:\"expire_time\"`) 过期时间",
"type": "integer"
},
"extra_data": {
"description": "@go_tags(`gorm:\"extra_data:1000\" json:\"extra_data\"`) 扩展数据",
"type": "string"
},
"notify_url": {
"description": "@go_tags(`gorm:\"notify_url:200\" json:\"notify_url\"`) 回调地址",
"type": "string"
},
"order_id": {
"description": "@go_tags(`gorm:\"order_id:50;primaryKey\" json:\"order_id\"`) 订单ID",
"type": "string"
},
"pay_time": {
"description": "@go_tags(`gorm:\"pay_time\" json:\"pay_time\"`) 支付时间",
"type": "integer"
},
"payment_method": {
"description": "@go_tags(`gorm:\"payment_method\" json:\"payment_method\"`) 支付方式",
"allOf": [
{
"$ref": "#/definitions/pb.PaymentMethod"
}
]
},
"prepay_id": {
"description": "@go_tags(`gorm:\"prepay_id:100\" json:\"prepay_id\"`) 预支付ID",
"type": "string"
},
"product_desc": {
"description": "@go_tags(`gorm:\"product_desc:500\" json:\"product_desc\"`) 商品描述",
"type": "string"
},
"product_id": {
"description": "@go_tags(`gorm:\"product_id:50;index\" json:\"product_id\"`) 商品ID",
"type": "string"
},
"product_name": {
"description": "@go_tags(`gorm:\"product_name:100\" json:\"product_name\"`) 商品名称",
"type": "string"
},
"remark": {
"description": "@go_tags(`gorm:\"remark:500\" json:\"remark\"`) 备注",
"type": "string"
},
"src_brandid": {
"description": "@go_tags(`gorm:\"src_brandid;index\" json:\"src_brandid\"`) 来源设备的品牌商id",
"type": "integer"
},
"src_channelid": {
"description": "@go_tags(`gorm:\"src_channelid;size:16;index\" json:\"src_channelid\"`) 来源设备的渠道商id(短码)",
"type": "string"
},
"src_license": {
"description": "---- 来源设备快照(下单时冻结,用于渠道分成月结算)----\n取值优先级:客户端上报的「当前使用设备」→ 用户「最后绑定设备」→ 空。\n下单即固化,用户之后换设备/换绑不影响历史订单的归属。",
"type": "string"
},
"src_mac": {
"description": "@go_tags(`gorm:\"src_mac;size:50\" json:\"src_mac\"`) 来源设备MAC",
"type": "string"
},
"src_productid": {
"description": "@go_tags(`gorm:\"src_productid;index\" json:\"src_productid\"`) 来源设备的产品id",
"type": "integer"
},
"status": {
"description": "@go_tags(`gorm:\"status;index\" json:\"status\"`) 订单状态",
"allOf": [
{
"$ref": "#/definitions/pb.PayOrderStatus"
}
]
},
"transaction_id": {
"description": "@go_tags(`gorm:\"transaction_id:100;index\" json:\"transaction_id\"`) 第三方交易号",
"type": "string"
},
"uid": {
"description": "@go_tags(`gorm:\"uid:50;index\" json:\"uid\"`) 用户ID",
"type": "string"
}
}
},
"pb.DBProduct": {
"type": "object",
"properties": {
"appnames": {
"description": "产品归属的应用(应用中心 app_product.name,如 Voitrans,Lumi),CSV 可多选、空=未绑定。\n品牌商/渠道商账号的「应用」下拉即由本字段推导:只列出自己品牌名下产品绑定过的应用。",
"type": "string"
},
"bassfilter": {
"description": "@go_tags(`gorm:\"bassfilter\" json:\"bassfilter\"`) 过滤低音音频参数(0-1000)",
"type": "integer"
},
"bindrewardmeeting": {
"description": "@go_tags(`gorm:\"bindrewardmeeting\" json:\"bindrewardmeeting\"`) 绑定奖励会议次数",
"type": "integer"
},
"bindrewardtranslate": {
"description": "@go_tags(`gorm:\"bindrewardtranslate\" json:\"bindrewardtranslate\"`) 绑定奖励翻译次数",
"type": "integer"
},
"bindrewardvpitime": {
"description": "@go_tags(`gorm:\"bindrewardvpitime\" json:\"bindrewardvpitime\"`) 是否奖励vip时间",
"type": "integer"
},
"brandid": {
"description": "@go_tags(`gorm:\"brandid;index\" json:\"brandid\"`) 品牌商id",
"type": "integer"
},
"broadcastpeertranslate": {
"description": "@go_tags(`gorm:\"broadcastpeertranslate\" json:\"broadcastpeertranslate\"`) 是否播报对方翻译内容",
"type": "boolean"
},
"callmodeenable": {
"description": "@go_tags(`gorm:\"callmodeenable\" json:\"callmodeenable\"`) 通话模式是否启用",
"type": "boolean"
},
"channel": {
"description": "@go_tags(`gorm:\"channel\" json:\"channel\"`) 产品渠道方 official/mobile",
"type": "string"
},
"channelextra": {
"description": "@go_tags(`gorm:\"channelextra\" json:\"channelextra\"`) 渠道附加数据(JSON字符串)",
"type": "string"
},
"createtime": {
"description": "@go_tags(`gorm:\"createtime\" json:\"createtime\"`) 创建时间(秒);历史产品为0",
"type": "integer"
},
"description": {
"description": "产品说明:这款产品是什么、有什么特性,给后台运营与客户看的,与版本更新说明(updatedescription)无关。",
"type": "string"
},
"devicecodecount": {
"description": "@go_tags(`gorm:\"devicecodecount\" json:\"devicecodecount\"`) 每副产品生产的设备码数量(0或1=单份,2=双份)",
"type": "integer"
},
"devicename": {
"description": "@go_tags(`gorm:\"devicename\" json:\"devicename\"`) 设备名称",
"type": "string"
},
"devicetype": {
"description": "@go_tags(`gorm:\"devicetype\" json:\"devicetype\"`) 设备类型",
"allOf": [
{
"$ref": "#/definitions/pb.DeviceType"
}
]
},
"eqenable": {
"description": "@go_tags(`gorm:\"eqenable\" json:\"eqenable\"`) EQ是否启用",
"type": "boolean"
},
"factoryid": {
"description": "【老客户端兼容】厂家→品牌商改名前发布的 App 包按「非空 int」解析 factoryid,\n字段一旦缺失,整个 user_getappconfig / user_getproduct 响应解析就抛 TypeError(设备列表、应用配置全废)。\n此字段只出不入:gorm:\"-\" 不建列、不参与读写,由 user 模块读取层统一填成 brandid 的值下发。\n服务端与新端一律以 brandid 为准,勿往这里写值。老包全部淘汰后可删。",
"type": "integer"
},
"finddeviceenable": {
"description": "@go_tags(`gorm:\"finddeviceenable\" json:\"finddeviceenable\"`) 查找设备开关是否启用",
"type": "boolean"
},
"hideaiassistant": {
"description": "@go_tags(`gorm:\"hideaiassistant\" json:\"hideaiassistant\"`) 是否隐藏AI助手功能",
"type": "boolean"
},
"id": {
"description": "@go_tags(`gorm:\"id;primaryKey;autoIncrement\" json:\"id\"`) 设备编码",
"type": "integer"
},
"iscanbindagain": {
"description": "@go_tags(`gorm:\"iscanbindagain\" json:\"iscanbindagain\"`) 是否可以反复下发奖励",
"type": "boolean"
},
"iscontinuouschat": {
"description": "@go_tags(`gorm:\"iscontinuouschat\" json:\"iscontinuouschat\"`) 是否连续对话",
"type": "boolean"
},
"keyenable": {
"description": "@go_tags(`gorm:\"keyenable\" json:\"keyenable\"`) 按键是否启用",
"type": "boolean"
},
"ledenable": {
"description": "@go_tags(`gorm:\"ledenable\" json:\"ledenable\"`) 闪灯开关是否启用",
"type": "boolean"
},
"noisereductionenable": {
"description": "@go_tags(`gorm:\"noisereductionenable\" json:\"noisereductionenable\"`) 降噪开关是否启用",
"type": "boolean"
},
"productimage": {
"description": "@go_tags(`gorm:\"productimage\" json:\"productimage\"`) 产品图片",
"type": "string"
},
"providerid": {
"description": "产品用的是哪套芯片方案(DBSolutionProvider.id)。生产设备码时的服务ID(CID)直接取这里——\n以前从品牌商推导,但同一品牌的不同产品可能用不同方案商的方案,推导会串号,故改为产品级绑定,新建产品必填。",
"type": "integer"
},
"scanuuid": {
"description": "@go_tags(`gorm:\"scanuuid\" json:\"scanuuid\"`) 设备扫描唯一id",
"type": "string"
},
"serialcursor": {
"description": "@go_tags(`gorm:\"serialcursor\" json:\"serialcursor\"`) 产品级授权码序号游标(累加分配)",
"type": "integer"
},
"showcasebattery": {
"description": "@go_tags(`gorm:\"showcasebattery\" json:\"showcasebattery\"`) 是否显示仓盒电量",
"type": "boolean"
},
"shutdownenable": {
"description": "@go_tags(`gorm:\"shutdownenable\" json:\"shutdownenable\"`) 定时关机开关是否启用",
"type": "boolean"
},
"updatedescription": {
"description": "@go_tags(`gorm:\"updatedescription\" json:\"updatedescription\"`) 描述",
"type": "string"
},
"updatepackageaddress": {
"description": "@go_tags(`gorm:\"updatepackageaddress\" json:\"updatepackageaddress\"`) 更新包地址=url",
"type": "string"
},
"version": {
"description": "@go_tags(`gorm:\"version\" json:\"version\"`) 版本",
"type": "string"
},
"versionid": {
"description": "@go_tags(`gorm:\"versionid\" json:\"versionid\"`) 版本id",
"type": "integer"
},
"wakeupenable": {
"description": "@go_tags(`gorm:\"wakeupenable\" json:\"wakeupenable\"`) 唤醒控制开关是否启用",
"type": "boolean"
},
"workmodeenable": {
"description": "@go_tags(`gorm:\"workmodeenable\" json:\"workmodeenable\"`) 工作模式是否启用",
"type": "boolean"
}
}
},
"pb.DBProductVersion": {
"type": "object",
"properties": {
"description": {
"description": "@go_tags(`gorm:\"description\" json:\"description\"`) 描述",
"type": "string"
},
"id": {
"description": "@go_tags(`gorm:\"id;primaryKey;autoIncrement\" json:\"id\"`) 版本id",
"type": "integer"
},
"productid": {
"description": "@go_tags(`gorm:\"productid;index\" json:\"productid\"`) 产品id",
"type": "integer"
},
"updatepackageaddress": {
"description": "@go_tags(`gorm:\"updatepackageaddress\" json:\"updatepackageaddress\"`) 更新包地址",
"type": "string"
},
"version": {
"description": "@go_tags(`gorm:\"version;index\" json:\"version\"`) 版本",
"type": "string"
}
}
},
"pb.DBTask": {
"type": "object",
"properties": {
"create_time": {
"description": "@go_tags(`gorm:\"index\" json:\"create_time\"`) 创建时间",
"type": "integer"
},
"cron_expr": {
"description": "@go_tags(`gorm:\"size:100\" json:\"cron_expr\"`) cron表达式",
"type": "string"
},
"extra": {
"description": "@go_tags(`gorm:\"size:2000\" json:\"extra\"`) 扩展信息JSON",
"type": "string"
},
"finish_time": {
"description": "@go_tags(`gorm:\"index\" json:\"finish_time\"`) 完成时间",
"type": "integer"
},
"id": {
"description": "@go_tags(`gorm:\"primaryKey;autoIncrement\" json:\"id\"`) 主键自增",
"type": "integer"
},
"status": {
"description": "@go_tags(`gorm:\"default:0;index\" json:\"status\"`) 任务状态",
"allOf": [
{
"$ref": "#/definitions/pb.TaskStatus"
}
]
},
"task_desc": {
"description": "@go_tags(`gorm:\"size:500\" json:\"task_desc\"`) 任务描述",
"type": "string"
},
"task_name": {
"description": "@go_tags(`gorm:\"size:100\" json:\"task_name\"`) 任务标题",
"type": "string"
},
"task_type": {
"description": "@go_tags(`gorm:\"default:0\" json:\"task_type\"`) 任务类型(仅记录用户选择)",
"allOf": [
{
"$ref": "#/definitions/pb.TaskType"
}
]
},
"trigger_time": {
"description": "@go_tags(`gorm:\"size:40;index\" json:\"trigger_time\"`) 用户希望的提醒时间(带时区的RFC3339字符串,如 2025-04-08T15:00:00+08:00)",
"type": "string"
},
"uid": {
"description": "@go_tags(`gorm:\"size:50;index\" json:\"uid\"`) 用户ID",
"type": "string"
},
"update_time": {
"description": "@go_tags(`json:\"update_time\"`) 更新时间",
"type": "integer"
}
}
},
"pb.DBUser": {
"type": "object",
"properties": {
"State": {
"description": "@go_tags(`gorm:\"State\" json:\"State\"`) 状态",
"allOf": [
{
"$ref": "#/definitions/pb.UserState"
}
]
},
"account": {
"description": "@go_tags(`gorm:\"account:50;index\" json:\"account\"`) 登录帐号",
"type": "string"
},
"aichatintegral": {
"description": "@go_tags(`gorm:\"aichatintegral\" json:\"aichatintegral\"`) ai聊天积分",
"type": "integer"
},
"aichattotalintegral": {
"description": "@go_tags(`gorm:\"aichattotalintegral\" json:\"aichattotalintegral\"`) ai聊天总积分",
"type": "integer"
},
"appleopenid": {
"description": "@go_tags(`gorm:\"appleopenid:50;index\" json:\"appleopenid\"`)",
"type": "string"
},
"avatar": {
"description": "@go_tags(`gorm:\"avatar\" json:\"avatar\"`) 玩家头像",
"type": "string"
},
"canceltime": {
"description": "@go_tags(`gorm:\"canceltime\" json:\"canceltime\"`) 注销时间(0 未注销)",
"type": "integer"
},
"channel": {
"description": "@go_tags(`gorm:\"channel\" json:\"channel\"`) 用户渠道",
"allOf": [
{
"$ref": "#/definitions/pb.UserChannel"
}
]
},
"continent_code": {
"description": "@go_tags(`gorm:\"continent_code\" json:\"continent_code\"` // 国家",
"type": "string"
},
"country_code": {
"description": "@go_tags(`gorm:\"country_code\" json:\"country_code\"` // 国家编码",
"type": "string"
},
"createtime": {
"description": "@go_tags(`gorm:\"createtime\" json:\"createtime\"`) 注册时间",
"type": "integer"
},
"facebookopenid": {
"description": "@go_tags(`gorm:\"facebookopenid:50;index\" json:\"facebookopenid\"`) FaceBook",
"type": "string"
},
"gender": {
"description": "@go_tags(`gorm:\"gender\" json:\"gender\"` 性别 1-男 2-女",
"type": "integer"
},
"googleopenid": {
"description": "@go_tags(`gorm:\"googleopenid:50;index\" json:\"googleopenid\"`) 谷歌openid",
"type": "string"
},
"isactivatecode": {
"description": "@go_tags(`gorm:\"isactivatecode\" json:\"isactivatecode\"`) 是否已使用过激活码(厂家公码)每账号一生限领一次",
"type": "boolean"
},
"isgiveaway": {
"description": "@go_tags(`gorm:\"isgiveaway\" json:\"isgiveaway\"`) 是否是第一次绑定",
"type": "boolean"
},
"language": {
"description": "@go_tags(`gorm:\"language\" json:\"language\"`) 语言",
"type": "string"
},
"lastbindchannelid": {
"description": "@go_tags(`gorm:\"lastbindchannelid;size:16;index\" json:\"lastbindchannelid\"`) 最后绑定设备的渠道商ID(充值/消耗按此渠道商归属统计与结算)",
"type": "string"
},
"lastbindproductid": {
"description": "@go_tags(`gorm:\"lastbindproductid\" json:\"lastbindproductid\"`) 最后绑定的产品ID(充值/消耗按此产品归属统计)",
"type": "integer"
},
"lastsgintime": {
"description": "@go_tags(`gorm:\"lastsgintime\" json:\"lastsgintime\"`) 最后登录四件",
"type": "integer"
},
"mail": {
"description": "@go_tags(`gorm:\"mail:50;index\" json:\"mail\"`) 邮箱",
"type": "string"
},
"meetintegral": {
"description": "@go_tags(`gorm:\"meetintegral\" json:\"meetintegral\"`) 会议积分",
"type": "integer"
},
"meettotalintegral": {
"description": "@go_tags(`gorm:\"meettotalintegral\" json:\"meettotalintegral\"`) 会议总积分",
"type": "integer"
},
"name": {
"description": "@go_tags(`gorm:\"name:50\" json:\"name\"`) 用户名",
"type": "string"
},
"password": {
"description": "@go_tags(`json:\"password\"`) 密码登录",
"type": "string"
},
"phone": {
"description": "@go_tags(`gorm:\"phone:50;index\" json:\"phone\"`) 手机号",
"type": "string"
},
"phonemac": {
"description": "@go_tags(`gorm:\"phonemac:50;index\" json:\"phonemac\"`) 手机硬件id",
"type": "string"
},
"phonemodel": {
"description": "@go_tags(`json:\"phonemodel\"`) 手机型号",
"type": "string"
},
"servicetag": {
"description": "@go_tags(`gorm:\"servicetag\" json:\"servicetag\"`) 服务所属区",
"type": "string"
},
"tradeintegral": {
"description": "@go_tags(`gorm:\"tradeintegral\" json:\"tradeintegral\"`) 翻译积分",
"type": "integer"
},
"tradetotalintegral": {
"description": "@go_tags(`gorm:\"tradetotalintegral\" json:\"tradetotalintegral\"`) 翻译总积分",
"type": "integer"
},
"uid": {
"description": "@go_tags(`gorm:\"uid:50;primaryKey\" json:\"uid\"`) 用户ID",
"type": "string"
},
"version": {
"description": "@go_tags(`gorm:\"version\" json:\"version\"`) 版本",
"type": "string"
},
"vipexptime": {
"description": "@go_tags(`gorm:\"vipexptime\" json:\"vipexptime\"`) 会员过期时间",
"type": "integer"
},
"viplv": {
"description": "@go_tags(`gorm:\"viplv:50\" json:\"viplv\"`) viplv",
"type": "integer"
},
"wxopenid": {
"description": "@go_tags(`gorm:\"wxopenid:50;index\" json:\"wxopenid\"`) 微信openid",
"type": "string"
}
}
},
"pb.DBUserDivice": {
"type": "object",
"properties": {
"channelid": {
"description": "@go_tags(`gorm:\"channelid;size:16;index\" json:\"channelid\"`) 渠道商ID(绑定时从授权码带入,空=未分配渠道)",
"type": "string"
},
"cmei": {
"description": "@go_tags(`gorm:\"cmei:50;index\" json:\"cmei\"`) cmei码",
"type": "string"
},
"devicemac": {
"description": "@go_tags(`gorm:\"devicemac:50;index\" json:\"devicemac\"`) 设备地址",
"type": "string"
},
"devicename": {
"description": "@go_tags(`gorm:\"devicename:50\" json:\"devicename\"`) 设备名称",
"type": "string"
},
"devicetype": {
"description": "@go_tags(`gorm:\"devicetype:50;index\" json:\"devicetype\"`) 设备类型",
"allOf": [
{
"$ref": "#/definitions/pb.DeviceType"
}
]
},
"id": {
"description": "@go_tags(`gorm:\"id:50;primaryKey;autoIncrement json:\"id\"`) id",
"type": "integer"
},
"license": {
"description": "@go_tags(`gorm:\"license:50;index\" json:\"license\"`) 认证码",
"type": "string"
},
"lxsetting": {
"description": "@go_tags(`gorm:\"lxsetting:256\" json:\"lxsetting\"`) 蓝训设置",
"type": "string"
},
"productid": {
"description": "@go_tags(`gorm:\"productid:50;index\" json:\"productid\"`) 产品ID",
"type": "integer"
},
"uid": {
"description": "@go_tags(`gorm:\"uid:50;index\" json:\"uid\"`) 用户ID",
"type": "string"
},
"version": {
"description": "@go_tags(`gorm:\"version:50\" json:\"version\"`) 版本",
"type": "string"
}
}
},
"pb.DBUserStatistics": {
"type": "object",
"properties": {
"aichatdowntoken": {
"description": "@go_tags(`gorm:\"aichatdowntoken\" json:\"aichatdowntoken\"`) AI聊天下行token",
"type": "integer"
},
"aichatnum": {
"description": "@go_tags(`gorm:\"aichatnum\" json:\"aichatnum\"`) AI聊天次数",
"type": "integer"
},
"aichatuptoken": {
"description": "@go_tags(`gorm:\"aichatuptoken\" json:\"aichatuptoken\"`) AI聊天上报token",
"type": "integer"
},
"meetnum": {
"description": "@go_tags(`gorm:\"meetnum\" json:\"meetnum\"`) 会议使用量资源点",
"type": "integer"
},
"meettime": {
"description": "@go_tags(`gorm:\"meettime\" json:\"meettime\"`) 会议使用时常",
"type": "integer"
},
"trademodel1num": {
"description": "@go_tags(`gorm:\"trademodel1num\" json:\"trademodel1num\"`) 翻译模式1次数",
"type": "integer"
},
"trademodel1time": {
"description": "@go_tags(`gorm:\"trademodel1time\" json:\"trademodel1time\"`) 翻译模式1时常",
"type": "integer"
},
"trademodel2num": {
"description": "@go_tags(`gorm:\"trademodel2num\" json:\"trademodel2num\"`) 翻译模式2次数",
"type": "integer"
},
"trademodel2time": {
"description": "@go_tags(`gorm:\"trademodel2time\" json:\"trademodel2time\"`) 翻译模式2时常",
"type": "integer"
},
"trademodel3num": {
"description": "@go_tags(`gorm:\"trademodel3num\" json:\"trademodel3num\"`) 翻译模式3次数",
"type": "integer"
},
"trademodel3time": {
"description": "@go_tags(`gorm:\"trademodel3time\" json:\"trademodel3time\"`) 翻译模式3时常",
"type": "integer"
},
"trademodel4num": {
"description": "@go_tags(`gorm:\"trademodel4num\" json:\"trademodel4num\"`) 翻译模式4次数",
"type": "integer"
},
"trademodel4time": {
"description": "@go_tags(`gorm:\"trademodel4time\" json:\"trademodel4time\"`) 翻译模式4时常",
"type": "integer"
},
"trademodel5num": {
"description": "@go_tags(`gorm:\"trademodel5num\" json:\"trademodel5num\"`) 翻译模式5次数",
"type": "integer"
},
"tradewordcount": {
"description": "@go_tags(`gorm:\"tradewordcount\" json:\"tradewordcount\"`) 翻译文本长度",
"type": "integer"
},
"uid": {
"description": "@go_tags(`gorm:\"uid:50;primaryKey\" json:\"uid\"`) 用户ID",
"type": "string"
}
}
},
"pb.DBUserUseLog": {
"type": "object",
"properties": {
"addagentintegral": {
"description": "@go_tags(`gorm:\"addagentintegral\" json:\"addagentintegral\"`) 智能体资源点",
"type": "integer"
},
"addmeetsecond": {
"description": "@go_tags(`gorm:\"addmeetsecond\" json:\"addmeetsecond\"`) 会议使用时常",
"type": "integer"
},
"addtradesecond": {
"description": "@go_tags(`gorm:\"addtradesecond\" json:\"addtradesecond\"`) 翻译资源点使用时常",
"type": "integer"
},
"addvipday": {
"description": "@go_tags(`gorm:\"viptime\" json:\"addvipday\"`) 会员时间",
"type": "integer"
},
"extra": {
"description": "@go_tags(`gorm:\"extra\" json:\"extra\"`) 附加数据",
"type": "string"
},
"id": {
"description": "@go_tags(`gorm:\"id;primaryKey;autoIncrement\" json:\"id\"`) 积分日志id",
"type": "integer"
},
"logtype": {
"description": "@go_tags(`gorm:\"logtype;index\" json:\"logtype\"`) 日志类型",
"allOf": [
{
"$ref": "#/definitions/pb.UserLogType"
}
]
},
"ts": {
"description": "@go_tags(`gorm:\"ts;index\" json:\"ts\"`) 记录时间",
"type": "integer"
},
"uid": {
"description": "@go_tags(`gorm:\"uid:50;index\" json:\"uid\"`) 用户ID",
"type": "string"
}
}
},
"pb.DBVoitransAgent": {
"type": "object",
"properties": {
"agent_id": {
"description": "@go_tags(`json:\"agent_id\"`) 智能体id",
"type": "string"
},
"avatar_url": {
"description": "@go_tags(`json:\"avatar_url\"`) 智能体头像url",
"type": "string"
},
"description": {
"description": "@go_tags(`json:\"description\"`) 智能体描述",
"type": "string"
},
"name": {
"description": "@go_tags(`json:\"name\"`) 智能体名称",
"type": "string"
},
"supported_languages": {
"description": "@go_tags(`json:\"supported_languages\"`) 支持的语言列表",
"type": "array",
"items": {
"type": "string"
}
},
"type": {
"description": "@go_tags(`json:\"type\"`) 智能体类型",
"type": "string"
},
"variables": {
"description": "@go_tags(`json:\"variables\"`) 智能体变量列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.AgentVariable"
}
}
}
},
"pb.DBWakeupVoice": {
"type": "object",
"properties": {
"desc": {
"description": "@go_tags(`gorm:\"desc\" json:\"desc\"`) 唤醒语音描述",
"type": "string"
},
"enable": {
"description": "@go_tags(`gorm:\"enable\" json:\"enable\"`) 是否启用",
"type": "boolean"
},
"id": {
"description": "@go_tags(`gorm:\"id;primaryKey;autoIncrement\" json:\"id\"`) 唤醒语音id",
"type": "integer"
},
"name": {
"description": "@go_tags(`gorm:\"name\" json:\"name\"`) 唤醒语音名称",
"type": "string"
},
"packagaddress": {
"description": "@go_tags(`gorm:\"packagaddress\" json:\"packagaddress\"`) 唤醒语音地址",
"type": "string"
},
"version": {
"description": "@go_tags(`gorm:\"version;index\" json:\"version\"`) 版本",
"type": "string"
}
}
},
"pb.DeviceType": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4,
5,
6
],
"x-enum-comments": {
"DeviceType_ActivationCard": "激活码卡片",
"DeviceType_BLE_Bluetooth_Double_Headset": "Ble蓝牙耳机 双端",
"DeviceType_BLE_Bluetooth_Single_Headset": "Ble蓝牙耳机 单端",
"DeviceType_Classic_bluetooth_Headset": "经典蓝牙耳机",
"DeviceType_DeviceTypeUnknown": "未知设备",
"DeviceType_Smart_Voice_Recorder": "智能录音笔"
},
"x-enum-varnames": [
"DeviceType_DeviceTypeUnknown",
"DeviceType_Classic_bluetooth_Headset",
"DeviceType_BLE_Bluetooth_Double_Headset",
"DeviceType_BLE_Bluetooth_Single_Headset",
"DeviceType_Smart_Voice_Recorder",
"DeviceType_SmartEye",
"DeviceType_ActivationCard"
]
},
"pb.EchomeetAddRecordReq": {
"type": "object",
"properties": {
"filepath": {
"description": "@go_tags(`json:\"filepath\"`) //音频文件路径",
"type": "string"
},
"imageurls": {
"description": "@go_tags(`json:\"imageurls\"`) //注释图片url列表(作为多模态内容参与AI总结)",
"type": "array",
"items": {
"type": "string"
}
},
"original": {
"description": "@go_tags(`gorm:\"original\" json:\"original\"`) 听写内容",
"type": "array",
"items": {
"$ref": "#/definitions/pb.ContextStruct"
}
},
"remark": {
"description": "@go_tags(`json:\"remark\"`) //用户备注(参与AI总结)",
"type": "string"
},
"rtype": {
"description": "@go_tags(`json:\"rtype\"`) //类型",
"type": "string"
},
"seconds": {
"description": "@go_tags(`json:\"seconds\"`) //时长",
"type": "integer"
},
"size": {
"description": "@go_tags(`json:\"size\"`) //文件大小",
"type": "integer"
},
"title": {
"description": "@go_tags(`json:\"title\"`) //标题",
"type": "string"
}
}
},
"pb.EchomeetAddRecordResp": {
"type": "object",
"properties": {
"record": {
"description": "@go_tags(`json:\"record\"`) //会议记录",
"allOf": [
{
"$ref": "#/definitions/pb.DBEchoMeetRecord"
}
]
}
}
},
"pb.EchomeetAddTemplateReq": {
"type": "object",
"properties": {
"template": {
"description": "@go_tags(`json:\"template\"`) //会议记录模板",
"allOf": [
{
"$ref": "#/definitions/pb.DBEchoMeetTemplate"
}
]
}
}
},
"pb.EchomeetAddTemplateResp": {
"type": "object",
"properties": {
"template": {
"description": "@go_tags(`json:\"template\"`) //会议记录模板",
"allOf": [
{
"$ref": "#/definitions/pb.DBEchoMeetTemplate"
}
]
}
}
},
"pb.EchomeetAliCallbackReq": {
"type": "object",
"properties": {
"RequestId": {
"description": "请求ID",
"type": "string"
},
"Result": {
"description": "转写结果",
"allOf": [
{
"$ref": "#/definitions/pb.EchomeetAliCallbackResult"
}
]
},
"StatusCode": {
"description": "状态码 21050000=运行中 21050001=成功 21050002=失败",
"type": "integer"
},
"StatusText": {
"description": "状态描述",
"type": "string"
},
"TaskId": {
"description": "任务ID",
"type": "string"
}
}
},
"pb.EchomeetAliCallbackResp": {
"type": "object"
},
"pb.EchomeetAliCallbackResult": {
"type": "object",
"properties": {
"Sentences": {
"description": "句子列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.EchomeetAliSentence"
}
}
}
},
"pb.EchomeetAliSentence": {
"type": "object",
"properties": {
"BeginTime": {
"description": "开始时间(ms)",
"type": "integer"
},
"ChannelId": {
"description": "通道ID",
"type": "integer"
},
"EndTime": {
"description": "结束时间(ms)",
"type": "integer"
},
"SpeakerId": {
"description": "说话人ID",
"type": "string"
},
"Text": {
"description": "转写文本",
"type": "string"
}
}
},
"pb.EchomeetCallbackReq": {
"type": "object",
"properties": {
"audio_info": {
"description": "音频信息",
"allOf": [
{
"$ref": "#/definitions/pb.AudioInfo"
}
]
},
"callback_data": {
"description": "自定义回调数据(你日志中的liwei1dap)",
"type": "string"
},
"code": {
"description": "状态码(20000000=成功)",
"type": "integer"
},
"id": {
"description": "任务ID",
"type": "string"
},
"message": {
"description": "状态描述(Success/失败原因)",
"type": "string"
},
"result": {
"description": "识别结果",
"allOf": [
{
"$ref": "#/definitions/pb.RecognitionResult"
}
]
}
}
},
"pb.EchomeetDelRecordsReq": {
"type": "object",
"properties": {
"ids": {
"description": "@go_tags(`json:\"ids\"`) //会议记录id列表",
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"pb.EchomeetDelRecordsResp": {
"type": "object",
"properties": {
"ids": {
"description": "@go_tags(`json:\"ids\"`) //删除的会议记录id列表",
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"pb.EchomeetDeleteTemplateReq": {
"type": "object",
"properties": {
"ids": {
"description": "@go_tags(`json:\"ids\"`) //会议记录模板id列表",
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"pb.EchomeetDeleteTemplateResp": {
"type": "object",
"properties": {
"ids": {
"description": "@go_tags(`json:\"ids\"`) //删除的会议记录模板id列表",
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"pb.EchomeetGetAllRecordsReq": {
"type": "object"
},
"pb.EchomeetGetAllRecordsResp": {
"type": "object",
"properties": {
"records": {
"description": "@go_tags(`json:\"records\"`) //会议记录列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBEchoMeetRecord"
}
}
}
},
"pb.EchomeetGetCapabilitiesReq": {
"type": "object"
},
"pb.EchomeetGetCapabilitiesResp": {
"type": "object",
"properties": {
"client_choice": {
"description": "@go_tags(`json:\"client_choice\"`) //后台是否允许客户端指定总结模型;false 时 summary_services 仅含默认项、传 summary_svc_id 会被忽略",
"type": "boolean"
},
"summary_services": {
"description": "@go_tags(`json:\"summary_services\"`) //可选总结大模型列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.EchomeetSummaryServiceItem"
}
},
"transcribe_any_language": {
"description": "@go_tags(`json:\"transcribe_any_language\"`) //true=存在未限定语言的识别服务,实际不受上面的列表约束",
"type": "boolean"
},
"transcribe_languages": {
"description": "@go_tags(`json:\"transcribe_languages\"`) //录音识别支持的语言(BCP-47):后台在用的识别服务 languages 并集,按优先级顺序去重",
"type": "array",
"items": {
"type": "string"
}
},
"translate_any_language": {
"description": "@go_tags(`json:\"translate_any_language\"`) //true=存在未限定语言的翻译服务",
"type": "boolean"
},
"translate_languages": {
"description": "@go_tags(`json:\"translate_languages\"`) //翻译支持的目标语言(BCP-47),口径同上",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"pb.EchomeetGetRecordReq": {
"type": "object",
"properties": {
"id": {
"description": "@go_tags(`json:\"id\"`) //会议记录id",
"type": "integer"
}
}
},
"pb.EchomeetGetRecordResp": {
"type": "object",
"properties": {
"record": {
"description": "@go_tags(`json:\"record\"`) //会议记录",
"allOf": [
{
"$ref": "#/definitions/pb.DBEchoMeetRecord"
}
]
}
}
},
"pb.EchomeetGetRecordsReq": {
"type": "object",
"properties": {
"ids": {
"description": "@go_tags(`json:\"ids\"`) //会议记录id",
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"pb.EchomeetGetRecordsResp": {
"type": "object",
"properties": {
"records": {
"description": "@go_tags(`json:\"records\"`) //会议记录列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBEchoMeetRecord"
}
}
}
},
"pb.EchomeetGetSummaryServicesReq": {
"type": "object"
},
"pb.EchomeetGetSummaryServicesResp": {
"type": "object",
"properties": {
"client_choice": {
"description": "@go_tags(`json:\"client_choice\"`) //后台是否允许客户端指定总结模型;false 时 services 仅含默认项、传 summary_svc_id 会被忽略",
"type": "boolean"
},
"services": {
"description": "@go_tags(`json:\"services\"`) //可选服务列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.EchomeetSummaryServiceItem"
}
}
}
},
"pb.EchomeetGetTemplatesReq": {
"type": "object",
"properties": {
"language": {
"description": "@go_tags(`json:\"language\"`) 语言",
"type": "string"
}
}
},
"pb.EchomeetGetTemplatesResp": {
"type": "object",
"properties": {
"templates": {
"description": "@go_tags(`json:\"templates\"`) //会议记录模板列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBEchoMeetTemplate"
}
}
}
},
"pb.EchomeetModifyRecordsReq": {
"type": "object",
"properties": {
"address": {
"description": "@go_tags(`json:\"address\"`) //地址",
"type": "string"
},
"id": {
"description": "@go_tags(`json:\"id\"`) //会议记录id",
"type": "integer"
},
"personnel": {
"description": "@go_tags(`json:\"personnel\"`) //人员",
"type": "string"
},
"summary": {
"description": "@go_tags(`json:\"summary\"`) //总结",
"type": "string"
},
"title": {
"description": "@go_tags(`json:\"title\"`) //标题",
"type": "string"
},
"translate": {
"description": "@go_tags(`json:\"translate\"`) //内容",
"type": "string"
}
}
},
"pb.EchomeetModifyRecordsResp": {
"type": "object",
"properties": {
"record": {
"description": "@go_tags(`json:\"record\"`) //会议记录",
"allOf": [
{
"$ref": "#/definitions/pb.DBEchoMeetRecord"
}
]
}
}
},
"pb.EchomeetReadRecordReq": {
"type": "object",
"properties": {
"id": {
"description": "@go_tags(`json:\"id\"`) //会议记录id",
"type": "integer"
}
}
},
"pb.EchomeetReadRecordResp": {
"type": "object"
},
"pb.EchomeetStartTaskReq": {
"type": "object",
"properties": {
"formlanguage": {
"description": "@go_tags(`json:\"formlanguage\"`) //语言",
"type": "string"
},
"id": {
"description": "@go_tags(`json:\"id\"`) //会议记录id",
"type": "integer"
},
"isdistinguishspeaker": {
"description": "@go_tags(`json:\"isdistinguishspeaker\"`) //是否区分说话人",
"type": "boolean"
},
"summary_svc_id": {
"description": "@go_tags(`json:\"summary_svc_id\"`) //客户端指定的总结大模型服务id(须在可选列表内且后台开关允许,否则用默认);识别/翻译由后台编排选路,客户端不可指定",
"type": "string"
},
"templateid": {
"description": "@go_tags(`json:\"templateid\"`) //会议记录模版索引id",
"type": "integer"
},
"tid": {
"description": "@go_tags(`json:\"tid\"`) //会议记录模板tid",
"type": "string"
},
"tolanguage": {
"description": "@go_tags(`json:\"tolanguage\"`) //目标语言",
"type": "string"
}
}
},
"pb.EchomeetStartTaskResp": {
"type": "object"
},
"pb.EchomeetSummaryReq": {
"type": "object",
"properties": {
"id": {
"description": "@go_tags(`json:\"id\"`) //会议记录id",
"type": "integer"
},
"summary_svc_id": {
"description": "@go_tags(`json:\"summary_svc_id\"`) //客户端指定的总结大模型服务id,留空沿用记录已有/后台默认",
"type": "string"
},
"templateid": {
"description": "@go_tags(`json:\"templateid\"`) //会议记录模板id",
"type": "integer"
},
"tid": {
"description": "@go_tags(`json:\"tid\"`) //会议记录模板tid",
"type": "string"
},
"tolanguage": {
"description": "@go_tags(`json:\"tolanguage\"`) 语言",
"type": "string"
}
}
},
"pb.EchomeetSummaryServiceItem": {
"type": "object",
"properties": {
"is_default": {
"description": "@go_tags(`json:\"is_default\"`) //是否后台默认模型",
"type": "boolean"
},
"name": {
"description": "@go_tags(`json:\"name\"`) //服务显示名",
"type": "string"
},
"svc_id": {
"description": "@go_tags(`json:\"svc_id\"`) //服务id(starttask/summary 的 summary_svc_id 传它)",
"type": "string"
}
}
},
"pb.EchomeetUpRecordReq": {
"type": "object",
"properties": {
"audiourl": {
"description": "@go_tags(`json:\"audiourl\"`) //音频url",
"type": "string"
},
"id": {
"description": "@go_tags(`json:\"id\"`) //会议记录id",
"type": "integer"
}
}
},
"pb.EchomeetUpRecordResp": {
"type": "object",
"properties": {
"record": {
"description": "@go_tags(`json:\"record\"`) //会议记录",
"allOf": [
{
"$ref": "#/definitions/pb.DBEchoMeetRecord"
}
]
}
}
},
"pb.EchomeetUpdateTemplateReq": {
"type": "object",
"properties": {
"template": {
"description": "@go_tags(`json:\"template\"`) //会议记录模板",
"allOf": [
{
"$ref": "#/definitions/pb.DBEchoMeetTemplate"
}
]
}
}
},
"pb.EchomeetUpdateTemplateResp": {
"type": "object",
"properties": {
"template": {
"description": "@go_tags(`json:\"template\"`) //会议记录模板",
"allOf": [
{
"$ref": "#/definitions/pb.DBEchoMeetTemplate"
}
]
}
}
},
"pb.ErrorCode": {
"type": "integer",
"enum": [
0,
1,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
100,
101,
102,
103,
104,
105,
106,
1001,
1002,
1003,
1004,
1005,
1006,
1007,
2002,
2003,
2004,
2005,
2006,
2007,
2008,
2009,
2010,
2011,
2012,
2013,
2014,
2015,
2016,
2017,
2018,
2019,
2020,
2021,
2022,
2023,
3001,
3002,
3003,
3004,
3005,
3006,
4001
],
"x-enum-comments": {
"ErrorCode_AIIntegralNotEnough": "AI积分不足",
"ErrorCode_AgentBetExchangeError": "代理兑付错误",
"ErrorCode_AgentNofund": "渠道未注册",
"ErrorCode_AgentServerError": "智能体服务器错误",
"ErrorCode_AgentUidEmpty": "AgentUid空",
"ErrorCode_AgentUrlError": "获取智能体URL失败",
"ErrorCode_AudioUrlEmpty": "音频URL为空",
"ErrorCode_AuthorizeIllegal": "授权码非法",
"ErrorCode_AuthorizeNoCanUse": "授权码不可用",
"ErrorCode_CacheReadError": "缓存读取失败",
"ErrorCode_ClientError": "客户端错误",
"ErrorCode_ConfigNoFound": "配置未找到",
"ErrorCode_DBError": "数据库操作失败",
"ErrorCode_DecodeError": "加密串解码错误",
"ErrorCode_DecryptError": "解密错误",
"ErrorCode_DeviceBinded": "设备已绑定",
"ErrorCode_DeviceBindedOther": "设备已绑定其他用户",
"ErrorCode_DeviceNoCanUse": "设备不可用",
"ErrorCode_DeviceUnBinded": "设备未绑定",
"ErrorCode_Exception": "程序执行异常",
"ErrorCode_ExceptionAccountVerification": "验证账号异常",
"ErrorCode_ExternalServiceError": "外部服务错误",
"ErrorCode_FileNotFound": "文件不存在",
"ErrorCode_FileUploadError": "文件上传失败",
"ErrorCode_GameInMaintenance": "目标游戏维护中",
"ErrorCode_GatewayException": "网关执行异常",
"ErrorCode_InsufficientPermissions": "权限不足",
"ErrorCode_MeetIntegralNotEnough": "会议积分不足",
"ErrorCode_MusicNotFound": "音乐未找到",
"ErrorCode_MusicSearchError": "音乐搜索失败",
"ErrorCode_MusicUrlError": "获取音乐URL失败",
"ErrorCode_NameInscriptionWords": "名称包含铭感词",
"ErrorCode_NetWorkError": "网络请求错误",
"ErrorCode_NoCanBet": "不能下注",
"ErrorCode_NoFindRoom": "未找到房间",
"ErrorCode_NoFindService": "没有找到远程服务器",
"ErrorCode_NoFindServiceHandleFunc": "远程服务器未找到执行方法",
"ErrorCode_NoLogin": "未登录",
"ErrorCode_PayCreateOrderFail": "创建订单失败",
"ErrorCode_PayNotifyDecryptFail": "支付回调解密失败",
"ErrorCode_PayOrderNotFound": "订单不存在",
"ErrorCode_PayOrderStatusError": "订单状态异常",
"ErrorCode_PaymentError": "支付错误",
"ErrorCode_PbError": "pb错误",
"ErrorCode_ReqParameterError": "请求参数错误",
"ErrorCode_ResourceDeliveryError": "资源发放失败",
"ErrorCode_ResourceNotEnough": "资源不足(通用)",
"ErrorCode_RpcFuncExecutionError": "Rpc方法执行错误",
"ErrorCode_SearchToolError": "搜索工具错误",
"ErrorCode_SignError": "签名串错误",
"ErrorCode_SqlExecutionError": "数据库执行错误",
"ErrorCode_StateInvalid": "无效状态",
"ErrorCode_StorageError": "存储服务错误",
"ErrorCode_SubscriptionExpired": "订阅已过期",
"ErrorCode_Success": "成功",
"ErrorCode_SystemError": "通用错误",
"ErrorCode_TaskStateError": "任务状态错误",
"ErrorCode_TemplateLanguageNotSupported": "模板不支持该语言",
"ErrorCode_TemplateNotFound": "模板不存在",
"ErrorCode_TimestampTimeout": "加密串时间戳超时",
"ErrorCode_TokenFetchError": "Token获取失败",
"ErrorCode_TradeIntegralNotEnough": "翻译积分不足",
"ErrorCode_UserSessionNobeing": "用户不存在",
"ErrorCode_VerificationExpired": "验证码已失效",
"ErrorCode_VipExpired": "VIP已过期"
},
"x-enum-varnames": [
"ErrorCode_Success",
"ErrorCode_GatewayException",
"ErrorCode_NoFindService",
"ErrorCode_NoFindServiceHandleFunc",
"ErrorCode_RpcFuncExecutionError",
"ErrorCode_CacheReadError",
"ErrorCode_SqlExecutionError",
"ErrorCode_ReqParameterError",
"ErrorCode_SignError",
"ErrorCode_InsufficientPermissions",
"ErrorCode_NoLogin",
"ErrorCode_UserSessionNobeing",
"ErrorCode_StateInvalid",
"ErrorCode_DBError",
"ErrorCode_SystemError",
"ErrorCode_DecodeError",
"ErrorCode_TimestampTimeout",
"ErrorCode_PbError",
"ErrorCode_AgentUidEmpty",
"ErrorCode_ConfigNoFound",
"ErrorCode_DecryptError",
"ErrorCode_ClientError",
"ErrorCode_Exception",
"ErrorCode_AgentBetExchangeError",
"ErrorCode_GameInMaintenance",
"ErrorCode_NoCanBet",
"ErrorCode_NoFindRoom",
"ErrorCode_AgentNofund",
"ErrorCode_NetWorkError",
"ErrorCode_VerificationExpired",
"ErrorCode_MeetIntegralNotEnough",
"ErrorCode_TradeIntegralNotEnough",
"ErrorCode_AIIntegralNotEnough",
"ErrorCode_VipExpired",
"ErrorCode_SubscriptionExpired",
"ErrorCode_ResourceNotEnough",
"ErrorCode_DeviceUnBinded",
"ErrorCode_DeviceBinded",
"ErrorCode_DeviceBindedOther",
"ErrorCode_AuthorizeNoCanUse",
"ErrorCode_AuthorizeIllegal",
"ErrorCode_ExceptionAccountVerification",
"ErrorCode_NameInscriptionWords",
"ErrorCode_DeviceNoCanUse",
"ErrorCode_MusicSearchError",
"ErrorCode_MusicNotFound",
"ErrorCode_MusicUrlError",
"ErrorCode_TemplateNotFound",
"ErrorCode_TemplateLanguageNotSupported",
"ErrorCode_FileUploadError",
"ErrorCode_FileNotFound",
"ErrorCode_AgentServerError",
"ErrorCode_AgentUrlError",
"ErrorCode_SearchToolError",
"ErrorCode_TokenFetchError",
"ErrorCode_ExternalServiceError",
"ErrorCode_StorageError",
"ErrorCode_TaskStateError",
"ErrorCode_PaymentError",
"ErrorCode_PayOrderNotFound",
"ErrorCode_PayOrderStatusError",
"ErrorCode_PayCreateOrderFail",
"ErrorCode_PayNotifyDecryptFail",
"ErrorCode_ResourceDeliveryError",
"ErrorCode_AudioUrlEmpty"
]
},
"pb.MCPServerType": {
"description": "MCP服务类型",
"type": "integer",
"enum": [
0,
1
],
"x-enum-varnames": [
"MCPServerType_Http",
"MCPServerType_SEE"
]
},
"pb.McpServer": {
"type": "object",
"properties": {
"servername": {
"type": "string"
},
"tools": {
"description": "@go_tags(`json:\"tools\"`) 工具列表",
"type": "string"
},
"type": {
"description": "@go_tags(`json:\"type\"`) 服务类型",
"allOf": [
{
"$ref": "#/definitions/pb.MCPServerType"
}
]
},
"url": {
"type": "string"
}
}
},
"pb.MeetCapabilitiesItem": {
"type": "object",
"properties": {
"summary_client_choice": {
"description": "@go_tags(`json:\"summary_client_choice\"`) 后台是否允许客户端指定总结模型;false 时 summary_services 仅含默认项",
"type": "boolean"
},
"summary_services": {
"description": "@go_tags(`json:\"summary_services\"`) 可选总结大模型列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.MeetSummaryServiceItem"
}
},
"transcribe_any_language": {
"description": "@go_tags(`json:\"transcribe_any_language\"`) true=存在未限定语言的识别服务,不受上面列表约束",
"type": "boolean"
},
"transcribe_languages": {
"description": "@go_tags(`json:\"transcribe_languages\"`) 录音识别支持的语言(BCP-47)",
"type": "array",
"items": {
"type": "string"
}
},
"translate_any_language": {
"description": "@go_tags(`json:\"translate_any_language\"`) true=存在未限定语言的翻译服务",
"type": "boolean"
},
"translate_languages": {
"description": "@go_tags(`json:\"translate_languages\"`) 翻译支持的目标语言(BCP-47)",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"pb.MeetSummaryServiceItem": {
"type": "object",
"properties": {
"is_default": {
"description": "@go_tags(`json:\"is_default\"`) 是否后台默认模型",
"type": "boolean"
},
"name": {
"description": "@go_tags(`json:\"name\"`) 服务显示名",
"type": "string"
},
"svc_id": {
"description": "@go_tags(`json:\"svc_id\"`) 服务id(starttask/summary 的 summary_svc_id 传它)",
"type": "string"
}
}
},
"pb.MusicSearchReq": {
"type": "object",
"properties": {
"keywords": {
"description": "@go_tags(`gorm:\"keywords\"`) 关键词",
"type": "string"
},
"limit": {
"description": "@go_tags(`gorm:\"limit\"`) 返回",
"type": "integer"
},
"offset": {
"description": "@go_tags(`gorm:\"offset\"`) 偏移",
"type": "integer"
},
"searchtype": {
"description": "@go_tags(`gorm:\"searchtype\"`) 搜索类型 0:歌曲 1:歌单",
"type": "integer"
}
}
},
"pb.MusicSearchResp": {
"type": "object",
"properties": {
"musics": {
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBMusic"
}
}
}
},
"pb.MusicUrlReq": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
}
},
"pb.MusicUrlResp": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"ts": {
"type": "integer"
},
"url": {
"type": "string"
}
}
},
"pb.PayAlipayNotifyReq": {
"type": "object",
"properties": {
"app_id": {
"description": "@go_tags(`json:\"app_id\"`) 支付宝分配的appid",
"type": "string"
},
"auth_app_id": {
"description": "@go_tags(`json:\"auth_app_id\"`) 授权方的appid(若无则与app_id一致)",
"type": "string"
},
"buyer_id": {
"description": "@go_tags(`json:\"buyer_id\"`) 买家支付宝用户ID",
"type": "string"
},
"buyer_logon_id": {
"description": "@go_tags(`json:\"buyer_logon_id\"`) 买家支付宝账号(脱敏)",
"type": "string"
},
"buyer_pay_amount": {
"description": "@go_tags(`json:\"buyer_pay_amount\"`) 买家实付金额",
"type": "string"
},
"charset": {
"description": "@go_tags(`json:\"charset\"`) 编码格式(如utf-8)",
"type": "string"
},
"fund_bill_list": {
"description": "@go_tags(`json:\"fund_bill_list\"`) 支付方式明细(JSON字符串,如[{\"amount\":\"0.01\",\"fundChannel\":\"ALIPAYACCOUNT\"}])",
"type": "string"
},
"gmt_create": {
"description": "@go_tags(`json:\"gmt_create\"`) 交易创建时间",
"type": "string"
},
"gmt_payment": {
"description": "@go_tags(`json:\"gmt_payment\"`) 支付时间",
"type": "string"
},
"invoice_amount": {
"description": "@go_tags(`json:\"invoice_amount\"`) 可开票金额",
"type": "string"
},
"notify_id": {
"description": "@go_tags(`json:\"notify_id\"`) 通知ID(唯一)",
"type": "string"
},
"notify_time": {
"description": "@go_tags(`json:\"notify_time\"`) 通知发送时间",
"type": "string"
},
"notify_type": {
"description": "@go_tags(`json:\"notify_type\"`) 通知类型(如trade_status_sync)",
"type": "string"
},
"out_trade_no": {
"description": "@go_tags(`json:\"out_trade_no\"`) 商户订单号(你的系统订单号)",
"type": "string"
},
"point_amount": {
"description": "@go_tags(`json:\"point_amount\"`) 积分支付金额",
"type": "string"
},
"receipt_amount": {
"description": "@go_tags(`json:\"receipt_amount\"`) 商家实收金额",
"type": "string"
},
"seller_email": {
"description": "@go_tags(`json:\"seller_email\"`) 卖家支付宝账号",
"type": "string"
},
"seller_id": {
"description": "@go_tags(`json:\"seller_id\"`) 卖家支付宝用户ID",
"type": "string"
},
"sign": {
"description": "@go_tags(`json:\"sign\"`) 签名",
"type": "string"
},
"sign_type": {
"description": "@go_tags(`json:\"sign_type\"`) 签名类型(如RSA2)",
"type": "string"
},
"subject": {
"description": "@go_tags(`json:\"subject\"`) 订单标题",
"type": "string"
},
"total_amount": {
"description": "@go_tags(`json:\"total_amount\"`) 订单总金额",
"type": "string"
},
"trade_no": {
"description": "@go_tags(`json:\"trade_no\"`) 支付宝交易号",
"type": "string"
},
"trade_status": {
"description": "@go_tags(`json:\"trade_status\"`) 交易状态(TRADE_SUCCESS表示成功)",
"type": "string"
},
"version": {
"description": "@go_tags(`json:\"version\"`) 版本号(如1.0)",
"type": "string"
}
}
},
"pb.PayAskOrCancelReq": {
"type": "object",
"properties": {
"apple_receipt_data": {
"description": "以下字段用于 Apple/Google 主动校验(客户端发起查询时一并传入)",
"type": "string"
},
"apple_use_transaction_id": {
"description": "@go_tags(`json:\"apple_use_transaction_id\"`) 是否按交易ID校验",
"type": "boolean"
},
"google_is_subscription": {
"description": "@go_tags(`json:\"google_is_subscription\"`) 是否订阅类型",
"type": "boolean"
},
"google_package_name": {
"description": "@go_tags(`json:\"google_package_name\"`) 谷歌包名",
"type": "string"
},
"google_product_id": {
"description": "@go_tags(`json:\"google_product_id\"`) 谷歌商品/订阅ID",
"type": "string"
},
"google_purchase_token": {
"description": "@go_tags(`json:\"google_purchase_token\"`) 谷歌购买Token",
"type": "string"
},
"order_id": {
"description": "@go_tags(`json:\"order_id\"`) 订单ID",
"type": "string"
}
}
},
"pb.PayCreatePayOrderReq": {
"type": "object",
"required": [
"amount",
"cancel_url",
"notify_url",
"payment_method",
"product_id",
"product_name",
"return_url"
],
"properties": {
"amount": {
"description": "@go_tags(`json:\"amount\" binding:\"required,min=1\"`) 订单金额(分)",
"type": "integer",
"minimum": 1
},
"cancel_url": {
"description": "@go_tags(`json:\"cancel_url\" binding:\"required,url\"`) 取消地址(支付失败后跳转)",
"type": "string"
},
"client_ip": {
"description": "@go_tags(`json:\"client_ip\"`) 客户端IP",
"type": "string"
},
"devicemac": {
"description": "当前使用设备(可选):客户端下单时带上正在使用的设备,服务端据此冻结订单的来源设备快照,\n用于渠道分成结算。不传则回退到用户「最后绑定设备」。",
"type": "string"
},
"extra_data": {
"description": "@go_tags(`json:\"extra_data\"`) 扩展数据",
"type": "string"
},
"license": {
"description": "@go_tags(`json:\"license\"`) 当前使用设备的授权码(与 devicemac 二选一即可)",
"type": "string"
},
"notify_url": {
"description": "@go_tags(`json:\"notify_url\" binding:\"required,url\"`) 异步通知地址(支付结果回调)",
"type": "string"
},
"payment_method": {
"description": "@go_tags(`json:\"payment_method\" binding:\"required\"`) 支付方式",
"allOf": [
{
"$ref": "#/definitions/pb.PaymentMethod"
}
]
},
"product_id": {
"description": "@go_tags(`json:\"product_id\" binding:\"required\"`) 商品ID",
"type": "string"
},
"product_name": {
"description": "@go_tags(`json:\"product_name\" binding:\"required\"`) 商品名称",
"type": "string"
},
"return_url": {
"description": "@go_tags(`json:\"return_url\" binding:\"required,url\"`) 返回地址(支付成功后跳转)",
"type": "string"
}
}
},
"pb.PayCreatePayOrderResp": {
"type": "object",
"required": [
"product_id",
"product_name"
],
"properties": {
"alipay_pay_params": {
"description": "@go_tags(`json:\"alipay_pay_params\"`) 支付宝支付参数",
"type": "string"
},
"order_id": {
"description": "@go_tags(`json:\"order_id\"`) 订单ID",
"type": "string"
},
"pay_params": {
"description": "@go_tags(`json:\"pay_params\"`) 支付参数",
"allOf": [
{
"$ref": "#/definitions/pb.AppPayParams"
}
]
},
"paypal_pay_params": {
"description": "@go_tags(`json:\"paypal_pay_params\"`) PayPal 支付参数",
"type": "string"
},
"product_id": {
"description": "@go_tags(`json:\"product_id\" binding:\"required\"`) 商品ID",
"type": "string"
},
"product_name": {
"description": "@go_tags(`json:\"product_name\" binding:\"required\"`) 商品名称",
"type": "string"
}
}
},
"pb.PayGetGoodssReq": {
"type": "object"
},
"pb.PayGetGoodssResp": {
"type": "object",
"properties": {
"goodss": {
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBGoods"
}
}
}
},
"pb.PayGetGoodssV2Req": {
"type": "object"
},
"pb.PayGetGoodssV2Resp": {
"type": "object",
"properties": {
"goodss": {
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBGoods"
}
}
}
},
"pb.PayGetOrderListReq": {
"type": "object",
"properties": {
"page": {
"description": "@go_tags(`json:\"page\"`) 页码(从1开始)",
"type": "integer"
},
"size": {
"description": "@go_tags(`json:\"size\"`) 每页数量",
"type": "integer"
}
}
},
"pb.PayGetOrderListResp": {
"type": "object",
"properties": {
"orderss": {
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBPayOrder"
}
},
"total": {
"description": "@go_tags(`json:\"total\"`) 总数",
"type": "integer"
}
}
},
"pb.PayOrderStatus": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4,
5
],
"x-enum-comments": {
"PayOrderStatus_PAY_ORDER_CANCELLED": "已取消",
"PayOrderStatus_PAY_ORDER_EXPIRED": "已过期",
"PayOrderStatus_PAY_ORDER_FAILED": "支付失败",
"PayOrderStatus_PAY_ORDER_PAID": "已支付",
"PayOrderStatus_PAY_ORDER_PENDING": "待支付",
"PayOrderStatus_PAY_ORDER_REFUNDED": "已退款"
},
"x-enum-varnames": [
"PayOrderStatus_PAY_ORDER_PENDING",
"PayOrderStatus_PAY_ORDER_PAID",
"PayOrderStatus_PAY_ORDER_CANCELLED",
"PayOrderStatus_PAY_ORDER_EXPIRED",
"PayOrderStatus_PAY_ORDER_REFUNDED",
"PayOrderStatus_PAY_ORDER_FAILED"
]
},
"pb.PayPayOrderAskResp": {
"type": "object",
"properties": {
"order": {
"description": "@go_tags(`json:\"order\"`) 订单ID",
"allOf": [
{
"$ref": "#/definitions/pb.DBPayOrder"
}
]
},
"user": {
"description": "@go_tags(`json:\"user\"`) 用户信息",
"allOf": [
{
"$ref": "#/definitions/pb.DBUser"
}
]
}
}
},
"pb.PayPayPalNotifyReq": {
"type": "object",
"properties": {
"auth_algo": {
"description": "@go_tags(`json:\"auth_algo\"`) PayPal-Auth-Algo",
"type": "string"
},
"body": {
"description": "@go_tags(`json:\"body\"`) 原始 JSON 通知体",
"type": "string"
},
"cert_url": {
"description": "@go_tags(`json:\"cert_url\"`) PayPal-Cert-Url",
"type": "string"
},
"transmission_id": {
"description": "@go_tags(`json:\"transmission_id\"`) PayPal-Transmission-Id",
"type": "string"
},
"transmission_sig": {
"description": "@go_tags(`json:\"transmission_sig\"`) PayPal-Transmission-Sig",
"type": "string"
},
"transmission_time": {
"description": "@go_tags(`json:\"transmission_time\"`) PayPal-Transmission-Time",
"type": "string"
},
"webhook_id": {
"description": "@go_tags(`json:\"webhook_id\"`) Webhook-Id(配置的 WebhookID)",
"type": "string"
}
}
},
"pb.PayWeChatNotifyReq": {
"type": "object",
"properties": {
"create_time": {
"description": "通知创建时间(格式:yyyy-MM-dd'T'HH:mm:ss+TIMEZONE)",
"type": "string"
},
"event_type": {
"description": "事件类型(如\"TRANSACTION.SUCCESS\")",
"type": "string"
},
"id": {
"description": "通知ID(微信生成的唯一标识)",
"type": "string"
},
"resource": {
"description": "加密的核心资源数据",
"allOf": [
{
"$ref": "#/definitions/pb.Resource"
}
]
},
"resource_type": {
"description": "通知类型(固定为\"transaction\")",
"type": "string"
},
"summary": {
"description": "通知摘要(如\"支付成功\")",
"type": "string"
}
}
},
"pb.PaymentMethod": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7
],
"x-enum-comments": {
"PaymentMethod_Alipay": "支付宝",
"PaymentMethod_AppleIAP": "苹果内购",
"PaymentMethod_GoogleIAP": "谷歌内购",
"PaymentMethod_PayPal": "PayPal 支付",
"PaymentMethod_WxAPP": "微信APP支付",
"PaymentMethod_WxJSAPI": "微信内网页支付",
"PaymentMethod_WxNative": "微信扫码支付"
},
"x-enum-varnames": [
"PaymentMethod_UnknownPaymentMethod",
"PaymentMethod_WxJSAPI",
"PaymentMethod_WxNative",
"PaymentMethod_Alipay",
"PaymentMethod_WxAPP",
"PaymentMethod_PayPal",
"PaymentMethod_AppleIAP",
"PaymentMethod_GoogleIAP"
]
},
"pb.RecognitionResult": {
"type": "object",
"properties": {
"additions": {
"description": "结果附加信息",
"allOf": [
{
"$ref": "#/definitions/pb.ResultAdditions"
}
]
},
"text": {
"description": "完整识别文本",
"type": "string"
},
"utterances": {
"description": "分句列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.Utterance"
}
}
}
},
"pb.Resource": {
"type": "object",
"properties": {
"algorithm": {
"description": "加密算法(固定为\"AEAD_AES_256_GCM\")",
"type": "string"
},
"associated_data": {
"description": "附加数据(解密时使用)",
"type": "string"
},
"ciphertext": {
"description": "加密后的交易数据(base64编码)",
"type": "string"
},
"nonce": {
"description": "随机串(解密时使用)",
"type": "string"
}
}
},
"pb.ResultAdditions": {
"type": "object",
"properties": {
"duration": {
"description": "音频总时长(ms)",
"type": "string"
}
}
},
"pb.SginTyoe": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4,
5,
6
],
"x-enum-comments": {
"SginTyoe_Apple": "Apple 登陆",
"SginTyoe_FaceBook": "facebook登录",
"SginTyoe_Google": "google登录",
"SginTyoe_Mail": "手机登录",
"SginTyoe_Phone": "手机登录",
"SginTyoe_Tourists": "游客登录",
"SginTyoe_WXChat": "微信登录"
},
"x-enum-varnames": [
"SginTyoe_Mail",
"SginTyoe_Phone",
"SginTyoe_WXChat",
"SginTyoe_Google",
"SginTyoe_FaceBook",
"SginTyoe_Apple",
"SginTyoe_Tourists"
]
},
"pb.TaskStatus": {
"type": "integer",
"enum": [
0,
2,
3
],
"x-enum-comments": {
"TaskStatus_TaskStatus_Cancelled": "已取消",
"TaskStatus_TaskStatus_Completed": "用户已确认完成",
"TaskStatus_TaskStatus_Pending": "进行中"
},
"x-enum-varnames": [
"TaskStatus_TaskStatus_Pending",
"TaskStatus_TaskStatus_Completed",
"TaskStatus_TaskStatus_Cancelled"
]
},
"pb.TaskType": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4
],
"x-enum-comments": {
"TaskType_TaskType_Cron": "自定义 cron 表达式",
"TaskType_TaskType_Daily": "每天重复",
"TaskType_TaskType_Monthly": "每月重复",
"TaskType_TaskType_Once": "一次性提醒",
"TaskType_TaskType_Weekly": "每周重复"
},
"x-enum-varnames": [
"TaskType_TaskType_Once",
"TaskType_TaskType_Daily",
"TaskType_TaskType_Weekly",
"TaskType_TaskType_Monthly",
"TaskType_TaskType_Cron"
]
},
"pb.ThirdSvcItem": {
"type": "object",
"properties": {
"categories": {
"description": "@go_tags(`json:\"categories\"`) 类别(逗号分隔)",
"type": "string"
},
"fields": {
"description": "@go_tags(`json:\"fields\"`) 区域合并+解密后的明文字段",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"id": {
"description": "@go_tags(`json:\"id\"`) 服务 id",
"type": "string"
},
"name": {
"description": "@go_tags(`json:\"name\"`) 名称",
"type": "string"
},
"provider": {
"description": "@go_tags(`json:\"provider\"`) 供应商标识",
"type": "string"
}
}
},
"pb.UsageType": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4
],
"x-enum-comments": {
"UsageType_AI": "智能体",
"UsageType_Meet": "会议",
"UsageType_Trade": "翻译",
"UsageType_VIP": "购买VIP时长"
},
"x-enum-varnames": [
"UsageType_UsageNull",
"UsageType_Trade",
"UsageType_Meet",
"UsageType_AI",
"UsageType_VIP"
]
},
"pb.UserBindAuthCodeReq": {
"type": "object",
"properties": {
"code": {
"description": "激活码/公码(必填)",
"type": "string"
},
"devicemac": {
"description": "[已废弃] 旧的逐设备激活码遗留字段,公码场景下忽略",
"type": "string"
},
"devicename": {
"description": "[已废弃] 旧的逐设备激活码遗留字段,公码场景下忽略",
"type": "string"
}
}
},
"pb.UserBindAuthCodeResp": {
"type": "object",
"properties": {
"addmeetsecond": {
"description": "本次发放会议秒数",
"type": "integer"
},
"addtradesecond": {
"description": "本次发放翻译秒数",
"type": "integer"
},
"addvipday": {
"description": "本次发放VIP天数",
"type": "integer"
},
"device": {
"description": "[已废弃] 公码场景下为空",
"allOf": [
{
"$ref": "#/definitions/pb.DBUserDivice"
}
]
},
"factoryid": {
"description": "奖励来源厂家id",
"type": "integer"
},
"isgiveaway": {
"description": "本次是否发放奖励",
"type": "boolean"
},
"meetintegral": {
"description": "会议积分",
"type": "integer"
},
"meettotalintegral": {
"description": "会议总积分",
"type": "integer"
},
"productid": {
"description": "奖励来源产品id(公码上配置的分类标识)",
"type": "integer"
},
"tradeintegral": {
"description": "翻译积分",
"type": "integer"
},
"tradetotalintegral": {
"description": "翻译总积分",
"type": "integer"
},
"vipexptime": {
"description": "VIP过期时间",
"type": "integer"
},
"viplv": {
"description": "VIP等级",
"type": "integer"
}
}
},
"pb.UserBindDeviceReq": {
"type": "object",
"properties": {
"code": {
"description": "授权码",
"type": "string"
},
"devicemac": {
"description": "耳机名称地址",
"type": "string"
},
"devicename": {
"description": "耳机名称",
"type": "string"
},
"pid": {
"description": "产品id",
"type": "integer"
},
"version": {
"description": "版本号",
"type": "string"
}
}
},
"pb.UserBindDeviceResp": {
"type": "object",
"properties": {
"aichatintegral": {
"description": "@go_tags(`gorm:\"aichatintegral\" json:\"aichatintegral\"`) ai聊天积分",
"type": "integer"
},
"aichattotalintegral": {
"description": "@go_tags(`gorm:\"aichattotalintegral\" json:\"aichattotalintegral\"`) ai聊天总积分",
"type": "integer"
},
"device": {
"description": "绑定的耳机信息",
"allOf": [
{
"$ref": "#/definitions/pb.DBUserDivice"
}
]
},
"isgiveaway": {
"description": "@go_tags(`gorm:\"isgiveaway\" json:\"isgiveaway\"`) 是否是第一次绑定",
"type": "boolean"
},
"meetintegral": {
"description": "@go_tags(`gorm:\"meetintegral\" json:\"meetintegral\"`) 会议积分",
"type": "integer"
},
"meettotalintegral": {
"description": "@go_tags(`gorm:\"meettotalintegral\" json:\"meettotalintegral\"`) 会议总积分",
"type": "integer"
},
"tradeintegral": {
"description": "@go_tags(`gorm:\"tradeintegral\" json:\"tradeintegral\"`) 翻译积分",
"type": "integer"
},
"tradetotalintegral": {
"description": "@go_tags(`gorm:\"tradetotalintegral\" json:\"tradetotalintegral\"`) 翻译总积分",
"type": "integer"
},
"vipexptime": {
"description": "@go_tags(`gorm:\"vipexptime\" json:\"vipexptime\"`) 会员过期时间",
"type": "integer"
},
"viplv": {
"description": "@go_tags(`gorm:\"viplv:50\" json:\"viplv\"`) viplv",
"type": "integer"
}
}
},
"pb.UserChannel": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4,
5,
100,
101,
102
],
"x-enum-comments": {
"UserChannel_CHINA_HONOR": "中国-荣耀",
"UserChannel_CHINA_HUAWEI": "中国-华为",
"UserChannel_CHINA_OPPO": "中国-OPPO",
"UserChannel_CHINA_VIVO": "中国-VIVO",
"UserChannel_CHINA_XIAOMI": "中国-小米",
"UserChannel_GLOBAL_APPLE": "全球-苹果",
"UserChannel_GLOBAL_GOOGLE": "全球-谷歌",
"UserChannel_OFFICIAL": "官方包",
"UserChannel_UNKNOWN": "未知"
},
"x-enum-varnames": [
"UserChannel_UNKNOWN",
"UserChannel_CHINA_HUAWEI",
"UserChannel_CHINA_XIAOMI",
"UserChannel_CHINA_OPPO",
"UserChannel_CHINA_VIVO",
"UserChannel_CHINA_HONOR",
"UserChannel_OFFICIAL",
"UserChannel_GLOBAL_APPLE",
"UserChannel_GLOBAL_GOOGLE"
]
},
"pb.UserDelReq": {
"type": "object"
},
"pb.UserDelResp": {
"type": "object"
},
"pb.UserFeedbackReq": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
},
"pb.UserFeedbackResp": {
"type": "object"
},
"pb.UserGetAgentsReq": {
"type": "object"
},
"pb.UserGetAgentsResp": {
"type": "object",
"properties": {
"agents": {
"description": "@go_tags(`json:\"agents\"`) agent 列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.AgentItem"
}
}
}
},
"pb.UserGetAgentsV3Req": {
"type": "object"
},
"pb.UserGetAgentsV3Resp": {
"type": "object",
"properties": {
"agents": {
"description": "@go_tags(`json:\"agents\"`) agent 列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.AgentItemV3"
}
}
}
},
"pb.UserGetAppConfigReq": {
"type": "object"
},
"pb.UserGetAppConfigResp": {
"type": "object",
"properties": {
"agents": {
"description": "@go_tags(`json:\"agents\"`) 時間",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBAgent"
}
},
"env": {
"description": "@go_tags(`json:\"env\"`) 時間",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"mcps": {
"description": "@go_tags(`json:\"mcps\"`) 時間",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/pb.McpServer"
}
},
"products": {
"description": "@go_tags(`json:\"products\"`) 時間",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBProduct"
}
}
}
},
"pb.UserGetAppConfigV3Req": {
"type": "object"
},
"pb.UserGetAppConfigV3Resp": {
"type": "object",
"properties": {
"agents": {
"description": "@go_tags(`json:\"agents\"`) 智能体列表(结构同 user_getagents_v3,含 type 与服务编排)",
"type": "array",
"items": {
"$ref": "#/definitions/pb.AgentItemV3"
}
},
"env": {
"description": "@go_tags(`json:\"env\"`) 应用环境变量(app_config + 本区域 global_config)",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"meet": {
"description": "@go_tags(`json:\"meet\"`) 会议记录能力(语言 + 总结大模型)",
"allOf": [
{
"$ref": "#/definitions/pb.MeetCapabilitiesItem"
}
]
},
"products": {
"description": "@go_tags(`json:\"products\"`) 产品列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBProduct"
}
},
"thirdsvcs": {
"description": "@go_tags(`json:\"thirdsvcs\"`) 第三方服务(含 MCP 类,按用户区域合并、凭据已解密为明文)",
"type": "array",
"items": {
"$ref": "#/definitions/pb.ThirdSvcItem"
}
}
}
},
"pb.UserGetChannelAppReq": {
"type": "object",
"properties": {
"channel": {
"type": "integer"
},
"version": {
"description": "客户端当前版本号(如 1.4.2);传了才会返回下面的升级判定,留空则判定字段恒为 false",
"type": "string"
}
}
},
"pb.UserGetChannelAppResp": {
"type": "object",
"properties": {
"app": {
"$ref": "#/definitions/pb.DBChannelApp"
},
"forceupdate": {
"description": "必须更新:渠道开了强更且客户端版本低于最低支持版本,为 true 时客户端应阻断使用",
"type": "boolean"
},
"needupdate": {
"description": "有更新可用:线上版本高于客户端版本",
"type": "boolean"
},
"reviewing": {
"description": "客户端当前版本正处于渠道审核期,可据此隐藏未过审功能",
"type": "boolean"
}
}
},
"pb.UserGetChannelAppsReq": {
"type": "object"
},
"pb.UserGetChannelAppsResp": {
"type": "object",
"properties": {
"apps": {
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBChannelApp"
}
}
}
},
"pb.UserGetDevicesReq": {
"type": "object"
},
"pb.UserGetDevicesResp": {
"type": "object",
"properties": {
"devices": {
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBUserDivice"
}
}
}
},
"pb.UserGetInfoReq": {
"type": "object",
"properties": {
"channel": {
"description": "渠道",
"allOf": [
{
"$ref": "#/definitions/pb.UserChannel"
}
]
},
"version": {
"description": "版本号",
"type": "string"
}
}
},
"pb.UserGetInfoResp": {
"type": "object",
"properties": {
"devices": {
"description": "用户设备列表\nexample:",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBUserDivice"
}
},
"user": {
"description": "用户信息\nexample:",
"allOf": [
{
"$ref": "#/definitions/pb.DBUser"
}
]
}
}
},
"pb.UserGetProductReq": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
}
},
"pb.UserGetProductResp": {
"type": "object",
"properties": {
"product": {
"$ref": "#/definitions/pb.DBProduct"
}
}
},
"pb.UserGetProductVersionsReq": {
"type": "object",
"properties": {
"pid": {
"description": "@go_tags(`json:\"pid\"`) 产品id",
"type": "integer"
}
}
},
"pb.UserGetProductVersionsResp": {
"type": "object",
"properties": {
"versions": {
"description": "@go_tags(`json:\"versions\"`) 固件版本列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBProductVersion"
}
}
}
},
"pb.UserGetStatisticsReq": {
"type": "object"
},
"pb.UserGetStatisticsResp": {
"type": "object",
"properties": {
"statistics": {
"$ref": "#/definitions/pb.DBUserStatistics"
}
}
},
"pb.UserGetThirdSvcsReq": {
"type": "object",
"properties": {
"ids": {
"description": "@go_tags(`json:\"ids\"`) 按服务 id 过滤;空=全部启用的服务",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"pb.UserGetThirdSvcsResp": {
"type": "object",
"properties": {
"svcs": {
"description": "@go_tags(`json:\"svcs\"`) 服务列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.ThirdSvcItem"
}
}
}
},
"pb.UserGetWakeupVoicesReq": {
"type": "object"
},
"pb.UserGetWakeupVoicesResp": {
"type": "object",
"properties": {
"voices": {
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBWakeupVoice"
}
}
}
},
"pb.UserLogType": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4
],
"x-enum-comments": {
"UserLogType_ActivityReward": "活动奖励日志类型",
"UserLogType_AdminGive": "管理员赠送日志类型",
"UserLogType_Pay": "重置购买日志类型",
"UserLogType_UserConsume": "用户消耗",
"UserLogType_UserLogTypeUnknown": "未知日志类型"
},
"x-enum-varnames": [
"UserLogType_UserLogTypeUnknown",
"UserLogType_Pay",
"UserLogType_ActivityReward",
"UserLogType_AdminGive",
"UserLogType_UserConsume"
]
},
"pb.UserPushActionReq": {
"type": "object",
"properties": {
"actions": {
"description": "行为",
"type": "object",
"additionalProperties": {
"type": "integer"
}
}
}
},
"pb.UserPushActionResp": {
"type": "object"
},
"pb.UserRankItem": {
"type": "object",
"properties": {
"avatar": {
"description": "@go_tags(`json:\"avatar\"`) 头像",
"type": "string"
},
"country_code": {
"description": "@go_tags(`json:\"country_code\"`) 所在国家编码",
"type": "string"
},
"is_agent_user": {
"description": "@go_tags(`json:\"is_agent_user\"`) 是否当前代理名下用户(仅代理仪表盘场景置位)",
"type": "boolean"
},
"meet_count": {
"description": "@go_tags(`json:\"meet_count\"`) 会议次数",
"type": "integer"
},
"meet_time": {
"description": "@go_tags(`json:\"meet_time\"`) 会议时长(秒)",
"type": "integer"
},
"nickname": {
"description": "@go_tags(`json:\"nickname\"`) 昵称",
"type": "string"
},
"trade_count": {
"description": "@go_tags(`json:\"trade_count\"`) 翻译次数 4个模式累加",
"type": "integer"
},
"trade_time": {
"description": "@go_tags(`json:\"trade_time\"`) 翻译时长(秒) 4个模式累加",
"type": "integer"
},
"uid": {
"description": "@go_tags(`json:\"uid\"`) 用户ID",
"type": "string"
}
}
},
"pb.UserReportAIContentReq": {
"type": "object",
"properties": {
"describe": {
"type": "string"
},
"message": {
"type": "array",
"items": {
"type": "string"
}
},
"reportContent": {
"type": "string"
},
"reporttype": {
"type": "string"
}
}
},
"pb.UserReportAIContentResp": {
"type": "object"
},
"pb.UserSettingReq": {
"type": "object",
"properties": {
"gender": {
"description": "@go_tags(`json:\"gender\" example:\"1\" description:\"性别 1-男 2-女\"`) 性别 1-男 2-女",
"type": "string",
"example": "1"
},
"image": {
"description": "@go_tags(`json:\"image\" example:\"\" description:\"头像\"`) 头像连接",
"type": "string",
"example": ""
},
"language": {
"description": "@go_tags(`json:\"language\" example:\"en\" description:\"语言\"`)",
"type": "string",
"example": "en"
},
"name": {
"description": "@go_tags(`json:\"name\" example:\"\" description:\"用户名\"`) 用户名",
"type": "string",
"example": ""
}
}
},
"pb.UserSettingResp": {
"type": "object",
"properties": {
"avatar": {
"description": "@go_tags(`json:\"avatar\" example:\"\" description:\"地址\"`) 头像连接",
"type": "string",
"example": ""
},
"gender": {
"description": "@go_tags(`json:\"gender\" example:\"1\" description:\"性别 1-男 2-女\"`) 性别 1-男 2-女",
"type": "integer",
"example": 1
},
"language": {
"description": "@go_tags(`json:\"language\" example:\"en\" description:\"语言\"`)",
"type": "string",
"example": "en"
},
"name": {
"description": "@go_tags(`json:\"name\" example:\"用户名\" description:\"用户名\"`)",
"type": "string",
"example": "用户名"
}
}
},
"pb.UserSginReq": {
"type": "object",
"properties": {
"avatar": {
"description": "@go_tags(`gorm:\"avatar\" json:\"avatar\" example:\"\" description:\"头像连接\"`) 头像连接",
"type": "string",
"example": ""
},
"channel": {
"description": "渠道",
"allOf": [
{
"$ref": "#/definitions/pb.UserChannel"
}
]
},
"language": {
"description": "@go_tags(`json:\"language\" example:\"en\" description:\"语言\"`)",
"type": "string",
"example": "en"
},
"mail": {
"description": "@go_tags(`json:\"mail\" example:\"\" description:\"邮箱地址\"`) 邮箱地址",
"type": "string",
"example": ""
},
"name": {
"description": "@go_tags(`gorm:\"name:50\" json:\"name\" example:\"\" description:\"用户名\"`) 用户名",
"type": "string",
"example": ""
},
"phone": {
"description": "@go_tags(`json:\"phone\" example:\"\" description:\"手机号码“`) 手机号",
"type": "string",
"example": ""
},
"phonemac": {
"description": "@go_tags(`json:\"phonemac\" example:\"\" description:\"手机硬件id\"`) 手机硬件id",
"type": "string",
"example": ""
},
"phonemodel": {
"description": "@go_tags(`json:\"phonemodel\" example:\"\" description:\"设备型号\"`) 手机型号",
"type": "string",
"example": ""
},
"stype": {
"description": "@go_tags(`json:\"stype\" example:\"0\" description:\"登录方式“`) 登录方式",
"allOf": [
{
"$ref": "#/definitions/pb.SginTyoe"
}
],
"example": 0
},
"ttoken": {
"description": "@go_tags(`json:\"ttoken\" example:\"\" description:\"第三方token\"`) 第三方token",
"type": "string",
"example": ""
},
"vcode": {
"description": "@go_tags(`json:\"vcode\" example:\"\" description:\"验证码\"`) 验证码",
"type": "string",
"example": ""
},
"version": {
"description": "版本号",
"type": "string"
}
}
},
"pb.UserSginResp": {
"type": "object",
"properties": {
"devices": {
"description": "用户设备列表\nexample:",
"type": "array",
"items": {
"$ref": "#/definitions/pb.DBUserDivice"
}
},
"token": {
"description": "认证token\n缓存在本地 可以通过token 登录\nexample: 认证token",
"type": "string",
"example": "认证token"
},
"user": {
"description": "用户信息\nexample:",
"allOf": [
{
"$ref": "#/definitions/pb.DBUser"
}
]
}
}
},
"pb.UserState": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-comments": {
"UserState_Cancelled": "已注销状态",
"UserState_Disabled": "禁用状态",
"UserState_Normal": "正常状态"
},
"x-enum-varnames": [
"UserState_Normal",
"UserState_Disabled",
"UserState_Cancelled"
]
},
"pb.UserUnBindDeviceReq": {
"type": "object",
"properties": {
"id": {
"description": "设备id",
"type": "integer"
}
}
},
"pb.UserUnBindDeviceResp": {
"type": "object"
},
"pb.UserUpdateDeviceSettingReq": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"lxsetting": {
"type": "string"
}
}
},
"pb.UserUpdateDeviceSettingResp": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"lxsetting": {
"type": "string"
}
}
},
"pb.UserUsagesReq": {
"type": "object",
"properties": {
"usages": {
"description": "用量统计数据",
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
"usagetype": {
"description": "使用类型",
"allOf": [
{
"$ref": "#/definitions/pb.UsageType"
}
]
}
}
},
"pb.UserUsagesResp": {
"type": "object",
"properties": {
"usages": {
"description": "资源剩余使用量",
"type": "object",
"additionalProperties": {
"type": "integer"
}
}
}
},
"pb.UserVerificationReq": {
"type": "object",
"properties": {
"addr": {
"description": "目标地址\n选填,长度 11\nexample: 手机号/邮箱",
"type": "string",
"example": ""
},
"vtype": {
"description": "验证码类型“\n选填,长度 11\nexample: 0 邮箱验证 1 手机验证",
"type": "integer",
"example": 0
}
}
},
"pb.UserVerificationResp": {
"type": "object"
},
"pb.Utterance": {
"type": "object",
"properties": {
"additions": {
"description": "附加信息",
"allOf": [
{
"$ref": "#/definitions/pb.UtteranceAdditions"
}
]
},
"end_time": {
"description": "分句结束时间(ms)",
"type": "integer"
},
"start_time": {
"description": "分句开始时间(ms)",
"type": "integer"
},
"text": {
"description": "分句文本",
"type": "string"
},
"words": {
"description": "分句下的字词列表",
"type": "array",
"items": {
"$ref": "#/definitions/pb.Word"
}
}
}
},
"pb.UtteranceAdditions": {
"type": "object",
"properties": {
"channel_id": {
"description": "声道ID",
"type": "string"
},
"speaker": {
"description": "说话人ID",
"type": "string"
}
}
},
"pb.Word": {
"type": "object",
"properties": {
"confidence": {
"description": "置信度",
"type": "number"
},
"end_time": {
"description": "结束时间(ms)",
"type": "integer"
},
"start_time": {
"description": "开始时间(ms)",
"type": "integer"
},
"text": {
"description": "字词文本",
"type": "string"
}
}
},
"yunyan_sys_migu.Content": {
"type": "object",
"properties": {
"data": {
"type": "object"
},
"type": {
"type": "string"
}
}
}
},
"securityDefinitions": {
"BearerAuth": {
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}