parent
f7614c883d
commit
5085e5a38a
8 changed files with 3648 additions and 2976 deletions
@ -1,4 +1,4 @@ |
|||||||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
||||||
NODE_ENV = 'development' |
NODE_ENV = 'development' |
||||||
VITE_APP_TITLE = '无糖运营平台' |
VITE_APP_TITLE = '无糖运营平台' |
||||||
VITE_APP_BASE_API = '/api' |
VITE_APP_BASE_API = 'http://127.0.0.1:8080' |
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,10 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
export const getCourseListApi = () => { |
export const getCourseListApi = () => { |
||||||
request.get('/coursesTeacher/page') |
return request.get('/coursesteacher/page?teacherId=2140110334') |
||||||
} |
} |
||||||
export const editCourse = () => { |
export const editCourseApi = () => { |
||||||
request.put('/coursesTeacher') |
return request.put('/coursesTeacher') |
||||||
} |
} |
||||||
export const addCourse = (data) => { |
export const addCourseApi = (data) => { |
||||||
request.post('/courseTeacher/addCourse', data) |
return request.post('/courseTeacher/addCourse', data) |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue