mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 09:26:45 +08:00
api no token add url
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
/*
|
||||
讲师详情
|
||||
|
||||
Reference in New Issue
Block a user