This commit is contained in:
2025-06-24 15:46:41 +08:00
parent 3833f67b03
commit be63c01987
22 changed files with 1509 additions and 34 deletions

View File

@@ -15,7 +15,6 @@ service main {
// 获取推广二维码海报
@handler GetAgentPromotionQrcode
get /promotion/qrcode (GetAgentPromotionQrcodeReq)
}
type (
@@ -250,6 +249,9 @@ service main {
@handler ActivateAgentMembership
post /membership/activate (AgentActivateMembershipReq) returns (AgentActivateMembershipResp)
@handler GetAgentWithdrawalTaxExemption
get /withdrawal/tax/exemption (GetWithdrawalTaxExemptionReq) returns (GetWithdrawalTaxExemptionResp)
}
type (
@@ -349,6 +351,14 @@ type (
AgentActivateMembershipResp {
Id string `json:"id"`
}
GetWithdrawalTaxExemptionReq {
}
GetWithdrawalTaxExemptionResp {
TotalExemptionAmount float64 `json:"total_exemption_amount"`
UsedExemptionAmount float64 `json:"used_exemption_amount"`
RemainingExemptionAmount float64 `json:"remaining_exemption_amount"`
TaxRate float64 `json:"tax_rate"`
}
)
@server (