修改获取用户代金券接口参数类型
This commit is contained in:
parent
b43289ee28
commit
8483005cc3
@ -7,9 +7,9 @@ import (
|
|||||||
|
|
||||||
type GetUserVoucherRequest struct {
|
type GetUserVoucherRequest struct {
|
||||||
*requests.RpcRequest
|
*requests.RpcRequest
|
||||||
UserName string `position:"Body" field:"user_name"`
|
UserName string `position:"Body" field:"user_name"`
|
||||||
PayMoney float64 `position:"Body" field:"pay_money"`
|
PayMoney string `position:"Body" field:"pay_money"`
|
||||||
GameId int64 `position:"Body" field:"game_id" `
|
GameId int64 `position:"Body" field:"game_id" `
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetUserVoucherResponse struct {
|
type GetUserVoucherResponse struct {
|
||||||
@ -31,7 +31,7 @@ type Voucher struct {
|
|||||||
Deadline string `json:"deadline"`
|
Deadline string `json:"deadline"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func CreateGetUserVoucherRequest(userName string, gameId int64, payMoney float64) (req *GetUserVoucherRequest) {
|
func CreateGetUserVoucherRequest(userName string, gameId int64, payMoney string) (req *GetUserVoucherRequest) {
|
||||||
req = &GetUserVoucherRequest{
|
req = &GetUserVoucherRequest{
|
||||||
RpcRequest: &requests.RpcRequest{},
|
RpcRequest: &requests.RpcRequest{},
|
||||||
UserName: userName,
|
UserName: userName,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user