fix: 修复bug

pull/2/head
TianYu 2023-05-29 09:51:19 +08:00
parent 4aadcef501
commit b979f77097
5 changed files with 3 additions and 6 deletions

View File

@ -219,7 +219,6 @@
// 广ID
setSpreadId() {
const spreadId = this.$route.query.spreadId || ''
console.log('spreadId', spreadId)
if (spreadId) {
this.$store.commit("SET_SPREADID", spreadId);
}

View File

@ -42,9 +42,9 @@ const unityPay = (options) => {
}
_options.payInfo.openid = openId
if (_options.payType === 'WXPAY') {
_options.payInfo.payChannel = '微信支付'
_options.payInfo.payChannel = 'public'
} else if (_options.payType === 'ALIPAY') {
_options.payInfo.payChannel = '支付宝'
_options.payInfo.payChannel = 'appAliPay'
}
uni.showLoading({
title: '支付中',

View File

@ -198,7 +198,6 @@
payType: that.paytype,
createOrderFun: wechatOrderPay,
payResultHandle: (res) => {
console.log(res)
return {
jsapiResult: res.jsapiConfig,
body: res.body

View File

@ -208,7 +208,7 @@
followHid: true,
followCode: false,
logoUrl: "",
bannerList: {},
bannerList: [],
imgUrls: [],
itemNew: [],
menus: [],

View File

@ -26,7 +26,6 @@ function baseRequest(url, method, data, {
if (!noAuth) {
//登录过期自动登录
if (!store.state.app.token && !checkLogin()) {
console.log(store.state.app.token,checkLogin(),123123)
toLogin();
return Promise.reject({
msg: '未登录'