秦子超 2024-06-07 09:39:52 +08:00
parent 05e38b8e05
commit 100c12ed4e
1 changed files with 0 additions and 6 deletions

View File

@ -13,7 +13,6 @@ $http.beforeRequest = function (options) {
uni.showLoading({
title: '数据加载中'
})
<<<<<<< HEAD
if (options.url.indexOf('/my/') !== -1) {
if (options.url.indexOf('/getByUserId') !== -1){
options.header = {
@ -35,11 +34,6 @@ $http.beforeRequest = function (options) {
}
}
if (options.url.indexOf('/getLoginInfo') !== -1) {
=======
if (options.url.indexOf('/getLoginInfo') == -1) {
console.log('token',uni.getStorageSync('Gs-Token'))
>>>>>>> qzc-dev3
options.header = {
'gs-token': uni.getStorageSync('Gs-Token')
}