|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-03-17 17:42:32
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-06-29 17:37:04
|
|
|
|
|
* @LastEditTime: 2022-06-29 17:43:49
|
|
|
|
|
* @Description: 项目接口请求统一处理器,返回一个需要token和不需要token的请求封装方法
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
@ -107,7 +107,6 @@ MsbRequestTk.baseUrl = ENV.baseUrl;
|
|
|
|
|
MsbRequestTk.use('request', (option) => {
|
|
|
|
|
const token = $store.state.token;
|
|
|
|
|
option.header.uid = uuid;
|
|
|
|
|
debugger
|
|
|
|
|
if(!token && !option.header.notVerifyToken){
|
|
|
|
|
// 登录状态处理,没有token直接跳转至登录
|
|
|
|
|
uni.redirectTo({
|
|
|
|
|