easypay-app-wx/utils/checkOverdue.js

15 lines
416 B
JavaScript
Raw Normal View History

2023-12-20 21:41:47 +08:00
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,
2024-02-22 13:15:51 +08:00
// success:(res) =>{
// if([410000, 410001, 410002, 401].indexOf(res.data.code) !== -1){
// store.commit("LOGOUT");
// }
// }
2023-12-20 21:41:47 +08:00
})
}