qnc-server/app/user/cmd/api/desc/agent.api

30 lines
527 B
Plaintext
Raw Normal View History

2025-02-13 19:39:16 +08:00
syntax = "v1"
info (
title: "代理服务"
desc: "代理服务接口"
author: "Liangzai"
email: "2440983361@qq.com"
version: "v1"
)
import (
"agent/agent.api"
)
@server (
prefix: api/v1
group: agent
)
service main {
// 提交代理申请
@handler ApplyForAgent
post /agent/apply (AgentApplyReq) returns (AgentApplyResp)
// 查询代理申请状态
@handler GetAgentAuditStatus
get /agent/audit/status (AgentAuditStatusReq) returns (AgentAuditStatusResp)
}