修改获取用户代金券接口参数类型
This commit is contained in:
parent
b43289ee28
commit
8483005cc3
@ -8,7 +8,7 @@ import (
|
||||
type GetUserVoucherRequest struct {
|
||||
*requests.RpcRequest
|
||||
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" `
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ type Voucher struct {
|
||||
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{
|
||||
RpcRequest: &requests.RpcRequest{},
|
||||
UserName: userName,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user