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.
 
 
 
 
 
 

5552 lines
169 KiB

definitions:
comm.HttpResult:
properties:
code:
allOf:
- $ref: '#/definitions/pb.ErrorCode'
description: |-
错误代码
@Description 响应结果的错误码 0 表示成功
@example 0
example: 0
data:
description: |-
数据部分,可能是多种类型
@Description 响应的数据,类型可变
@oneOf User Product Order
@example {"id": 1, "name": "John Doe"}
msg:
description: |-
消息说明
@Description 响应结果的消息 请求返回的描述信息
@example "Success"
example: Success
type: string
type: object
migu.ChatRequest:
properties:
deviceId:
description: 设备ID(可选,亦可用 X-Device-Id 头)
type: string
history:
description: 历史对话(可选)
items:
$ref: '#/definitions/modules_migu.Message'
type: array
message:
description: 本次问话(必填)
type: string
sessionId:
description: 会话ID(可选,亦可用 X-Session-Id 头)
type: string
stream:
description: 是否流式
type: boolean
type: object
migu.ChatResponse:
properties:
cards:
description: 全部结构化卡片(音乐等)
items:
$ref: '#/definitions/yunyan_sys_migu.Content'
type: array
content:
description: 拼接后的完整文本
type: string
finishReason:
description: 结束原因
type: string
reasoning:
description: 拼接后的完整思考
type: string
recommendPrompts:
description: 全部追问提示词
items:
type: string
type: array
reqId:
type: string
sessionId:
type: string
type: object
modules_migu.Message:
properties:
content:
description: 文本内容
type: string
role:
description: user / assistant / system
type: string
type: object
pb.AgentInfo:
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
type: object
pb.AgentItem:
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"`) 音色覆盖'
items:
$ref: '#/definitions/pb.AgentVoiceItem'
type: array
type: object
pb.AgentItemV3:
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 里)'
items:
type: string
type: array
mcps:
description: '@go_tags(`json:"mcps"`) MCP 绑定(含每个服务允许的工具);mcp_svc_ids 是它的
id 平铺,保留给老客户端'
items:
$ref: '#/definitions/pb.AgentMcpBindingItem'
type: array
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"`) 变量定义'
items:
$ref: '#/definitions/pb.AgentVariableItem'
type: array
voice_map:
description: '@go_tags(`json:"voice_map"`) 各语言最终音色(已按音色表补全)'
items:
$ref: '#/definitions/pb.AgentVoiceItem'
type: array
type: object
pb.AgentMcpBindingItem:
properties:
svc_id:
description: '@go_tags(`json:"svc_id"`) MCP 服务 id(详情在 getappconfig_v3 的 thirdsvcs
里)'
type: string
tools:
description: '@go_tags(`json:"tools"`) 允许调用的工具名;空=该服务的工具全放开(仍受服务自身
tools 白名单约束)'
items:
type: string
type: array
type: object
pb.AgentSource:
description: 智能体来源
enum:
- 0
- 1
- 2
- 3
type: integer
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:
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
type: object
pb.AgentVariableItem:
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
type: object
pb.AgentVoiceItem:
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
type: object
pb.AgentsGetAgentUrlReq:
properties:
agent_id:
description: '@go_tags(`json:"agent_id"`) 智能体id'
type: string
type: object
pb.AgentsGetAgentUrlResp:
properties:
agent:
allOf:
- $ref: '#/definitions/pb.AgentInfo'
description: '@go_tags(`json:"agent"`) 智能体信息'
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
type: object
pb.AgentsGetAgentsReq:
type: object
pb.AgentsGetAgentsResp:
properties:
agents:
description: '@go_tags(`json:"agents"`) //智能体列表'
items:
$ref: '#/definitions/pb.DBVoitransAgent'
type: array
type: object
pb.AllhelpAddTaskReq:
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
type: object
pb.AllhelpAddTaskResp:
properties:
task:
allOf:
- $ref: '#/definitions/pb.DBTask'
description: '@go_tags(`json:"task"`) 创建的任务'
type: object
pb.AllhelpCancelTaskReq:
properties:
task_id:
description: '@go_tags(`json:"task_id"`) 任务ID'
type: integer
type: object
pb.AllhelpCancelTaskResp:
type: object
pb.AllhelpCompleteTaskReq:
properties:
task_id:
description: '@go_tags(`json:"task_id"`) 任务ID'
type: integer
type: object
pb.AllhelpCompleteTaskResp:
type: object
pb.AllhelpDelChatSummaryReq:
properties:
id:
description: '@go_tags(`json:"id"`)'
type: integer
type: object
pb.AllhelpDelChatSummaryResp:
type: object
pb.AllhelpGetChatSummaryReq:
properties:
summary_date:
description: '@go_tags(`json:"summary_date"`) YYYY-MM-DD'
type: string
type: object
pb.AllhelpGetChatSummaryResp:
properties:
record:
allOf:
- $ref: '#/definitions/pb.DBChatSummary'
description: '@go_tags(`json:"record"`) 记录(不存在时 record.id=0)'
type: object
pb.AllhelpGetTasksReq:
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
type: object
pb.AllhelpGetTasksResp:
properties:
tasks:
description: '@go_tags(`json:"tasks"`) 任务列表'
items:
$ref: '#/definitions/pb.DBTask'
type: array
total:
description: '@go_tags(`json:"total"`) 总数'
type: integer
type: object
pb.AllhelpListChatSummariesReq:
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
type: object
pb.AllhelpListChatSummariesResp:
properties:
records:
description: '@go_tags(`json:"records"`)'
items:
$ref: '#/definitions/pb.DBChatSummary'
type: array
total:
description: '@go_tags(`json:"total"`)'
type: integer
type: object
pb.AllhelpSubmitChatSummaryReq:
properties:
msgs:
description: '@go_tags(`json:"msgs"`) 当日聊天消息列表'
items:
$ref: '#/definitions/pb.ChatMsg'
type: array
summary_date:
description: '@go_tags(`json:"summary_date"`) 日期 YYYY-MM-DD(客户端按本地时区选择)'
type: string
type: object
pb.AllhelpSubmitChatSummaryResp:
properties:
record:
allOf:
- $ref: '#/definitions/pb.DBChatSummary'
description: '@go_tags(`json:"record"`) 入库记录(state=Pending)'
type: object
pb.ApiGetGlobalStatsReq:
type: object
pb.ApiGetGlobalStatsResp:
properties:
stat:
allOf:
- $ref: '#/definitions/pb.DBAppStat'
description: '@go_tags(`json:"stat"`) 累计统计(字段含义与 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
type: object
pb.ApiGetUserRankReq:
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
type: object
pb.ApiGetUserRankResp:
properties:
list:
description: '@go_tags(`json:"list"`) 排行列表'
items:
$ref: '#/definitions/pb.UserRankItem'
type: array
type: object
pb.ApiGetUserUseLogsReq:
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:
allOf:
- $ref: '#/definitions/pb.UserLogType'
description: '@go_tags(`json:"usagetype"`) //使用量类型'
type: object
pb.ApiGetUserUseLogsResp:
properties:
logs:
description: '@go_tags(`json:"logs"`) //用户使用量日志列表'
items:
$ref: '#/definitions/pb.DBUserUseLog'
type: array
type: object
pb.ApiRebuildStatsReq:
type: object
pb.ApiRebuildStatsResp:
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
type: object
pb.AppPayParams:
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
type: object
pb.AudioInfo:
properties:
duration:
description: 音频时长(ms)
type: integer
type: object
pb.BailianDeviceRegisterReq:
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
required:
- appId
- nonce
- requestTime
- signature
type: object
pb.BailianDeviceRegisterResp:
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
type: object
pb.BailianGetTokenReq:
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
required:
- appId
- deviceName
- requestTime
- signature
- tokenType
type: object
pb.BailianGetTokenResp:
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
type: object
pb.ChatMsg:
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
type: object
pb.ChatSummaryState:
enum:
- 0
- 1
- 2
- 3
type: integer
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:
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
type: object
pb.DBAgent:
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:
allOf:
- $ref: '#/definitions/pb.AgentSource'
description: '@go_tags(`gorm:"source;index" json:"source"`) Agent来源 0:内置 1:PolyChat
2:阿里云 3:火山'
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
type: object
pb.DBAppStat:
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
type: object
pb.DBChannelApp:
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
type: object
pb.DBChatSummary:
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:
allOf:
- $ref: '#/definitions/pb.ChatSummaryState'
description: '@go_tags(`gorm:"default:0;index" json:"state"`) 状态'
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
type: object
pb.DBEchoMeetRecord:
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:
allOf:
- $ref: '#/definitions/pb.DBEchoMeetRecordState'
description: '@go_tags(`gorm:"state;index" json:"state"`) 状态'
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
type: object
pb.DBEchoMeetRecordState:
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 10002
- 10001
type: integer
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:
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
type: object
pb.DBGoods:
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:
allOf:
- $ref: '#/definitions/pb.UsageType'
description: '@go_tags(`gorm:"usagetype" json:"usagetype"`) 产品类型 0:普通产品 1:会员产品'
viptime:
description: '@go_tags(`gorm:"viptime" json:"viptime"`) 会员时间'
type: integer
type: object
pb.DBMusic:
properties:
id:
type: integer
image:
type: string
name:
type: string
singer:
type: string
type: object
pb.DBPayOrder:
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:
allOf:
- $ref: '#/definitions/pb.PaymentMethod'
description: '@go_tags(`gorm:"payment_method" json:"payment_method"`) 支付方式'
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: |-
---- 来源设备快照(下单时冻结,用于渠道分成月结算)----
取值优先级:客户端上报的「当前使用设备」→ 用户「最后绑定设备」→ 空。
下单即固化,用户之后换设备/换绑不影响历史订单的归属。
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:
allOf:
- $ref: '#/definitions/pb.PayOrderStatus'
description: '@go_tags(`gorm:"status;index" json:"status"`) 订单状态'
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
type: object
pb.DBProduct:
properties:
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
devicecodecount:
description: '@go_tags(`gorm:"devicecodecount" json:"devicecodecount"`) 每副产品生产的设备码数量(0或1=单份,2=双份)'
type: integer
devicename:
description: '@go_tags(`gorm:"devicename" json:"devicename"`) 设备名称'
type: string
devicetype:
allOf:
- $ref: '#/definitions/pb.DeviceType'
description: '@go_tags(`gorm:"devicetype" json:"devicetype"`) 设备类型'
eqenable:
description: '@go_tags(`gorm:"eqenable" json:"eqenable"`) EQ是否启用'
type: boolean
factoryid:
description: |-
【老客户端兼容】厂家→品牌商改名前发布的 App 包按「非空 int」解析 factoryid,
字段一旦缺失,整个 user_getappconfig / user_getproduct 响应解析就抛 TypeError(设备列表、应用配置全废)。
此字段只出不入:gorm:"-" 不建列、不参与读写,由 user 模块读取层统一填成 brandid 的值下发。
服务端与新端一律以 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
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
type: object
pb.DBProductVersion:
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
type: object
pb.DBTask:
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:
allOf:
- $ref: '#/definitions/pb.TaskStatus'
description: '@go_tags(`gorm:"default:0;index" json:"status"`) 任务状态'
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:
allOf:
- $ref: '#/definitions/pb.TaskType'
description: '@go_tags(`gorm:"default:0" json:"task_type"`) 任务类型(仅记录用户选择)'
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
type: object
pb.DBUser:
properties:
State:
allOf:
- $ref: '#/definitions/pb.UserState'
description: '@go_tags(`gorm:"State" json:"State"`) 状态'
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:
allOf:
- $ref: '#/definitions/pb.UserChannel'
description: '@go_tags(`gorm:"channel" json:"channel"`) 用户渠道'
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
type: object
pb.DBUserDivice:
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:
allOf:
- $ref: '#/definitions/pb.DeviceType'
description: '@go_tags(`gorm:"devicetype:50;index" json:"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
type: object
pb.DBUserStatistics:
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
type: object
pb.DBUserUseLog:
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:
allOf:
- $ref: '#/definitions/pb.UserLogType'
description: '@go_tags(`gorm:"logtype;index" json:"logtype"`) 日志类型'
ts:
description: '@go_tags(`gorm:"ts;index" json:"ts"`) 记录时间'
type: integer
uid:
description: '@go_tags(`gorm:"uid:50;index" json:"uid"`) 用户ID'
type: string
type: object
pb.DBVoitransAgent:
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"`) 支持的语言列表'
items:
type: string
type: array
type:
description: '@go_tags(`json:"type"`) 智能体类型'
type: string
variables:
description: '@go_tags(`json:"variables"`) 智能体变量列表'
items:
$ref: '#/definitions/pb.AgentVariable'
type: array
type: object
pb.DBWakeupVoice:
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
type: object
pb.DeviceType:
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
type: integer
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:
properties:
filepath:
description: '@go_tags(`json:"filepath"`) //音频文件路径'
type: string
imageurls:
description: '@go_tags(`json:"imageurls"`) //注释图片url列表(作为多模态内容参与AI总结)'
items:
type: string
type: array
original:
description: '@go_tags(`gorm:"original" json:"original"`) 听写内容'
items:
$ref: '#/definitions/pb.ContextStruct'
type: array
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
type: object
pb.EchomeetAddRecordResp:
properties:
record:
allOf:
- $ref: '#/definitions/pb.DBEchoMeetRecord'
description: '@go_tags(`json:"record"`) //会议记录'
type: object
pb.EchomeetAddTemplateReq:
properties:
template:
allOf:
- $ref: '#/definitions/pb.DBEchoMeetTemplate'
description: '@go_tags(`json:"template"`) //会议记录模板'
type: object
pb.EchomeetAddTemplateResp:
properties:
template:
allOf:
- $ref: '#/definitions/pb.DBEchoMeetTemplate'
description: '@go_tags(`json:"template"`) //会议记录模板'
type: object
pb.EchomeetAliCallbackReq:
properties:
RequestId:
description: 请求ID
type: string
Result:
allOf:
- $ref: '#/definitions/pb.EchomeetAliCallbackResult'
description: 转写结果
StatusCode:
description: 状态码 21050000=运行中 21050001=成功 21050002=失败
type: integer
StatusText:
description: 状态描述
type: string
TaskId:
description: 任务ID
type: string
type: object
pb.EchomeetAliCallbackResp:
type: object
pb.EchomeetAliCallbackResult:
properties:
Sentences:
description: 句子列表
items:
$ref: '#/definitions/pb.EchomeetAliSentence'
type: array
type: object
pb.EchomeetAliSentence:
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
type: object
pb.EchomeetCallbackReq:
properties:
audio_info:
allOf:
- $ref: '#/definitions/pb.AudioInfo'
description: 音频信息
callback_data:
description: 自定义回调数据(你日志中的liwei1dap)
type: string
code:
description: 状态码(20000000=成功)
type: integer
id:
description: 任务ID
type: string
message:
description: 状态描述(Success/失败原因)
type: string
result:
allOf:
- $ref: '#/definitions/pb.RecognitionResult'
description: 识别结果
type: object
pb.EchomeetDelRecordsReq:
properties:
ids:
description: '@go_tags(`json:"ids"`) //会议记录id列表'
items:
type: integer
type: array
type: object
pb.EchomeetDelRecordsResp:
properties:
ids:
description: '@go_tags(`json:"ids"`) //删除的会议记录id列表'
items:
type: integer
type: array
type: object
pb.EchomeetDeleteTemplateReq:
properties:
ids:
description: '@go_tags(`json:"ids"`) //会议记录模板id列表'
items:
type: integer
type: array
type: object
pb.EchomeetDeleteTemplateResp:
properties:
ids:
description: '@go_tags(`json:"ids"`) //删除的会议记录模板id列表'
items:
type: integer
type: array
type: object
pb.EchomeetGetAllRecordsReq:
type: object
pb.EchomeetGetAllRecordsResp:
properties:
records:
description: '@go_tags(`json:"records"`) //会议记录列表'
items:
$ref: '#/definitions/pb.DBEchoMeetRecord'
type: array
type: object
pb.EchomeetGetCapabilitiesReq:
type: object
pb.EchomeetGetCapabilitiesResp:
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"`) //可选总结大模型列表'
items:
$ref: '#/definitions/pb.EchomeetSummaryServiceItem'
type: array
transcribe_any_language:
description: '@go_tags(`json:"transcribe_any_language"`) //true=存在未限定语言的识别服务,实际不受上面的列表约束'
type: boolean
transcribe_languages:
description: '@go_tags(`json:"transcribe_languages"`) //录音识别支持的语言(BCP-47):后台在用的识别服务
languages 并集,按优先级顺序去重'
items:
type: string
type: array
translate_any_language:
description: '@go_tags(`json:"translate_any_language"`) //true=存在未限定语言的翻译服务'
type: boolean
translate_languages:
description: '@go_tags(`json:"translate_languages"`) //翻译支持的目标语言(BCP-47),口径同上'
items:
type: string
type: array
type: object
pb.EchomeetGetRecordReq:
properties:
id:
description: '@go_tags(`json:"id"`) //会议记录id'
type: integer
type: object
pb.EchomeetGetRecordResp:
properties:
record:
allOf:
- $ref: '#/definitions/pb.DBEchoMeetRecord'
description: '@go_tags(`json:"record"`) //会议记录'
type: object
pb.EchomeetGetRecordsReq:
properties:
ids:
description: '@go_tags(`json:"ids"`) //会议记录id'
items:
type: integer
type: array
type: object
pb.EchomeetGetRecordsResp:
properties:
records:
description: '@go_tags(`json:"records"`) //会议记录列表'
items:
$ref: '#/definitions/pb.DBEchoMeetRecord'
type: array
type: object
pb.EchomeetGetSummaryServicesReq:
type: object
pb.EchomeetGetSummaryServicesResp:
properties:
client_choice:
description: '@go_tags(`json:"client_choice"`) //后台是否允许客户端指定总结模型;false 时 services
仅含默认项、传 summary_svc_id 会被忽略'
type: boolean
services:
description: '@go_tags(`json:"services"`) //可选服务列表'
items:
$ref: '#/definitions/pb.EchomeetSummaryServiceItem'
type: array
type: object
pb.EchomeetGetTemplatesReq:
properties:
language:
description: '@go_tags(`json:"language"`) 语言'
type: string
type: object
pb.EchomeetGetTemplatesResp:
properties:
templates:
description: '@go_tags(`json:"templates"`) //会议记录模板列表'
items:
$ref: '#/definitions/pb.DBEchoMeetTemplate'
type: array
type: object
pb.EchomeetModifyRecordsReq:
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
type: object
pb.EchomeetModifyRecordsResp:
properties:
record:
allOf:
- $ref: '#/definitions/pb.DBEchoMeetRecord'
description: '@go_tags(`json:"record"`) //会议记录'
type: object
pb.EchomeetReadRecordReq:
properties:
id:
description: '@go_tags(`json:"id"`) //会议记录id'
type: integer
type: object
pb.EchomeetReadRecordResp:
type: object
pb.EchomeetStartTaskReq:
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
type: object
pb.EchomeetStartTaskResp:
type: object
pb.EchomeetSummaryReq:
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
type: object
pb.EchomeetSummaryServiceItem:
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
type: object
pb.EchomeetUpRecordReq:
properties:
audiourl:
description: '@go_tags(`json:"audiourl"`) //音频url'
type: string
id:
description: '@go_tags(`json:"id"`) //会议记录id'
type: integer
type: object
pb.EchomeetUpRecordResp:
properties:
record:
allOf:
- $ref: '#/definitions/pb.DBEchoMeetRecord'
description: '@go_tags(`json:"record"`) //会议记录'
type: object
pb.EchomeetUpdateTemplateReq:
properties:
template:
allOf:
- $ref: '#/definitions/pb.DBEchoMeetTemplate'
description: '@go_tags(`json:"template"`) //会议记录模板'
type: object
pb.EchomeetUpdateTemplateResp:
properties:
template:
allOf:
- $ref: '#/definitions/pb.DBEchoMeetTemplate'
description: '@go_tags(`json:"template"`) //会议记录模板'
type: object
pb.ErrorCode:
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
type: integer
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服务类型
enum:
- 0
- 1
type: integer
x-enum-varnames:
- MCPServerType_Http
- MCPServerType_SEE
pb.McpServer:
properties:
servername:
type: string
tools:
description: '@go_tags(`json:"tools"`) 工具列表'
type: string
type:
allOf:
- $ref: '#/definitions/pb.MCPServerType'
description: '@go_tags(`json:"type"`) 服务类型'
url:
type: string
type: object
pb.MeetCapabilitiesItem:
properties:
summary_client_choice:
description: '@go_tags(`json:"summary_client_choice"`) 后台是否允许客户端指定总结模型;false
时 summary_services 仅含默认项'
type: boolean
summary_services:
description: '@go_tags(`json:"summary_services"`) 可选总结大模型列表'
items:
$ref: '#/definitions/pb.MeetSummaryServiceItem'
type: array
transcribe_any_language:
description: '@go_tags(`json:"transcribe_any_language"`) true=存在未限定语言的识别服务,不受上面列表约束'
type: boolean
transcribe_languages:
description: '@go_tags(`json:"transcribe_languages"`) 录音识别支持的语言(BCP-47)'
items:
type: string
type: array
translate_any_language:
description: '@go_tags(`json:"translate_any_language"`) true=存在未限定语言的翻译服务'
type: boolean
translate_languages:
description: '@go_tags(`json:"translate_languages"`) 翻译支持的目标语言(BCP-47)'
items:
type: string
type: array
type: object
pb.MeetSummaryServiceItem:
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
type: object
pb.MusicSearchReq:
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
type: object
pb.MusicSearchResp:
properties:
musics:
items:
$ref: '#/definitions/pb.DBMusic'
type: array
type: object
pb.MusicUrlReq:
properties:
id:
type: integer
type: object
pb.MusicUrlResp:
properties:
id:
type: integer
ts:
type: integer
url:
type: string
type: object
pb.PayAlipayNotifyReq:
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
type: object
pb.PayAskOrCancelReq:
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
type: object
pb.PayCreatePayOrderReq:
properties:
amount:
description: '@go_tags(`json:"amount" binding:"required,min=1"`) 订单金额(分)'
minimum: 1
type: integer
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: |-
当前使用设备(可选):客户端下单时带上正在使用的设备,服务端据此冻结订单的来源设备快照,
用于渠道分成结算。不传则回退到用户「最后绑定设备」。
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:
allOf:
- $ref: '#/definitions/pb.PaymentMethod'
description: '@go_tags(`json:"payment_method" binding:"required"`) 支付方式'
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
required:
- amount
- cancel_url
- notify_url
- payment_method
- product_id
- product_name
- return_url
type: object
pb.PayCreatePayOrderResp:
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:
allOf:
- $ref: '#/definitions/pb.AppPayParams'
description: '@go_tags(`json:"pay_params"`) 支付参数'
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
required:
- product_id
- product_name
type: object
pb.PayGetGoodssReq:
type: object
pb.PayGetGoodssResp:
properties:
goodss:
items:
$ref: '#/definitions/pb.DBGoods'
type: array
type: object
pb.PayGetOrderListReq:
properties:
page:
description: '@go_tags(`json:"page"`) 页码(从1开始)'
type: integer
size:
description: '@go_tags(`json:"size"`) 每页数量'
type: integer
type: object
pb.PayGetOrderListResp:
properties:
orderss:
items:
$ref: '#/definitions/pb.DBPayOrder'
type: array
total:
description: '@go_tags(`json:"total"`) 总数'
type: integer
type: object
pb.PayOrderStatus:
enum:
- 0
- 1
- 2
- 3
- 4
- 5
type: integer
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:
properties:
order:
allOf:
- $ref: '#/definitions/pb.DBPayOrder'
description: '@go_tags(`json:"order"`) 订单ID'
user:
allOf:
- $ref: '#/definitions/pb.DBUser'
description: '@go_tags(`json:"user"`) 用户信息'
type: object
pb.PayPayPalNotifyReq:
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
type: object
pb.PayWeChatNotifyReq:
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:
allOf:
- $ref: '#/definitions/pb.Resource'
description: 加密的核心资源数据
resource_type:
description: 通知类型(固定为"transaction")
type: string
summary:
description: 通知摘要(如"支付成功")
type: string
type: object
pb.PaymentMethod:
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
type: integer
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:
properties:
additions:
allOf:
- $ref: '#/definitions/pb.ResultAdditions'
description: 结果附加信息
text:
description: 完整识别文本
type: string
utterances:
description: 分句列表
items:
$ref: '#/definitions/pb.Utterance'
type: array
type: object
pb.Resource:
properties:
algorithm:
description: 加密算法(固定为"AEAD_AES_256_GCM")
type: string
associated_data:
description: 附加数据(解密时使用)
type: string
ciphertext:
description: 加密后的交易数据(base64编码)
type: string
nonce:
description: 随机串(解密时使用)
type: string
type: object
pb.ResultAdditions:
properties:
duration:
description: 音频总时长(ms)
type: string
type: object
pb.SginTyoe:
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
type: integer
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:
enum:
- 0
- 2
- 3
type: integer
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:
enum:
- 0
- 1
- 2
- 3
- 4
type: integer
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:
properties:
categories:
description: '@go_tags(`json:"categories"`) 类别(逗号分隔)'
type: string
fields:
additionalProperties:
type: string
description: '@go_tags(`json:"fields"`) 区域合并+解密后的明文字段'
type: object
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
type: object
pb.UsageType:
enum:
- 0
- 1
- 2
- 3
- 4
type: integer
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:
properties:
code:
description: 激活码/公码(必填)
type: string
devicemac:
description: '[已废弃] 旧的逐设备激活码遗留字段,公码场景下忽略'
type: string
devicename:
description: '[已废弃] 旧的逐设备激活码遗留字段,公码场景下忽略'
type: string
type: object
pb.UserBindAuthCodeResp:
properties:
addmeetsecond:
description: 本次发放会议秒数
type: integer
addtradesecond:
description: 本次发放翻译秒数
type: integer
addvipday:
description: 本次发放VIP天数
type: integer
device:
allOf:
- $ref: '#/definitions/pb.DBUserDivice'
description: '[已废弃] 公码场景下为空'
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
type: object
pb.UserBindDeviceReq:
properties:
code:
description: 授权码
type: string
devicemac:
description: 耳机名称地址
type: string
devicename:
description: 耳机名称
type: string
pid:
description: 产品id
type: integer
version:
description: 版本号
type: string
type: object
pb.UserBindDeviceResp:
properties:
aichatintegral:
description: '@go_tags(`gorm:"aichatintegral" json:"aichatintegral"`) ai聊天积分'
type: integer
aichattotalintegral:
description: '@go_tags(`gorm:"aichattotalintegral" json:"aichattotalintegral"`)
ai聊天总积分'
type: integer
device:
allOf:
- $ref: '#/definitions/pb.DBUserDivice'
description: 绑定的耳机信息
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
type: object
pb.UserChannel:
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 100
- 101
- 102
type: integer
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:
properties:
message:
type: string
type: object
pb.UserFeedbackResp:
type: object
pb.UserGetAgentsReq:
type: object
pb.UserGetAgentsResp:
properties:
agents:
description: '@go_tags(`json:"agents"`) agent 列表'
items:
$ref: '#/definitions/pb.AgentItem'
type: array
type: object
pb.UserGetAgentsV3Req:
type: object
pb.UserGetAgentsV3Resp:
properties:
agents:
description: '@go_tags(`json:"agents"`) agent 列表'
items:
$ref: '#/definitions/pb.AgentItemV3'
type: array
type: object
pb.UserGetAppConfigReq:
type: object
pb.UserGetAppConfigResp:
properties:
agents:
description: '@go_tags(`json:"agents"`) 時間'
items:
$ref: '#/definitions/pb.DBAgent'
type: array
env:
additionalProperties:
type: string
description: '@go_tags(`json:"env"`) 時間'
type: object
mcps:
additionalProperties:
$ref: '#/definitions/pb.McpServer'
description: '@go_tags(`json:"mcps"`) 時間'
type: object
products:
description: '@go_tags(`json:"products"`) 時間'
items:
$ref: '#/definitions/pb.DBProduct'
type: array
type: object
pb.UserGetAppConfigV3Req:
type: object
pb.UserGetAppConfigV3Resp:
properties:
agents:
description: '@go_tags(`json:"agents"`) 智能体列表(结构同 user_getagents_v3,含 type 与服务编排)'
items:
$ref: '#/definitions/pb.AgentItemV3'
type: array
env:
additionalProperties:
type: string
description: '@go_tags(`json:"env"`) 应用环境变量(app_config + 本区域 global_config)'
type: object
meet:
allOf:
- $ref: '#/definitions/pb.MeetCapabilitiesItem'
description: '@go_tags(`json:"meet"`) 会议记录能力(语言 + 总结大模型)'
products:
description: '@go_tags(`json:"products"`) 产品列表'
items:
$ref: '#/definitions/pb.DBProduct'
type: array
thirdsvcs:
description: '@go_tags(`json:"thirdsvcs"`) 第三方服务(含 MCP 类,按用户区域合并、凭据已解密为明文)'
items:
$ref: '#/definitions/pb.ThirdSvcItem'
type: array
type: object
pb.UserGetChannelAppReq:
properties:
channel:
type: integer
version:
description: 客户端当前版本号(如 1.4.2);传了才会返回下面的升级判定,留空则判定字段恒为 false
type: string
type: object
pb.UserGetChannelAppResp:
properties:
app:
$ref: '#/definitions/pb.DBChannelApp'
forceupdate:
description: 必须更新:渠道开了强更且客户端版本低于最低支持版本,为 true 时客户端应阻断使用
type: boolean
needupdate:
description: 有更新可用:线上版本高于客户端版本
type: boolean
reviewing:
description: 客户端当前版本正处于渠道审核期,可据此隐藏未过审功能
type: boolean
type: object
pb.UserGetChannelAppsReq:
type: object
pb.UserGetChannelAppsResp:
properties:
apps:
items:
$ref: '#/definitions/pb.DBChannelApp'
type: array
type: object
pb.UserGetDevicesReq:
type: object
pb.UserGetDevicesResp:
properties:
devices:
items:
$ref: '#/definitions/pb.DBUserDivice'
type: array
type: object
pb.UserGetInfoReq:
properties:
channel:
allOf:
- $ref: '#/definitions/pb.UserChannel'
description: 渠道
version:
description: 版本号
type: string
type: object
pb.UserGetInfoResp:
properties:
devices:
description: |-
用户设备列表
example:
items:
$ref: '#/definitions/pb.DBUserDivice'
type: array
user:
allOf:
- $ref: '#/definitions/pb.DBUser'
description: |-
用户信息
example:
type: object
pb.UserGetProductReq:
properties:
id:
type: integer
type: object
pb.UserGetProductResp:
properties:
product:
$ref: '#/definitions/pb.DBProduct'
type: object
pb.UserGetProductVersionsReq:
properties:
pid:
description: '@go_tags(`json:"pid"`) 产品id'
type: integer
type: object
pb.UserGetProductVersionsResp:
properties:
versions:
description: '@go_tags(`json:"versions"`) 固件版本列表'
items:
$ref: '#/definitions/pb.DBProductVersion'
type: array
type: object
pb.UserGetStatisticsReq:
type: object
pb.UserGetStatisticsResp:
properties:
statistics:
$ref: '#/definitions/pb.DBUserStatistics'
type: object
pb.UserGetThirdSvcsReq:
properties:
ids:
description: '@go_tags(`json:"ids"`) 按服务 id 过滤;空=全部启用的服务'
items:
type: string
type: array
type: object
pb.UserGetThirdSvcsResp:
properties:
svcs:
description: '@go_tags(`json:"svcs"`) 服务列表'
items:
$ref: '#/definitions/pb.ThirdSvcItem'
type: array
type: object
pb.UserGetWakeupVoicesReq:
type: object
pb.UserGetWakeupVoicesResp:
properties:
voices:
items:
$ref: '#/definitions/pb.DBWakeupVoice'
type: array
type: object
pb.UserLogType:
enum:
- 0
- 1
- 2
- 3
- 4
type: integer
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:
properties:
actions:
additionalProperties:
type: integer
description: 行为
type: object
type: object
pb.UserPushActionResp:
type: object
pb.UserRankItem:
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
type: object
pb.UserReportAIContentReq:
properties:
describe:
type: string
message:
items:
type: string
type: array
reportContent:
type: string
reporttype:
type: string
type: object
pb.UserReportAIContentResp:
type: object
pb.UserSettingReq:
properties:
gender:
description: '@go_tags(`json:"gender" example:"1" description:"性别 1-男 2-女"`)
性别 1-男 2-女'
example: "1"
type: string
image:
description: '@go_tags(`json:"image" example:"" description:"头像"`) 头像连接'
example: ""
type: string
language:
description: '@go_tags(`json:"language" example:"en" description:"语言"`)'
example: en
type: string
name:
description: '@go_tags(`json:"name" example:"" description:"用户名"`) 用户名'
example: ""
type: string
type: object
pb.UserSettingResp:
properties:
avatar:
description: '@go_tags(`json:"avatar" example:"" description:"地址"`) 头像连接'
example: ""
type: string
gender:
description: '@go_tags(`json:"gender" example:"1" description:"性别 1-男 2-女"`)
性别 1-男 2-女'
example: 1
type: integer
language:
description: '@go_tags(`json:"language" example:"en" description:"语言"`)'
example: en
type: string
name:
description: '@go_tags(`json:"name" example:"用户名" description:"用户名"`)'
example: 用户名
type: string
type: object
pb.UserSginReq:
properties:
avatar:
description: '@go_tags(`gorm:"avatar" json:"avatar" example:"" description:"头像连接"`)
头像连接'
example: ""
type: string
channel:
allOf:
- $ref: '#/definitions/pb.UserChannel'
description: 渠道
language:
description: '@go_tags(`json:"language" example:"en" description:"语言"`)'
example: en
type: string
mail:
description: '@go_tags(`json:"mail" example:"" description:"邮箱地址"`) 邮箱地址'
example: ""
type: string
name:
description: '@go_tags(`gorm:"name:50" json:"name" example:"" description:"用户名"`)
用户名'
example: ""
type: string
phone:
description: '@go_tags(`json:"phone" example:"" description:"手机号码“`) 手机号'
example: ""
type: string
phonemac:
description: '@go_tags(`json:"phonemac" example:"" description:"手机硬件id"`)
手机硬件id'
example: ""
type: string
phonemodel:
description: '@go_tags(`json:"phonemodel" example:"" description:"设备型号"`)
手机型号'
example: ""
type: string
stype:
allOf:
- $ref: '#/definitions/pb.SginTyoe'
description: '@go_tags(`json:"stype" example:"0" description:"登录方式“`) 登录方式'
example: 0
ttoken:
description: '@go_tags(`json:"ttoken" example:"" description:"第三方token"`)
第三方token'
example: ""
type: string
vcode:
description: '@go_tags(`json:"vcode" example:"" description:"验证码"`) 验证码'
example: ""
type: string
version:
description: 版本号
type: string
type: object
pb.UserSginResp:
properties:
devices:
description: |-
用户设备列表
example:
items:
$ref: '#/definitions/pb.DBUserDivice'
type: array
token:
description: |-
认证token
缓存在本地 可以通过token 登录
example: 认证token
example: 认证token
type: string
user:
allOf:
- $ref: '#/definitions/pb.DBUser'
description: |-
用户信息
example:
type: object
pb.UserState:
enum:
- 0
- 1
- 2
type: integer
x-enum-comments:
UserState_Cancelled: 已注销状态
UserState_Disabled: 禁用状态
UserState_Normal: 正常状态
x-enum-varnames:
- UserState_Normal
- UserState_Disabled
- UserState_Cancelled
pb.UserUnBindDeviceReq:
properties:
id:
description: 设备id
type: integer
type: object
pb.UserUnBindDeviceResp:
type: object
pb.UserUpdateDeviceSettingReq:
properties:
id:
type: integer
lxsetting:
type: string
type: object
pb.UserUpdateDeviceSettingResp:
properties:
id:
type: integer
lxsetting:
type: string
type: object
pb.UserUsagesReq:
properties:
usages:
additionalProperties:
type: integer
description: 用量统计数据
type: object
usagetype:
allOf:
- $ref: '#/definitions/pb.UsageType'
description: 使用类型
type: object
pb.UserUsagesResp:
properties:
usages:
additionalProperties:
type: integer
description: 资源剩余使用量
type: object
type: object
pb.UserVerificationReq:
properties:
addr:
description: |-
目标地址
选填,长度 11
example: 手机号/邮箱
example: ""
type: string
vtype:
description: |-
验证码类型“
选填,长度 11
example: 0 邮箱验证 1 手机验证
example: 0
type: integer
type: object
pb.UserVerificationResp:
type: object
pb.Utterance:
properties:
additions:
allOf:
- $ref: '#/definitions/pb.UtteranceAdditions'
description: 附加信息
end_time:
description: 分句结束时间(ms)
type: integer
start_time:
description: 分句开始时间(ms)
type: integer
text:
description: 分句文本
type: string
words:
description: 分句下的字词列表
items:
$ref: '#/definitions/pb.Word'
type: array
type: object
pb.UtteranceAdditions:
properties:
channel_id:
description: 声道ID
type: string
speaker:
description: 说话人ID
type: string
type: object
pb.Word:
properties:
confidence:
description: 置信度
type: number
end_time:
description: 结束时间(ms)
type: integer
start_time:
description: 开始时间(ms)
type: integer
text:
description: 字词文本
type: string
type: object
yunyan_sys_migu.Content:
properties:
data:
type: object
type:
type: string
type: object
info:
contact: {}
description: 智能耳机服务
title: Home API
version: "1.0"
paths:
/api/home/agents_getagents:
post:
consumes:
- application/json
description: 获取智能体列表
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.AgentsGetAgentsReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.AgentsGetAgentsResp'
type: object
security:
- BearerAuth: []
summary: 获取智能体列表
tags:
- Agents
/api/home/agents_getagenturl:
post:
consumes:
- application/json
description: 获取智能体连接URL和Token
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.AgentsGetAgentUrlReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.AgentsGetAgentUrlResp'
type: object
security:
- BearerAuth: []
summary: 获取智能体连接信息
tags:
- Agents
/api/home/allhelp_addtask:
post:
consumes:
- application/json
description: 创建一个新的定时任务
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.AllhelpAddTaskReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.AllhelpAddTaskResp'
type: object
security:
- BearerAuth: []
summary: 添加任务
tags:
- Allhelp
/api/home/allhelp_canceltask:
post:
consumes:
- application/json
description: 取消指定任务
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.AllhelpCancelTaskReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.AllhelpCancelTaskResp'
type: object
security:
- BearerAuth: []
summary: 取消任务
tags:
- Allhelp
/api/home/allhelp_completetask:
post:
consumes:
- application/json
description: 用户确认完成任务
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.AllhelpCompleteTaskReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.AllhelpCompleteTaskResp'
type: object
security:
- BearerAuth: []
summary: 完成任务
tags:
- Allhelp
/api/home/allhelp_delchatsummary:
post:
consumes:
- application/json
description: 删除当前用户的指定总结记录
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.AllhelpDelChatSummaryReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.AllhelpDelChatSummaryResp'
type: object
security:
- BearerAuth: []
summary: 删除每日聊天总结
tags:
- Allhelp
/api/home/allhelp_getchatsummary:
post:
consumes:
- application/json
description: 按日期查询当前用户的每日聊天总结记录,未提交则返回 record.id=0
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.AllhelpGetChatSummaryReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.AllhelpGetChatSummaryResp'
type: object
security:
- BearerAuth: []
summary: 查询每日聊天总结
tags:
- Allhelp
/api/home/allhelp_gettasks:
post:
consumes:
- application/json
description: 分页获取用户的任务列表
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.AllhelpGetTasksReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.AllhelpGetTasksResp'
type: object
security:
- BearerAuth: []
summary: 获取任务列表
tags:
- Allhelp
/api/home/allhelp_listchatsummaries:
post:
consumes:
- application/json
description: 按日期范围查询当前用户的每日聊天总结列表
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.AllhelpListChatSummariesReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.AllhelpListChatSummariesResp'
type: object
security:
- BearerAuth: []
summary: 列表每日聊天总结
tags:
- Allhelp
/api/home/allhelp_submitchatsummary:
post:
consumes:
- application/json
description: 提交某一天的聊天消息列表,异步调用AI生成总结;同一(uid,日期)重复提交会覆盖重算
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.AllhelpSubmitChatSummaryReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.AllhelpSubmitChatSummaryResp'
type: object
security:
- BearerAuth: []
summary: 提交每日聊天总结任务
tags:
- Allhelp
/api/home/bailian_deviceregister:
post:
consumes:
- application/json
description: 设备端首次联网调用,本服务透传给阿里云 POP,返回的 data 结构由设备 SDK 解签使用
parameters:
- description: 设备签名请求
in: body
name: req
required: true
schema:
$ref: '#/definitions/pb.BailianDeviceRegisterReq'
produces:
- application/json
responses:
"200":
description: OK
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.BailianDeviceRegisterResp'
type: object
summary: 百炼设备注册中转(半托管模式)
tags:
- Bailian
/api/home/bailian_gettoken:
post:
consumes:
- application/json
description: 设备端每次需要交互令牌时调用;本服务补注 tokenKey(百炼 API Key)后转发 POP
parameters:
- description: 设备签名请求
in: body
name: req
required: true
schema:
$ref: '#/definitions/pb.BailianGetTokenReq'
produces:
- application/json
responses:
"200":
description: OK
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.BailianGetTokenResp'
type: object
summary: 百炼获取业务交互令牌中转(半托管模式)
tags:
- Bailian
/api/home/echomeet_addrecord:
post:
consumes:
- application/json
description: 新增一条会议记录,支持携带已有转写内容
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetAddRecordReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetAddRecordResp'
type: object
security:
- BearerAuth: []
summary: 新增会议记录
tags:
- Echomeet
/api/home/echomeet_addtemplate:
post:
consumes:
- application/json
description: 新增一条会议模板
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetAddTemplateReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetAddTemplateResp'
type: object
security:
- BearerAuth: []
summary: 新增会议模板
tags:
- Echomeet
/api/home/echomeet_alibackcall:
post:
consumes:
- application/json
description: 接收阿里云录音文件转写异步回调结果
parameters:
- description: 阿里云回调参数
in: body
name: notify
required: true
schema:
$ref: '#/definitions/pb.EchomeetAliCallbackReq'
produces:
- application/json
responses:
"200":
description: 处理结果
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetAliCallbackResp'
type: object
summary: 处理阿里云录音文件转写回调
tags:
- Echomeet
/api/home/echomeet_backcall:
post:
consumes:
- application/json
description: 接收由HTTP回调网关转发来的已验证的支付通知,并处理业务逻辑
parameters:
- description: 回调参数
in: body
name: notify
required: true
schema:
$ref: '#/definitions/pb.EchomeetCallbackReq'
produces:
- application/json
responses:
"200":
description: 处理结果
schema:
$ref: '#/definitions/comm.HttpResult'
security:
- BearerAuth: []
summary: 处理Echomeet异步通知 [内部RPC]
tags:
- Echomeet
/api/home/echomeet_delrecords:
post:
consumes:
- application/json
description: 根据 Ids 批量删除会议记录
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetDelRecordsReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetDelRecordsResp'
type: object
security:
- BearerAuth: []
summary: 批量删除会议记录
tags:
- Echomeet
/api/home/echomeet_deltemplate:
post:
consumes:
- application/json
description: 根据 Ids 批量删除会议模板
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetDeleteTemplateReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetDeleteTemplateResp'
type: object
security:
- BearerAuth: []
summary: 删除会议模板
tags:
- Echomeet
/api/home/echomeet_getallrecords:
post:
consumes:
- application/json
description: 获取当前用户的全部会议记录
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetGetAllRecordsReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetGetAllRecordsResp'
type: object
security:
- BearerAuth: []
summary: 获取用户全部会议记录
tags:
- Echomeet
/api/home/echomeet_getcapabilities:
post:
consumes:
- application/json
description: 一次性下发客户端做界面所需的两份清单,全部来自后台配置、服务端下发,客户端不写死:
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetGetCapabilitiesReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetGetCapabilitiesResp'
type: object
security:
- BearerAuth: []
summary: 获取会议记录能力清单(支持语言 + 可选总结大模型)
tags:
- Echomeet
/api/home/echomeet_getrecord:
post:
consumes:
- application/json
description: 根据 Id 获取单条会议记录,若处于转写中会触发一次状态轮询
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetGetRecordReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetGetRecordResp'
type: object
security:
- BearerAuth: []
summary: 获取单条会议记录
tags:
- Echomeet
/api/home/echomeet_getrecords:
post:
consumes:
- application/json
description: 根据 Ids 批量获取会议记录,若存在转写中的记录会触发一次状态轮询
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetGetRecordsReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetGetRecordsResp'
type: object
security:
- BearerAuth: []
summary: 批量获取会议记录
tags:
- Echomeet
/api/home/echomeet_getsummaryservices:
post:
consumes:
- application/json
description: 由后台「会议记录服务」编排下发:client_choice 为后台开关(关闭时仅返回默认项、
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetGetSummaryServicesReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetGetSummaryServicesResp'
type: object
security:
- BearerAuth: []
summary: 获取客户端可选的总结大模型服务列表
tags:
- Echomeet
/api/home/echomeet_gettemplates:
post:
consumes:
- application/json
description: 获取公共模板与当前用户的模板列表,按语言过滤
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetGetTemplatesReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetGetTemplatesResp'
type: object
security:
- BearerAuth: []
summary: 获取会议模板列表
tags:
- Echomeet
/api/home/echomeet_modifyrecord:
post:
consumes:
- application/json
description: 修改会议记录的标题、地址、人员、转写及总结内容(字段传 "NULL" 表示不更新)
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetModifyRecordsReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetModifyRecordsResp'
type: object
security:
- BearerAuth: []
summary: 修改会议记录
tags:
- Echomeet
/api/home/echomeet_readrecord:
post:
consumes:
- application/json
description: 将单条会议记录状态置为已读
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetReadRecordReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetReadRecordResp'
type: object
security:
- BearerAuth: []
summary: 标记会议记录已读
tags:
- Echomeet
/api/home/echomeet_starttask:
post:
consumes:
- application/json
description: 扣除积分并启动指定会议记录的转写/翻译任务,根据源语言自动路由到字节或阿里云
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetStartTaskReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetStartTaskResp'
type: object
security:
- BearerAuth: []
summary: 启动会议转写任务
tags:
- Echomeet
/api/home/echomeet_summary:
post:
consumes:
- application/json
description: 按指定模板和语言对已有会议记录进行翻译与 AI 总结
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetSummaryReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetAddRecordResp'
type: object
security:
- BearerAuth: []
summary: 会议记录智能总结
tags:
- Echomeet
/api/home/echomeet_updatetemplate:
post:
consumes:
- application/json
description: 更新当前用户的会议模板
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetUpdateTemplateReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetUpdateTemplateResp'
type: object
security:
- BearerAuth: []
summary: 更新会议模板
tags:
- Echomeet
/api/home/echomeet_uprecord:
post:
consumes:
- application/json
description: 更新会议记录的音频文件地址
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.EchomeetUpRecordReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.EchomeetUpRecordResp'
type: object
security:
- BearerAuth: []
summary: 更新会议记录音频地址
tags:
- Echomeet
/api/home/music_search:
post:
consumes:
- application/json
description: 获取音乐播放地址
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.MusicSearchReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.MusicSearchResp'
type: object
security:
- BearerAuth: []
summary: 获取音乐播放地址
tags:
- Music
/api/home/music_url:
post:
consumes:
- application/json
description: 获取音乐播放地址
parameters:
- description: 请求数据
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.MusicUrlReq'
produces:
- application/json
responses:
"200":
description: 响应数据
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.MusicUrlResp'
type: object
security:
- BearerAuth: []
summary: 获取音乐播放地址
tags:
- Music
/api/home/pay_alipaynotify:
post:
consumes:
- application/json
description: 接收由HTTP回调网关转发来的已验证、解密的支付通知,并处理业务逻辑
parameters:
- description: 支付宝异步通知参数
in: body
name: notify
required: true
schema:
$ref: '#/definitions/pb.PayAlipayNotifyReq'
produces:
- application/json
responses:
"200":
description: 处理结果
schema:
$ref: '#/definitions/comm.HttpResult'
security:
- BearerAuth: []
summary: 处理微信支付异步通知 [内部RPC]
tags:
- Pay
/api/home/pay_createorder:
post:
consumes:
- application/json
description: 创建支付订单并返回支付信息
parameters:
- description: 订单信息
in: body
name: order
required: true
schema:
$ref: '#/definitions/pb.PayCreatePayOrderReq'
produces:
- application/json
responses:
"200":
description: 支付订单信息
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.PayCreatePayOrderResp'
type: object
security:
- BearerAuth: []
summary: 创建支付订单
tags:
- Pay
/api/home/pay_getgoodss:
post:
consumes:
- application/json
description: 获取商品列表
parameters:
- description: 获取商品列表
in: body
name: order
required: true
schema:
$ref: '#/definitions/pb.PayGetGoodssReq'
produces:
- application/json
responses:
"200":
description: 商品列表
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.PayGetGoodssResp'
type: object
security:
- BearerAuth: []
summary: 获取商品列表
tags:
- Pay
/api/home/pay_getorderlist:
post:
consumes:
- application/json
description: 获取商品列表
parameters:
- description: 获取订单列表
in: body
name: order
required: true
schema:
$ref: '#/definitions/pb.PayGetOrderListReq'
produces:
- application/json
responses:
"200":
description: 订单列表
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.PayGetOrderListResp'
type: object
security:
- BearerAuth: []
summary: 获取商品列表
tags:
- Pay
/api/home/pay_paypalnotify:
post:
consumes:
- application/json
description: 接收由HTTP回调网关转发来的已验证的支付通知,并处理业务逻辑
parameters:
- description: PayPal 异步通知参数
in: body
name: notify
required: true
schema:
$ref: '#/definitions/pb.PayPayPalNotifyReq'
produces:
- application/json
responses:
"200":
description: 处理结果
schema:
$ref: '#/definitions/comm.HttpResult'
security:
- BearerAuth: []
summary: 处理PayPal支付异步通知 [内部RPC]
tags:
- Pay
/api/home/pay_verifyorder:
post:
consumes:
- application/json
description: 验证支付订单是否有效
parameters:
- description: 发送绑定请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.PayAskOrCancelReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.PayPayOrderAskResp'
type: object
security:
- BearerAuth: []
summary: 验证订单
tags:
- User
/api/home/pay_wechatnotify:
post:
consumes:
- application/json
description: 接收由HTTP回调网关转发来的已验证、解密的支付通知,并处理业务逻辑
parameters:
- description: 已解密的微信支付通知
in: body
name: notify
required: true
schema:
$ref: '#/definitions/pb.PayWeChatNotifyReq'
produces:
- application/json
responses:
"200":
description: 处理结果
schema:
$ref: '#/definitions/comm.HttpResult'
security:
- BearerAuth: []
summary: 处理微信支付异步通知 [内部RPC]
tags:
- Pay
/api/home/user_bindauthcode:
post:
consumes:
- application/json
description: 新设计:激活码 = 厂家公码。每个用户一生仅可领取 1 次(DBUser.Isactivatecode 判重)
parameters:
- description: 扫激活码请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserBindAuthCodeReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserBindAuthCodeResp'
type: object
security:
- BearerAuth: []
summary: 扫激活码领取奖励
tags:
- User
/api/home/user_binddevice:
post:
consumes:
- application/json
description: 绑定耳机设备
parameters:
- description: 发送绑定请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserBindDeviceReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserBindDeviceResp'
type: object
security:
- BearerAuth: []
summary: 绑定耳机设备
tags:
- User
/api/home/user_del:
post:
consumes:
- application/json
description: 软注销账号:清理业务数据与个人痕迹,保留身份锚点与 Isgiveaway,下次登录可复活
parameters:
- description: 注销账号信息
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserDelReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserDelResp'
type: object
security:
- BearerAuth: []
summary: 注销账号信息
tags:
- User
/api/home/user_feedback:
post:
consumes:
- application/json
description: 用户反馈
parameters:
- description: 用户反馈
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserFeedbackReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserFeedbackResp'
type: object
security:
- BearerAuth: []
summary: 用户反馈
tags:
- User
/api/home/user_getagents_v2:
post:
consumes:
- application/json
description: 下发后台「Agent 配置」:本应用作用域(应用覆盖全局)、仅启用的,按 sort 升序;服务编排字段引用 user_getthirdsvcs_v2
下发的服务 id
parameters:
- description: 获取 agent 列表
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetAgentsReq'
produces:
- application/json
responses:
"200":
description: 成功返回(整体响应体经 AES-CBC 加密,响应头 X-Encrypted:1)
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetAgentsResp'
type: object
security:
- BearerAuth: []
summary: 获取 agent 列表
tags:
- User
/api/home/user_getagents_v3:
post:
consumes:
- application/json
description: 下发后台「Agent 配置」,相比 v2 增加:绑定的 MCP 服务 id、变量定义,且 voice_map 已按内置音色表补全
parameters:
- description: 获取 agent 列表
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetAgentsV3Req'
produces:
- application/json
responses:
"200":
description: 成功返回(整体响应体经 AES-CBC 加密,响应头 X-Encrypted:1)
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetAgentsV3Resp'
type: object
security:
- BearerAuth: []
summary: 获取 agent 列表(v3)
tags:
- User
/api/home/user_getappconfig:
post:
consumes:
- application/json
description: 获取应用配置
parameters:
- description: 获取应用配置
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetAppConfigReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetAppConfigResp'
type: object
security:
- BearerAuth: []
summary: 获取应用配置
tags:
- User
/api/home/user_getappconfig_v2:
post:
consumes:
- application/json
description: 获取应用配置
parameters:
- description: 获取应用配置
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetAppConfigReq'
produces:
- application/json
responses:
"200":
description: 成功返回(整体响应体经 AES-CBC 加密,响应头 X-Encrypted:1)
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetAppConfigResp'
type: object
security:
- BearerAuth: []
summary: 获取应用配置
tags:
- User
/api/home/user_getappconfig_v3:
post:
consumes:
- application/json
description: 一次性下发客户端启动所需的全部配置:环境变量 + 智能体 + 产品 + 第三方服务(含 MCP) + 会议记录能力。
parameters:
- description: 获取应用配置
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetAppConfigV3Req'
produces:
- application/json
responses:
"200":
description: 成功返回(整体响应体经 AES-CBC 加密,响应头 X-Encrypted:1)
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetAppConfigV3Resp'
type: object
security:
- BearerAuth: []
summary: 获取应用配置(v3)
tags:
- User
/api/home/user_getchannelapp:
post:
consumes:
- application/json
description: 获取渠道包信息并校验升级:传了 version 时返回 needupdate/forceupdate/reviewing 三个判定结果
parameters:
- description: 获取渠道包信息
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetChannelAppReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetChannelAppResp'
type: object
summary: 获取渠道包信息
tags:
- User
/api/home/user_getchannelapps:
post:
consumes:
- application/json
description: 获取渠道包信息
parameters:
- description: 获取渠道包信息
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetChannelAppsReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetChannelAppsResp'
type: object
summary: 获取渠道包信息
tags:
- User
/api/home/user_getdevices:
post:
consumes:
- application/json
description: 获取设备信息
parameters:
- description: 获取设备信息
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetDevicesReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetDevicesResp'
type: object
security:
- BearerAuth: []
summary: 获取设备信息
tags:
- User
/api/home/user_getinfo:
post:
consumes:
- application/json
description: 使用token获取用户信息
parameters:
- description: 获取用户信息
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetInfoReq'
produces:
- application/json
responses:
"200":
description: 成功返回用户信息
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetInfoResp'
type: object
security:
- BearerAuth: []
summary: 获取用户信息
tags:
- User
/api/home/user_getproduct:
post:
consumes:
- application/json
description: 获取设备信息
parameters:
- description: 获取设备信息
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetProductReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetProductResp'
type: object
security:
- BearerAuth: []
summary: 获取设备信息
tags:
- User
/api/home/user_getproductversions:
post:
consumes:
- application/json
description: 获取产品对应的所有固件版本
parameters:
- description: 获取产品固件版本列表
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetProductVersionsReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetProductVersionsResp'
type: object
security:
- BearerAuth: []
summary: 获取产品固件版本列表
tags:
- User
/api/home/user_getstatistics:
post:
consumes:
- application/json
description: 获取用户统计数据
parameters:
- description: 获取统计数据请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetStatisticsReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetStatisticsResp'
type: object
summary: 获取统计数据
tags:
- User
/api/home/user_getthirdsvcs_v2:
post:
consumes:
- application/json
description: 下发后台「第三方服务配置」:本应用作用域(应用覆盖全局)+按用户 IP 区域合并字段覆盖,凭据解密为明文
parameters:
- description: 获取第三方服务列表
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetThirdSvcsReq'
produces:
- application/json
responses:
"200":
description: 成功返回(整体响应体经 AES-CBC 加密,响应头 X-Encrypted:1)
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetThirdSvcsResp'
type: object
security:
- BearerAuth: []
summary: 获取第三方服务列表
tags:
- User
/api/home/user_getwakeupvoices:
post:
consumes:
- application/json
description: 获取唤醒词列表
parameters:
- description: 用户反馈
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserGetWakeupVoicesReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserGetWakeupVoicesResp'
type: object
security:
- BearerAuth: []
summary: 获取唤醒词列表
tags:
- User
/api/home/user_pushaction:
post:
consumes:
- application/json
description: 上报用户行为
parameters:
- description: 上报用户行为
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserPushActionReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserPushActionResp'
type: object
security:
- BearerAuth: []
summary: 上报用户行为
tags:
- User
/api/home/user_reportaicontent:
post:
consumes:
- application/json
description: 举报AI内容
parameters:
- description: 举报AI内容
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserReportAIContentReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserReportAIContentResp'
type: object
security:
- BearerAuth: []
summary: 举报AI内容
tags:
- User
/api/home/user_setting:
post:
consumes:
- application/json
description: 用户设置接口
parameters:
- description: 发送请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserSettingReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserSettingResp'
type: object
security:
- BearerAuth: []
summary: 用户设置接口
tags:
- User
/api/home/user_sgin:
post:
consumes:
- application/json
description: 根据登录类型实现登录操作
parameters:
- description: 登录请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserSginReq'
produces:
- application/json
responses:
"200":
description: 成功返回用户信息
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserSginResp'
type: object
summary: 登入接口
tags:
- User
/api/home/user_unbinddevice:
post:
consumes:
- application/json
description: 绑定耳机设备
parameters:
- description: 发送绑定请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserUnBindDeviceReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserUnBindDeviceResp'
type: object
security:
- BearerAuth: []
summary: 解绑定耳机设备
tags:
- User
/api/home/user_updatedevicesetting:
post:
consumes:
- application/json
description: 更新设备设置接口
parameters:
- description: 发送请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserUpdateDeviceSettingReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserUpdateDeviceSettingResp'
type: object
security:
- BearerAuth: []
summary: 更新设备设置接口
tags:
- User
/api/home/user_usages:
post:
consumes:
- application/json
description: 使用资源请求
parameters:
- description: 使用资源请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserUsagesReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserUsagesResp'
type: object
security:
- BearerAuth: []
summary: 使用资源请求
tags:
- User
/api/home/user_verification:
post:
consumes:
- application/json
description: 发送验证码
parameters:
- description: 发送验证吗请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.UserVerificationReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.UserVerificationResp'
type: object
summary: 发送验证码
tags:
- User
/chat:
post:
consumes:
- application/json
description: |-
普通聊天接口,内部对接咪咕灵犀。
stream=false:返回完整 JSON(ChatResponse),结构化音乐卡片在 cards 字段;
stream=true:返回 SSE 流,每帧一个 ChatChunk(音乐卡片在 card 字段),结束以 data: [DONE]。
鉴权:服务端配置了 ApiKey 时需带请求头 Authorization: Bearer <key>。
parameters:
- description: 聊天请求
in: body
name: body
required: true
schema:
$ref: '#/definitions/migu.ChatRequest'
produces:
- application/json
- text/event-stream
responses:
"200":
description: '非流式完整响应;流式时为 SSE 流(data: {ChatChunk} ... data: [DONE])'
schema:
$ref: '#/definitions/migu.ChatResponse'
"400":
description: 参数错误
schema:
additionalProperties:
type: string
type: object
"401":
description: 鉴权失败
schema:
additionalProperties:
type: string
type: object
summary: 咪咕灵犀聊天
tags:
- Migu
/web/api/api_getglobalstats:
post:
consumes:
- application/json
description: 返回实时计算的累计注册/充值人数;stat 字段已停用(App 运营统计迁至运营后台)
parameters:
- description: 查询请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.ApiGetGlobalStatsReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.ApiGetGlobalStatsResp'
type: object
summary: 查询全局累计统计
tags:
- API
/web/api/api_getuserrank:
post:
consumes:
- application/json
description: 翻译/会议两类用量 Top N,可选标记当前账号名下用户
parameters:
- description: 查询请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.ApiGetUserRankReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.ApiGetUserRankResp'
type: object
summary: 查询用户使用量排行
tags:
- API
/web/api/api_getuseruselogs:
post:
consumes:
- application/json
description: 查询用户使用量日志
parameters:
- description: 查询请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.ApiGetUserUseLogsReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.ApiGetUserUseLogsResp'
type: object
summary: 查询用户使用量日志
tags:
- API
/web/api/api_rebuildstats:
post:
consumes:
- application/json
description: 从源表重算 userstatistics 与 product_stat(仅超管);App 运营统计已迁至运营后台,不在此重建
parameters:
- description: 重建请求
in: body
name: user
required: true
schema:
$ref: '#/definitions/pb.ApiRebuildStatsReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
allOf:
- $ref: '#/definitions/comm.HttpResult'
- properties:
data:
$ref: '#/definitions/pb.ApiRebuildStatsResp'
type: object
summary: 重建统计数据
tags:
- API
securityDefinitions:
BearerAuth:
in: header
name: Authorization
type: apiKey
swagger: "2.0"