开始做发票
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
export const getRechargeOperateType = (num) => {
|
||||
console.log('typenum', num)
|
||||
const types = ["充值", "冲正", "退费"]
|
||||
return types[num];
|
||||
}
|
||||
|
||||
export const getRechargeOperateWay = (num) => {
|
||||
console.log('num', num)
|
||||
const types = ["现金", "银行卡", "支付宝", "微信", "云闪付","对公转账", "微信-支付"]
|
||||
const types = ["现金", "银行卡", "支付宝", "微信", "云闪付","对公转账", "小程序-微信支付"]
|
||||
return types[num];
|
||||
}
|
@@ -19,6 +19,7 @@ const requestWithoutCookie = promisify(wx.request);
|
||||
|
||||
// 考虑了Cookie的请求
|
||||
const request = async function (options, config = {}) {
|
||||
console.log('请求参数', 'options', options, 'config', config)
|
||||
let token = wx.getStorageSync('token');
|
||||
const result = wx.getAccountInfoSync();
|
||||
const { envVersion } = result.miniProgram;
|
||||
|
Reference in New Issue
Block a user