This commit is contained in:
Mrx
2026-06-06 17:03:08 +08:00
parent a85436950e
commit 35e9191981
28 changed files with 666 additions and 286 deletions

View File

@@ -39,6 +39,10 @@ service main {
@doc "重新执行代理处理"
@handler AdminRetryAgentProcess
post /retry-agent-process/:id (AdminRetryAgentProcessReq) returns (AdminRetryAgentProcessResp)
@doc "xpay补发货查微信单并到账"
@handler AdminXpayDeliver
post /xpay-deliver/:id (AdminXpayDeliverReq) returns (AdminXpayDeliverResp)
}
type (
@@ -169,4 +173,15 @@ type (
Message string `json:"message"` // 执行结果消息
ProcessedAt string `json:"processed_at"` // 处理时间
}
// xpay 补发货
AdminXpayDeliverReq {
Id string `path:"id"` // 订单ID
}
AdminXpayDeliverResp {
Credited bool `json:"credited"`
Notified bool `json:"notified"`
WechatDetail string `json:"wechat_detail"`
Errors []string `json:"errors"`
Message string `json:"message"`
}
)