取消支付,更新二维码接口
This commit is contained in:
parent
fc706670da
commit
361551c82d
12
app.js
12
app.js
@ -21,12 +21,12 @@ App({
|
|||||||
CustomBar: null,
|
CustomBar: null,
|
||||||
bgIndex:null,
|
bgIndex:null,
|
||||||
rpx:null,
|
rpx:null,
|
||||||
bgs: ['https://qrcode-1256486458.cos.ap-chengdu.myqcloud.com/bg/bg1.jpg',
|
bgs: ['https://qr.lacus.site/qr/img/bg1.jpg',
|
||||||
'https://qrcode-1256486458.cos.ap-chengdu.myqcloud.com/bg/bg2.jpg',
|
'https://qr.lacus.site/qr/img/bg2.jpg',
|
||||||
'https://qrcode-1256486458.cos.ap-chengdu.myqcloud.com/bg/bg3.jpg',
|
'https://qr.lacus.site/qr/img/bg3.jpg',
|
||||||
'https://qrcode-1256486458.cos.ap-chengdu.myqcloud.com/bg/bg4.jpg',
|
'https://qr.lacus.site/qr/img/bg4.jpg',
|
||||||
'https://qrcode-1256486458.cos.ap-chengdu.myqcloud.com/bg/bg5.jpg',
|
'https://qr.lacus.site/qr/img/bg5.jpg',
|
||||||
'https://qrcode-1256486458.cos.ap-chengdu.myqcloud.com/bg/bg6.jpg',],
|
'https://qr.lacus.site/qr/img/bg6.jpg',],
|
||||||
is_apple:false,
|
is_apple:false,
|
||||||
}
|
}
|
||||||
})
|
})
|
5
app.json
5
app.json
@ -12,8 +12,5 @@
|
|||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
},
|
},
|
||||||
"sitemapLocation": "sitemap.json",
|
"sitemapLocation": "sitemap.json"
|
||||||
"navigateToMiniProgramAppIdList": [
|
|
||||||
"wx959c8c1fb2d877b5"
|
|
||||||
]
|
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
var util = require('./util')
|
var util = require('./util')
|
||||||
var base_url = 'https://qr.powerrain.cn/'
|
var base_url = 'https://qr.lacus.site'
|
||||||
const getyiyian = callBack => {
|
const getyiyian = callBack => {
|
||||||
wx.request({
|
wx.request({
|
||||||
url: 'https://v1.hitokoto.cn/',
|
url: 'https://v1.hitokoto.cn/',
|
||||||
@ -230,12 +230,12 @@ const createCode = (data, callBack) => {
|
|||||||
if (res.data.errcode !== 200) {
|
if (res.data.errcode !== 200) {
|
||||||
wx.hideLoading();
|
wx.hideLoading();
|
||||||
wx.showToast({
|
wx.showToast({
|
||||||
title: "创建订单失败",
|
title: "创建代码失败",
|
||||||
icon: "none"
|
icon: "none"
|
||||||
})
|
})
|
||||||
console.log(data,res)
|
console.log(data,res)
|
||||||
} else {
|
} else {
|
||||||
callBack && callBack(JSON.parse(res.data.id)['$oid']);
|
callBack && callBack(res.data.id);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
14
lib/util.js
14
lib/util.js
@ -131,13 +131,6 @@ const checkSubmit = (c) => {
|
|||||||
})
|
})
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if(!c.month) {
|
|
||||||
wx.showToast({
|
|
||||||
title: '请输入您的使用时长',
|
|
||||||
icon: 'none'
|
|
||||||
})
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
var data = {}
|
var data = {}
|
||||||
data['wxcode'] = c.wxcode
|
data['wxcode'] = c.wxcode
|
||||||
data['alcode'] = c.alcode
|
data['alcode'] = c.alcode
|
||||||
@ -145,12 +138,7 @@ const checkSubmit = (c) => {
|
|||||||
data['username'] = c.username
|
data['username'] = c.username
|
||||||
data['openId'] = c.openId
|
data['openId'] = c.openId
|
||||||
data['node'] = c.node
|
data['node'] = c.node
|
||||||
data['timeout'] = ((new Date()).getTime() + 1000*60*60*24*30*c.month).toString()
|
return data
|
||||||
var totalFee = c.month * 0.5 * 100
|
|
||||||
return {
|
|
||||||
data: data,
|
|
||||||
totalFee: totalFee
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
@ -32,12 +32,7 @@ Page({
|
|||||||
username: '',
|
username: '',
|
||||||
openId: wx.getStorageSync('openid'),
|
openId: wx.getStorageSync('openid'),
|
||||||
node: '',
|
node: '',
|
||||||
timeout: '',
|
|
||||||
month: 0
|
|
||||||
},
|
},
|
||||||
orderParams: {}, // 支付发起参数
|
|
||||||
preparePay: false, // 控制 payjs 组件的创建与销毁
|
|
||||||
paying: false, // 可选:如需知晓用户是否「已经跳转到了 PAYJS 小程序还未返回」的状态则可通过事件处理函数监听事件内的 paying 数据
|
|
||||||
showBest: false
|
showBest: false
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -144,12 +139,9 @@ Page({
|
|||||||
username: '',
|
username: '',
|
||||||
openId: wx.getStorageSync('openid'),
|
openId: wx.getStorageSync('openid'),
|
||||||
node: '',
|
node: '',
|
||||||
timeout: '',
|
|
||||||
month: 0
|
|
||||||
}
|
}
|
||||||
that.setData({
|
that.setData({
|
||||||
createCode: that.data.createCode,
|
createCode: that.data.createCode
|
||||||
orderParams: {}
|
|
||||||
})
|
})
|
||||||
that.data.codeSrc = null
|
that.data.codeSrc = null
|
||||||
let display = that.data.display
|
let display = that.data.display
|
||||||
@ -177,12 +169,9 @@ Page({
|
|||||||
username: '',
|
username: '',
|
||||||
openId: wx.getStorageSync('openid'),
|
openId: wx.getStorageSync('openid'),
|
||||||
node: '',
|
node: '',
|
||||||
timeout: '',
|
|
||||||
month: 0
|
|
||||||
}
|
}
|
||||||
that.setData({
|
that.setData({
|
||||||
createCode: that.data.createCode,
|
createCode: that.data.createCode
|
||||||
orderParams: {}
|
|
||||||
})
|
})
|
||||||
that.data.codeSrc = null
|
that.data.codeSrc = null
|
||||||
let display = that.data.display
|
let display = that.data.display
|
||||||
@ -227,25 +216,6 @@ Page({
|
|||||||
this.data.animating = false
|
this.data.animating = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 不支持苹果手机的警告
|
|
||||||
// if (type == 'start' && g.is_apple) {
|
|
||||||
// wx.showModal({
|
|
||||||
// title: '警告',
|
|
||||||
// content: '本应用不支持苹果手机',
|
|
||||||
// showCancel: false
|
|
||||||
// })
|
|
||||||
// this.data.animating = false
|
|
||||||
// return
|
|
||||||
// }
|
|
||||||
if (type == 'start' && this.data.codes.length >= 3) {
|
|
||||||
wx.showModal({
|
|
||||||
title: '警告',
|
|
||||||
content: '一个人最多持有三个二维码',
|
|
||||||
showCancel: false
|
|
||||||
})
|
|
||||||
this.data.animating = false
|
|
||||||
return
|
|
||||||
}
|
|
||||||
this.setData({
|
this.setData({
|
||||||
show: true,
|
show: true,
|
||||||
})
|
})
|
||||||
@ -267,33 +237,11 @@ Page({
|
|||||||
//处理数据
|
//处理数据
|
||||||
manageCodes: function (callBack) {
|
manageCodes: function (callBack) {
|
||||||
let codes = wx.getStorageSync('codes')
|
let codes = wx.getStorageSync('codes')
|
||||||
for (let i in codes) {
|
|
||||||
let end = this.TimeDown(codes[i]['timeout'])
|
|
||||||
codes[i]['end'] = end;
|
|
||||||
}
|
|
||||||
this.setData({
|
this.setData({
|
||||||
codes: codes
|
codes: codes
|
||||||
})
|
})
|
||||||
callBack && callBack()
|
callBack && callBack()
|
||||||
},
|
},
|
||||||
//时间处理辅助轮
|
|
||||||
TimeDown: function (arg) {
|
|
||||||
arg = parseInt(arg)
|
|
||||||
//结束时间
|
|
||||||
var endDate = new Date(arg);
|
|
||||||
//当前时间
|
|
||||||
var nowDate = new Date();
|
|
||||||
//相差的总秒数
|
|
||||||
var totalSeconds = parseInt((endDate - nowDate) / 1000);
|
|
||||||
//天数
|
|
||||||
var days = Math.floor(totalSeconds / (60 * 60 * 24));
|
|
||||||
//取模(余数)
|
|
||||||
var modulo = totalSeconds % (60 * 60 * 24);
|
|
||||||
//小时数
|
|
||||||
var hours = Math.floor(modulo / (60 * 60));
|
|
||||||
|
|
||||||
return days + "天" + hours + "小时"
|
|
||||||
},
|
|
||||||
|
|
||||||
//删除二维码
|
//删除二维码
|
||||||
delCode: function (e) {
|
delCode: function (e) {
|
||||||
@ -401,7 +349,7 @@ Page({
|
|||||||
var canvas = wx.createCanvasContext('qrcode');
|
var canvas = wx.createCanvasContext('qrcode');
|
||||||
canvas.drawImage(canvasimgbg, 0, 0, 632 * rpx, 1054 * rpx);
|
canvas.drawImage(canvasimgbg, 0, 0, 632 * rpx, 1054 * rpx);
|
||||||
wx.downloadFile({
|
wx.downloadFile({
|
||||||
url: 'https://api.ooopn.com/qr/api.php?text=https%3A%2F%2Fqr.powerrain.cn%2Fqr%3Fid%3D' + id,
|
url: 'https://qr.lacus.site/generate?text=https%3A%2F%2Fqr.lacus.site%2Fqr%2Fqrcode.html%3Fid%3D' + id,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
canvasimgbg = res.tempFilePath
|
canvasimgbg = res.tempFilePath
|
||||||
canvas.drawImage(canvasimgbg, 66 * rpx, 66 * rpx, 500 * rpx, 500 * rpx);
|
canvas.drawImage(canvasimgbg, 66 * rpx, 66 * rpx, 500 * rpx, 500 * rpx);
|
||||||
@ -412,7 +360,7 @@ Page({
|
|||||||
canvas.font = fontSet2;
|
canvas.font = fontSet2;
|
||||||
canvas.fillText('本二维码支持以下APP向我付款', 316 * rpx, 760 * rpx)
|
canvas.fillText('本二维码支持以下APP向我付款', 316 * rpx, 760 * rpx)
|
||||||
wx.downloadFile({
|
wx.downloadFile({
|
||||||
url: 'https://qrcode-1256486458.cos.ap-chengdu.myqcloud.com/sprite/sprite1.png',
|
url: 'https://qr.lacus.site/qr/img/sprite1.png',
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
canvasimgbg = res.tempFilePath
|
canvasimgbg = res.tempFilePath
|
||||||
//先画左右,再画中间
|
//先画左右,再画中间
|
||||||
@ -486,7 +434,7 @@ Page({
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
//输入用户名,月份啥的
|
//输入用户名,备注
|
||||||
inputChange: function (e) {
|
inputChange: function (e) {
|
||||||
var type = e.currentTarget.dataset.type
|
var type = e.currentTarget.dataset.type
|
||||||
var value = e.detail.value
|
var value = e.detail.value
|
||||||
@ -502,12 +450,6 @@ Page({
|
|||||||
|
|
||||||
//提交
|
//提交
|
||||||
submit: function () {
|
submit: function () {
|
||||||
if (Object.keys(this.data.orderParams).length != 0) {
|
|
||||||
this.setData({
|
|
||||||
preparePay: true
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
var that = this;
|
var that = this;
|
||||||
var res = util.checkSubmit(this.data.createCode)
|
var res = util.checkSubmit(this.data.createCode)
|
||||||
if (!res) return
|
if (!res) return
|
||||||
@ -516,19 +458,11 @@ Page({
|
|||||||
title: '疯狂上传中',
|
title: '疯狂上传中',
|
||||||
mask: true
|
mask: true
|
||||||
})
|
})
|
||||||
// 获取order 然后调起支付接口
|
api.createCode(res,function (oid) {
|
||||||
// api.createOrder(res.totalFee, res.data, function (parms) {
|
|
||||||
// that.setData({
|
|
||||||
// preparePay: true,
|
|
||||||
// orderParams: parms
|
|
||||||
// })
|
|
||||||
// wx.hideLoading()
|
|
||||||
// })
|
|
||||||
api.createCode(res.data,function (order_id) {
|
|
||||||
//重置createCode
|
//重置createCode
|
||||||
var data = that.data.createCode
|
var data = that.data.createCode
|
||||||
data._id = {}
|
data._id = {}
|
||||||
data._id['$oid'] = order_id
|
data._id['$oid'] = oid
|
||||||
that.data.createCode = {
|
that.data.createCode = {
|
||||||
wxcode: '',
|
wxcode: '',
|
||||||
qqcode: '',
|
qqcode: '',
|
||||||
@ -536,12 +470,9 @@ Page({
|
|||||||
username: '',
|
username: '',
|
||||||
openId: wx.getStorageSync('openid'),
|
openId: wx.getStorageSync('openid'),
|
||||||
node: '',
|
node: '',
|
||||||
timeout: '',
|
|
||||||
month: 0
|
|
||||||
}
|
}
|
||||||
that.setData({
|
that.setData({
|
||||||
createCode: that.data.createCode,
|
createCode: that.data.createCode,
|
||||||
orderParams: {}
|
|
||||||
})
|
})
|
||||||
//调起绘制二维码的界面
|
//调起绘制二维码的界面
|
||||||
//刷新并处理数据
|
//刷新并处理数据
|
||||||
@ -552,110 +483,6 @@ Page({
|
|||||||
wx.hideLoading()
|
wx.hideLoading()
|
||||||
that.rouseQRcode(false,data)
|
that.rouseQRcode(false,data)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 支付成功的事件处理函数
|
|
||||||
*
|
|
||||||
* res.detail 为 PAYJS 小程序返回的订单信息
|
|
||||||
*
|
|
||||||
* 可通过 res.detail.payjsOrderId 拿到 PAYJS 订单号
|
|
||||||
* 可通过 res.detail.responseData 拿到详细支付信息
|
|
||||||
*/
|
|
||||||
bindPaySuccess(res) {
|
|
||||||
wx.showLoading({
|
|
||||||
title: '订单查询中',
|
|
||||||
mask: true
|
|
||||||
});
|
|
||||||
var that = this
|
|
||||||
console.log('success', res)
|
|
||||||
console.log('[支付成功] PAYJS 订单号:', res.detail.payjsOrderId)
|
|
||||||
console.log('outTradeNo', res.detail.outTradeNo)
|
|
||||||
// 进行checkOrder
|
|
||||||
api.checkOrder(res.detail.outTradeNo, function (order_id) {
|
|
||||||
//重置createCode
|
|
||||||
var data = that.data.createCode
|
|
||||||
data._id = {}
|
|
||||||
data._id['$oid'] = order_id
|
|
||||||
that.data.createCode = {
|
|
||||||
wxcode: '',
|
|
||||||
qqcode: '',
|
|
||||||
alcode: '',
|
|
||||||
username: '',
|
|
||||||
openId: wx.getStorageSync('openid'),
|
|
||||||
node: '',
|
|
||||||
timeout: '',
|
|
||||||
month: 0
|
|
||||||
}
|
|
||||||
that.setData({
|
|
||||||
createCode: that.data.createCode,
|
|
||||||
orderParams: {}
|
|
||||||
})
|
|
||||||
//调起绘制二维码的界面
|
|
||||||
wx.hideLoading()
|
|
||||||
that.rouseQRcode(false,data)
|
|
||||||
}, function () {
|
|
||||||
if (that.data.show)
|
|
||||||
that.showUtils()
|
|
||||||
})
|
|
||||||
|
|
||||||
//刷新并处理数据
|
|
||||||
api.reflash(wx.getStorageSync('openid'), function (info) {
|
|
||||||
wx.setStorageSync('codes', info);
|
|
||||||
that.manageCodes()
|
|
||||||
})
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* 支付失败的事件处理函数
|
|
||||||
*
|
|
||||||
* res.detail.error 为 true 代表传入小组件的参数存在问题
|
|
||||||
* res.detail.navigateSuccess 代表了是否成功跳转到 PAYJS 小程序
|
|
||||||
* res.detail.info 可能存有失败的原因
|
|
||||||
*
|
|
||||||
* 如果下单成功但是用户取消支付则可在 res.detail.info.payjsOrderId 拿到 payjs 订单号
|
|
||||||
*/
|
|
||||||
bindPayFail(res) {
|
|
||||||
console.log('fail', res)
|
|
||||||
if (res.detail.error) {
|
|
||||||
// 后端订单生成完成
|
|
||||||
// !!!!苹果手机会卡在这里!!!
|
|
||||||
console.error('发起支付失败', res.detail.info)
|
|
||||||
|
|
||||||
} else if (res.detail.navigateSuccess) {
|
|
||||||
// 跳转到了付款界面但是没付款
|
|
||||||
console.log('[取消支付] PAYJS 订单号:', res.detail.info.payjsOrderId)
|
|
||||||
|
|
||||||
} else {
|
|
||||||
// 用户放弃了付款,没跳转,再次跳转还可以进行支付
|
|
||||||
// 目测啥都不用干
|
|
||||||
}
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* 支付完毕的事件处理函数
|
|
||||||
*
|
|
||||||
* 无论支付成功或失败均会执行
|
|
||||||
* 应当在此销毁 payjs 组件
|
|
||||||
*/
|
|
||||||
bindPayComplete() {
|
|
||||||
console.log('complete')
|
|
||||||
this.setData({
|
|
||||||
preparePay: false, // 销毁 payjs 组件
|
|
||||||
})
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* 【可选】组件内部数据被修改时的事件
|
|
||||||
*
|
|
||||||
* 当前仅用于监听 paying 数据
|
|
||||||
* 当用户跳转到 PAYJS 小程序并等待返回的过程中 paying 值为 true
|
|
||||||
*/
|
|
||||||
bindDataChange(res) {
|
|
||||||
if (res.detail.paying) {
|
|
||||||
this.setData({
|
|
||||||
paying: res.detail.paying
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
showQrcode() {
|
showQrcode() {
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
<view class="left" data-data="{{item}}" bindtap="bindToRouse">
|
<view class="left" data-data="{{item}}" bindtap="bindToRouse">
|
||||||
<view class="item">名称:{{item.username}}</view>
|
<view class="item">名称:{{item.username}}</view>
|
||||||
<view class="item">备注:{{item.node?item.node:'您没写呀'}}</view>
|
<view class="item">备注:{{item.node?item.node:'您没写呀'}}</view>
|
||||||
<view class="item">剩余时间:{{item.end}}</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="right" data-id="{{item._id['$oid']}}" bindtap="delCode">
|
<view class="right" data-id="{{item._id['$oid']}}" bindtap="delCode">
|
||||||
<text></text>
|
<text></text>
|
||||||
@ -59,7 +58,7 @@
|
|||||||
<view class="safe-stitle" style="margin-bottom:50rpx;">轻松创建属于自己的三合一收款码</view>
|
<view class="safe-stitle" style="margin-bottom:50rpx;">轻松创建属于自己的三合一收款码</view>
|
||||||
<view class="safe-title">1.合并后的收款码有扫码次数和时间限制嘛?</view>
|
<view class="safe-title">1.合并后的收款码有扫码次数和时间限制嘛?</view>
|
||||||
<!-- <view class="safe-content">当前是在选购的时间内不限扫码次数(<span style="color:#f43d68;">0.5元每月</span>),后续将推出每1000次收费0.1元的套餐</view> -->
|
<!-- <view class="safe-content">当前是在选购的时间内不限扫码次数(<span style="color:#f43d68;">0.5元每月</span>),后续将推出每1000次收费0.1元的套餐</view> -->
|
||||||
<view class="safe-content">在你填写的时间之内<span style="color:#eeba1c;">完全没有限制,</span>随便扫,放开了扫</view>
|
<view class="safe-content"><span style="color:#eeba1c;">完全没有限制,</span>随便扫,放开了扫</view>
|
||||||
<view class="safe-title">2.合并后的收款码<span style="color:#f43d68;">安全</span>嘛?</view>
|
<view class="safe-title">2.合并后的收款码<span style="color:#f43d68;">安全</span>嘛?</view>
|
||||||
<view class="safe-content">怎么说呢,别人拿到了这个收款码,唯一能做的事情就是<span style="color:#eeba1c;">给你付钱。</span>你说它安不安全~hhh</view>
|
<view class="safe-content">怎么说呢,别人拿到了这个收款码,唯一能做的事情就是<span style="color:#eeba1c;">给你付钱。</span>你说它安不安全~hhh</view>
|
||||||
<view class="safe-title">3.钱收完<span style="color:#f43d68;">去哪了</span>?</view>
|
<view class="safe-title">3.钱收完<span style="color:#f43d68;">去哪了</span>?</view>
|
||||||
@ -108,11 +107,6 @@
|
|||||||
<input type="text" maxlength="50" placeholder="不会显示在二维码上" bindinput="inputChange" data-type="node"/>
|
<input type="text" maxlength="50" placeholder="不会显示在二维码上" bindinput="inputChange" data-type="node"/>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="input-box">
|
|
||||||
<view class="label">使用时长/月</view>
|
|
||||||
<input type="number" placeholder="输入1-12的整数" bindinput="inputChange" data-type="month"/>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="submit" bindtap="submit">确认合并</view>
|
<view class="submit" bindtap="submit">确认合并</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -130,5 +124,4 @@
|
|||||||
<view class="title">{{codes.length}} 个</view>
|
<view class="title">{{codes.length}} 个</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<payjs wx:if="{{ preparePay }}" params="{{ orderParams }}" bindsuccess="bindPaySuccess" bindfail="bindPayFail" bindcomplete="bindPayComplete" bind:dataChange="bindDataChange"/>
|
|
@ -1,55 +1,60 @@
|
|||||||
{
|
{
|
||||||
"description": "项目配置文件",
|
"description": "项目配置文件",
|
||||||
"packOptions": {
|
"packOptions": {
|
||||||
"ignore": []
|
"ignore": []
|
||||||
},
|
},
|
||||||
"setting": {
|
"setting": {
|
||||||
"urlCheck": true,
|
"urlCheck": true,
|
||||||
"es6": true,
|
"es6": true,
|
||||||
"postcss": true,
|
"postcss": true,
|
||||||
"minified": true,
|
"minified": true,
|
||||||
"newFeature": true,
|
"newFeature": true,
|
||||||
"coverView": true,
|
"coverView": true,
|
||||||
"autoAudits": false,
|
"autoAudits": false,
|
||||||
"showShadowRootInWxmlPanel": true,
|
"showShadowRootInWxmlPanel": true,
|
||||||
"scopeDataCheck": false,
|
"scopeDataCheck": false,
|
||||||
"checkInvalidKey": true,
|
"checkInvalidKey": true,
|
||||||
"checkSiteMap": false,
|
"checkSiteMap": false,
|
||||||
"uploadWithSourceMap": true,
|
"uploadWithSourceMap": true,
|
||||||
"babelSetting": {
|
"babelSetting": {
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
},
|
},
|
||||||
"useCompilerModule": false,
|
"useIsolateContext": true,
|
||||||
"userConfirmedUseCompilerModuleSwitch": false
|
"useCompilerModule": false,
|
||||||
},
|
"userConfirmedUseCompilerModuleSwitch": false,
|
||||||
"compileType": "miniprogram",
|
"userConfirmedBundleSwitch": false,
|
||||||
"libVersion": "2.9.2",
|
"packNpmManually": false,
|
||||||
"appid": "wx0df150c438e4c8f0",
|
"packNpmRelationList": [],
|
||||||
"projectname": "%E4%BA%8C%E7%BB%B4%E7%A0%81%E5%90%88%E5%B9%B6",
|
"minifyWXSS": true,
|
||||||
"debugOptions": {
|
"useMultiFrameRuntime": false,
|
||||||
"hidedInDevtools": []
|
"useApiHook": true,
|
||||||
},
|
"bundle": false
|
||||||
"isGameTourist": false,
|
},
|
||||||
"simulatorType": "wechat",
|
"compileType": "miniprogram",
|
||||||
"simulatorPluginLibVersion": {},
|
"libVersion": "2.9.2",
|
||||||
"condition": {
|
"appid": "wx0df150c438e4c8f0",
|
||||||
"search": {
|
"projectname": "%E4%BA%8C%E7%BB%B4%E7%A0%81%E5%90%88%E5%B9%B6",
|
||||||
"current": -1,
|
"debugOptions": {
|
||||||
"list": []
|
"hidedInDevtools": []
|
||||||
},
|
},
|
||||||
"conversation": {
|
"isGameTourist": false,
|
||||||
"current": -1,
|
"simulatorType": "wechat",
|
||||||
"list": []
|
"simulatorPluginLibVersion": {},
|
||||||
},
|
"condition": {
|
||||||
"game": {
|
"search": {
|
||||||
"currentL": -1,
|
"list": []
|
||||||
"list": []
|
},
|
||||||
},
|
"conversation": {
|
||||||
"miniprogram": {
|
"list": []
|
||||||
"current": -1,
|
},
|
||||||
"list": []
|
"game": {
|
||||||
}
|
"currentL": -1,
|
||||||
}
|
"list": []
|
||||||
|
},
|
||||||
|
"miniprogram": {
|
||||||
|
"list": []
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user