f
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user