国内版本支付参数上传
parent
0804789e68
commit
06e3fb5de7
|
@ -53,7 +53,7 @@ function this.RequestPay(context)
|
|||
end
|
||||
end
|
||||
local params = SDK.SDKPayArgs.New()
|
||||
params.productId = context.RechargeId
|
||||
params.productId = context.Id
|
||||
params.productName = context.Name or ""
|
||||
params.productDesc = context.Desc or ""
|
||||
params.price = price * 100 -- 以分为单位
|
||||
|
@ -72,7 +72,7 @@ function this.RequestPay(context)
|
|||
params.guildID = PlayerManager.familyId
|
||||
-- 其他
|
||||
params.payNotifyUrl = ""
|
||||
params.extension = tostring(context.Id)--string.format("%s_%s_%s", PlayerManager.uid, context.Id, VersionManager:GetVersionInfo("subChannel"))--tostring(context.Id)
|
||||
params.extension = string.format("%s_%s_%s", PlayerManager.uid, context.Id, VersionManager:GetVersionInfo("subChannel"))--tostring(context.Id)
|
||||
--string.format("%s_%s_%s_%s_%s_%s",
|
||||
-- AppConst.OpenId,context.Id,context.Price,PlayerManager.uid,
|
||||
-- PlayerManager.serverInfo.server_id,PlayerManager.serverInfo.name)
|
||||
|
|
Loading…
Reference in New Issue