diff --git a/service/ejiaofei/check_cost.go b/service/ejiaofei/check_cost.go index 5ec7d91d..8a014211 100644 --- a/service/ejiaofei/check_cost.go +++ b/service/ejiaofei/check_cost.go @@ -14,7 +14,7 @@ type CheckCostResponse struct { OrderID string `xml:"orderid"` // 用户提交订单号 Face float64 `xml:"face"` // 官方价格 Price float64 `xml:"price"` // 用户成本价 - Error int `xml:"error"` // 错误提示 + Error int64 `xml:"error"` // 错误提示 } type CheckCostResult struct { diff --git a/service/ejiaofei/gprs_chongzhi_advance.go b/service/ejiaofei/gprs_chongzhi_advance.go index 3f9e5d2b..f0fc34a2 100644 --- a/service/ejiaofei/gprs_chongzhi_advance.go +++ b/service/ejiaofei/gprs_chongzhi_advance.go @@ -11,10 +11,10 @@ import ( type GprsChOngZhiAdvanceParams struct { OrderID string `json:"orderid"` // 用户提交的订单号 用户提交的订单号,最长32位(用户保证其唯一性) Account string `json:"account"` // 充值手机号 需要充值的手机号 - Gprs int `json:"gprs"` // 充值流量值 单位:MB(具体流量值请咨询商务) - Area int `json:"area"` // 充值流量范围 0 全国流量,1 省内流量 - EffectTime int `json:"effecttime"` // 生效日期 0 即时生效,1次日生效,2 次月生效 - Validity int `json:"validity"` // 流量有效期 传入月数,0为当月有效 + Gprs int64 `json:"gprs"` // 充值流量值 单位:MB(具体流量值请咨询商务) + Area int64 `json:"area"` // 充值流量范围 0 全国流量,1 省内流量 + EffectTime int64 `json:"effecttime"` // 生效日期 0 即时生效,1次日生效,2 次月生效 + Validity int64 `json:"validity"` // 流量有效期 传入月数,0为当月有效 Times string `json:"times"` // 时间戳 格式:yyyyMMddhhmmss } @@ -24,7 +24,7 @@ type GprsChOngZhiAdvanceResponse struct { OrderID string `xml:"orderid"` // 会员提交订单号 PorderID string `xml:"Porderid"` // 平台订单号 Account string `xml:"account"` // 充值手机号 - State int `xml:"state"` // 订单状态 + State int64 `xml:"state"` // 订单状态 StartTime string `xml:"starttime"` // 开始时间 EndTime string `xml:"endtime"` // 结束时间 Error string `xml:"error"` // 错误提示 diff --git a/service/ejiaofei/money_jkuser.go b/service/ejiaofei/money_jkuser.go index dd72a555..85bc3f4c 100644 --- a/service/ejiaofei/money_jkuser.go +++ b/service/ejiaofei/money_jkuser.go @@ -11,8 +11,8 @@ import ( type MoneyJkUserResponse struct { XMLName xml.Name `xml:"response"` LastMoney float64 `xml:"lastMoney"` // 用户余额 - Tag int `xml:"tag"` // 用户状态(0正常 1暂停) - Error int `xml:"error"` // 错误提示 + Tag int64 `xml:"tag"` // 用户状态(0正常 1暂停) + Error int64 `xml:"error"` // 错误提示 } type MoneyJkUserResult struct { diff --git a/service/ejiaofei/txchongzhi.go b/service/ejiaofei/txchongzhi.go index 2b45404a..289d2067 100644 --- a/service/ejiaofei/txchongzhi.go +++ b/service/ejiaofei/txchongzhi.go @@ -11,8 +11,8 @@ import ( type TxChOngZhiParams struct { OrderID string `json:"orderid"` // 用户提交的订单号 用户提交的订单号,最长32位(用户保证其唯一性) Account string `json:"account"` // QQ号 需要充值的QQ号 - ProductID int `json:"productid"` // 产品id - Amount int `json:"amount"` // 购买数量 + ProductID int64 `json:"productid"` // 产品id + Amount int64 `json:"amount"` // 购买数量 Ip string `json:"ip"` // 充值QQ号ip Times string `json:"times"` // 时间戳 格式:yyyyMMddhhmmss } @@ -23,9 +23,9 @@ type TxChOngZhiResponse struct { PorderID string `xml:"Porderid"` // 鼎信平台订单号 OrderID string `xml:"orderid"` // 用户订单号 Account string `xml:"account"` // 需要充值的QQ号 - ProductID int `xml:"productid"` // 充值产品id - Amount int `xml:"amount"` // 购买数量 - State int `xml:"state"` // 订单状态 + ProductID int64 `xml:"productid"` // 充值产品id + Amount int64 `xml:"amount"` // 购买数量 + State int64 `xml:"state"` // 订单状态 StartTime string `xml:"starttime"` // 开始时间 EndTime string `xml:"endtime"` // 结束时间 Error string `xml:"error"` // 错误提示