Browse Source

9901

9901
yangteng 11 months ago
parent
commit
f95bf6722a
2 changed files with 12 additions and 3 deletions
  1. 7
    2
      datas/9901Jump.js
  2. 5
    1
      utils/network/request.js

+ 7
- 2
datas/9901Jump.js View File

@@ -6,8 +6,13 @@ export function jump(type,item){
// 14 首次激活 15客车个人用户办理etc
// 7申请换货 8申请退货 9申请补货 没激活之前
// 10 上传身份信息 11待支付 12待签约 13异地-邮寄地址填写
// 16签约
if(type=="16"){
// 16签约 17卡签信息读取(没登录去异地登录)
if(type=="17"){
uni.navigateTo({
url:`plugin://issuer-plugin/login?redirectUrl=/pages/index/index&type=1`
})
}else if(type=="16"){
uni.navigateTo({
url:`plugin://issuer-plugin/login?redirectUrl=/pages/index/index&wechatSignNo=${item}`
})

+ 5
- 1
utils/network/request.js View File

@@ -26,6 +26,7 @@ import orderJump from "@/composables/order/orderJump";
const {
getOrderList
} = orderJump();
import { jump } from "@/datas/9901Jump.js";
const s4 = new SM4Util()

/* 刷新token */
@@ -138,7 +139,10 @@ export function request(code, options = {}, start = false) {
}
}
});
} else if (res.data.statusCode == 99999) {
}else if (res.data.statusCode == 99999 && res.data.errorMsg=='客户端登录凭证为空') {
console.log("11====")
jump("17","")
}else if (res.data.statusCode == 99999) {
if (!start) {
updateGetToken().then((data) => {
console.log("token刷新", data);

Loading…
Cancel
Save