feat:v1.4前端更新

This commit is contained in:
超凡
2025-06-24 14:43:09 +08:00
parent bdb4503456
commit 59800954f2
1026 changed files with 118424 additions and 56490 deletions

15
app/utils/checkOverdue.js Normal file
View File

@@ -0,0 +1,15 @@
import {HTTP_REQUEST_URL,HEADER,TOKENNAME,HEADERPARAMS} from '@/config/app';
import store from "../store";
export function checkOverdue(data) {
let Url = HTTP_REQUEST_URL,header = HEADER;
uni.request({
url: Url + '/api/front/user',
method: 'GET',
header: header,
success:(res) =>{
if([410000, 410001, 410002, 401].indexOf(res.data.code) !== -1){
store.commit("LOGOUT");
}
}
})
}