Browse Source

2024书券限制

master
shaojing 2 years ago
parent
commit
98515ab8ff
  1. 2
      app.js
  2. 2
      pages/order/pay/index.js

2
app.js

@ -21,7 +21,7 @@ App({
unique_key: "wechatxcx" unique_key: "wechatxcx"
}).then(res => { }).then(res => {
let data = JSON.parse(res.data); let data = JSON.parse(res.data);
data.isTest = data.isTest109? true : false; data.isTest = data.isTest110? true : false;
this.globalData.configJson = data this.globalData.configJson = data
}).then(() => { }).then(() => {
// 获取ui配置文件 // 获取ui配置文件

2
pages/order/pay/index.js

@ -84,7 +84,7 @@ Page({
order_id:this.data.id order_id:this.data.id
}).then(res=>{ }).then(res=>{
// 书券产品 // 书券产品
if(res.data.order_product_list[0].product_id == 75012 || res.data.order_product_list[0].product_id == 75013){ if(res.data.order_product_list[0].product_id == 75012 || res.data.order_product_list[0].product_id == 75013 || res.data.order_product_list[0].product_id == 420265){
this.setData({ this.setData({
isBook:true isBook:true
}) })

Loading…
Cancel
Save