国内版本支付参数上传

dev_chengFeng
gaoxin 2020-08-24 17:56:55 +08:00
parent 0804789e68
commit 06e3fb5de7
1 changed files with 2 additions and 2 deletions

View File

@ -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)