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