From 8483005cc383513fcd6ad63d3d4ab98db9e59bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E8=8C=82=E6=96=B0?= Date: Mon, 26 Jan 2026 14:10:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BB=A3=E9=87=91=E5=88=B8=E6=8E=A5=E5=8F=A3=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/get_user_voucher.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/pay/get_user_voucher.go b/services/pay/get_user_voucher.go index f9cc84c..ee679f1 100644 --- a/services/pay/get_user_voucher.go +++ b/services/pay/get_user_voucher.go @@ -7,9 +7,9 @@ import ( type GetUserVoucherRequest struct { *requests.RpcRequest - UserName string `position:"Body" field:"user_name"` - PayMoney float64 `position:"Body" field:"pay_money"` - GameId int64 `position:"Body" field:"game_id" ` + UserName string `position:"Body" field:"user_name"` + PayMoney string `position:"Body" field:"pay_money"` + GameId int64 `position:"Body" field:"game_id" ` } type GetUserVoucherResponse struct { @@ -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,