This commit is contained in:
2025-07-25 00:39:49 +08:00
parent 0384d007bc
commit 563fde306a
21 changed files with 558 additions and 65 deletions

View File

@@ -7,7 +7,23 @@ info (
email: "2440983361@qq.com"
version: "v1"
)
@server (
prefix: api/v1/agent
group: agent
)
service main {
// 获取推广二维码海报
@handler GetAgentPromotionQrcode
get /promotion/qrcode (GetAgentPromotionQrcodeReq)
}
type (
GetAgentPromotionQrcodeReq{
QrcodeType string `form:"qrcode_type"`
QrcodeUrl string `form:"qrcode_url"`
}
)
// 代理服务基本类型定义
type AgentProductConfig {
ProductID int64 `json:"product_id"`

View File

@@ -51,8 +51,6 @@ type (
type (
WXMiniAuthReq {
Code string `json:"code"`
IV string `json:"iv"`
EncryptedData string `json:"encryptedData"`
}
WXMiniAuthResp {
AccessToken string `json:"accessToken"`