You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
2.2 KiB
113 lines
2.2 KiB
package web |
|
|
|
import ( |
|
"server/modules/backend/app" |
|
"server/modules/web/values" |
|
) |
|
|
|
// swagger:route POST /balance/recharge/info balance idOfRechargeInfo |
|
// 支付界面信息 |
|
// Responses: |
|
// 200:RechargeInfoResp |
|
|
|
// swagger:response RechargeInfoResp |
|
type RechargeInfoResp struct { |
|
// in:body |
|
Body values.RechargeInfoResp |
|
} |
|
|
|
// swagger:route POST /balance/recharge/history balance idOfRechargeHistory |
|
// 充值记录 |
|
// Responses: |
|
// 200:RechargeHistoryResp |
|
|
|
// swagger:response RechargeHistoryResp |
|
type RechargeHistoryResp struct { |
|
// in:body |
|
Body values.RechargeHistoryResp |
|
} |
|
|
|
// swagger:parameters idOfRechargeHistory |
|
type RechargeHistoryReq struct { |
|
// in:body |
|
Body values.RechargeHistoryReq |
|
} |
|
|
|
// swagger:route POST /balance/recharge/do balance idOfRechargeDo |
|
// 支付 |
|
// Responses: |
|
// 200:RechargeDoResp |
|
|
|
// swagger:response RechargeDoResp |
|
type RechargeDoResp struct { |
|
// in:body |
|
Body app.R |
|
} |
|
|
|
// swagger:parameters idOfRechargeDo |
|
type RechargeDoReq struct { |
|
// in:body |
|
Body values.RechargeReq |
|
} |
|
|
|
// swagger:route POST /balance/withdraw/info balance idOfWithdrawInfo |
|
// 退出列表 |
|
// Responses: |
|
// 200:WithdrawInfoResp |
|
|
|
// swagger:response WithdrawInfoResp |
|
type WithdrawInfoResp struct { |
|
// in:body |
|
Body values.WithDrawInfoResp |
|
} |
|
|
|
// swagger:route POST /balance/withdraw/do balance idOfWithdrawDo |
|
// 退出 |
|
// Responses: |
|
// 200:WithdrawDoResp |
|
|
|
// swagger:parameters idOfWithdrawDo |
|
type WithdrawDoReq struct { |
|
// in:body |
|
Body values.WithdrawReq |
|
} |
|
|
|
// swagger:response WithdrawDoResp |
|
type WithdrawDoResp struct { |
|
// in:body |
|
Body app.R |
|
} |
|
|
|
// swagger:route POST /balance/withdraw/block/do balance idOfWithdrawBlockDo |
|
// 退出 |
|
// Responses: |
|
// 200:WithdrawBlockDoResp |
|
|
|
// swagger:parameters idOfWithdrawBlockDo |
|
type WithdrawBlockDoReq struct { |
|
// in:body |
|
Body values.WithdrawBlockReq |
|
} |
|
|
|
// swagger:response WithdrawBlockDoResp |
|
type WithdrawBlockDoResp struct { |
|
// in:body |
|
Body app.R |
|
} |
|
|
|
// swagger:route POST /balance/withdraw/history balance idOfWithdrawHistory |
|
// 退出记录 |
|
// Responses: |
|
// 200:WithdrawHistoryResp |
|
|
|
// swagger:response WithdrawHistoryResp |
|
type WithdrawHistoryResp struct { |
|
// in:body |
|
Body values.WithdrawHistoryResp |
|
} |
|
|
|
// swagger:parameters idOfWithdrawHistory |
|
type WithdrawHistoryReq struct { |
|
// in:body |
|
Body values.WithdrawHistoryReq |
|
}
|
|
|