修改糖果树关键字,新增三方充值接口参数

This commit is contained in:
Dragon
2022-10-21 18:11:54 +08:00
parent 5cbe8dc09f
commit f73cb53f04
6 changed files with 17 additions and 15 deletions

View File

@@ -17,6 +17,7 @@ let successUrl = window.location.href;//支付成功回调路径
let uid;
let modeOfPayment = false;//判断是否有选择支付方式
let paymentAmount = false;//判断是否有选择付款金额
var deviceId;//型号ID
$(function () {
console.log(host)
if (EnvCheck() == 'test') {//degBug
@@ -59,6 +60,7 @@ $(function () {
$('.wx_skip').hide();
}
function getChargePageInfoForH5 (countryCode) {
deviceId = get_param('deviceId')
channelType = get_param('channelType');
let is_CN = countryCode == "CN" ? true : false;
networkRequest({
@@ -119,7 +121,7 @@ $(function () {
networkRequest({
type: 'POST',
url: urlPrefix + '/charge/apply2New',
data: { erbanNo, chargeProdId, countryCode, openId, payChannel, paymentType, successUrl, uid },
data: { erbanNo, chargeProdId, countryCode, openId, payChannel, paymentType, successUrl, uid, deviceId: deviceId },
success: function (res) {
if (res.code == 200) {
console.log(res)