api no token add url

This commit is contained in:
joshen
2024-05-23 21:59:43 +08:00
parent 7de3993ee3
commit 65b73d820b
2 changed files with 3 additions and 1 deletions

View File

@@ -74,6 +74,8 @@ const jsonRequest=function(method,url,data){
let token=getToken();
if(!token){
token='';
location.href=config.loginPath+"?returnUrl="+encodeURIComponent(window.location.href);
return
}
let headers={
'XBOE-Access-Token':token

View File

@@ -20,7 +20,7 @@ const lecturerCertificationSave=function(data){
@param isSecond
*/
const lecturerCertificationList=function(data){
return ajax.postJson(baseURL,'/score/jump',data);
return ajax.postJson(baseURL,'/score/list',data);
}
/*
讲师详情