链接调整
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
import utils from './util'
|
import utils from './util'
|
||||||
//testURL
|
//testURL
|
||||||
const BASE_URL = 'http://127.0.0.1:8080/wx';
|
// const BASE_URL = 'http://127.0.0.1:8080/wx';
|
||||||
//devURL
|
//devURL
|
||||||
// const BASE_URL = 'https://lmqhznn.goho.co/wx';
|
// const BASE_URL = 'https://lmqhznn.goho.co/wx';
|
||||||
//prodURL
|
//prodURL
|
||||||
// const BASE_URL = 'https://www.qnforever.top/wx';
|
const BASE_URL = 'https://www.qnforever.top/wx';
|
||||||
function buildURL(url, needToken) {
|
function buildURL(url, needToken) {
|
||||||
let userId = wx.getStorageSync('userId');
|
let userId = wx.getStorageSync('userId');
|
||||||
if (!userId && url != '/user/login') {
|
if (!userId && url != '/user/login') {
|
||||||
|
|||||||
Reference in New Issue
Block a user