正在显示
3 个修改的文件
包含
18 行增加
和
18 行删除
1 | 1 | const http = uni.$u.http |
2 | 2 | |
3 | 3 | // 获取oss对应的图片地址 |
4 | -export const getImgUrlApi = (params) => http.get('/basic/v1/oss/sign_url', { | |
4 | +export const getImgUrlApi = (params) => http.get('/basic/v1/oss/signUrl', { | |
5 | 5 | params: params |
6 | 6 | }) |
7 | 7 | |
... | ... | @@ -23,7 +23,7 @@ export const getUserInfoApi = (params) => http.get('/user/v1/detail', { |
23 | 23 | }) |
24 | 24 | |
25 | 25 | // 获取短信验证码 |
26 | -export const getSmsCodeApi = (params) => http.get('/basic/v1/sms_code/get', { | |
26 | +export const getSmsCodeApi = (params) => http.get('/basic/v1/smsCode/get', { | |
27 | 27 | params: params |
28 | 28 | }) |
29 | 29 | |
... | ... | @@ -37,7 +37,7 @@ export const delAccountApi = (params) => http.delete('/user/v1/annuluser', param |
37 | 37 | export const cancelDelAccountApi = (params) => http.put('/user/v1/annulusercancel', params); |
38 | 38 | |
39 | 39 | // 更新老师头像 |
40 | -export const updateAvatarUrlApi = (params) => http.put('/user/v1/teacher/update_avatar_url', params); | |
40 | +export const updateAvatarUrlApi = (params) => http.put('/user/v1/teacher/updateAvatarUrl', params); | |
41 | 41 | |
42 | 42 | // 学校列表 |
43 | 43 | export const getSchoolListApi = (params) => http.get('/user/v1/schoolList', { |
... | ... | @@ -45,7 +45,7 @@ export const getSchoolListApi = (params) => http.get('/user/v1/schoolList', { |
45 | 45 | }) |
46 | 46 | |
47 | 47 | // 切换老师身份 |
48 | -export const putTeacherRolesApi = (id, params) => http.put(`/user/v1/teacher/${id}/change_role`, params); | |
48 | +export const putTeacherRolesApi = (id, params) => http.put(`/user/v1/teacher/${id}/changeRole`, params); | |
49 | 49 | |
50 | 50 | // 待办事项统计 |
51 | 51 | export const getTodoListStatisticsApi = (params) => http.get('/internship/v1/index/applet/waitHandleList', { |
... | ... | @@ -76,25 +76,25 @@ export const getStudentSignInListApi = (params) => http.get('/internship/v1/atte |
76 | 76 | }) |
77 | 77 | |
78 | 78 | // 日志批阅列表 |
79 | -export const getLogReviewListApi = (params) => http.get('/internship/v1/form_log/school/list', { | |
79 | +export const getLogReviewListApi = (params) => http.get('/internship/v1/formLog/school/list', { | |
80 | 80 | params: params |
81 | 81 | }) |
82 | 82 | |
83 | 83 | // 实习日志详情 |
84 | -export const getLogDetailApi = (id, params) => http.get(`/internship/v1/form_log/detail/${id}`, { | |
84 | +export const getLogDetailApi = (id, params) => http.get(`/internship/v1/formLog/detail/${id}`, { | |
85 | 85 | params: params |
86 | 86 | }) |
87 | 87 | |
88 | 88 | // 日志批阅 |
89 | -export const putLogReviewApi = (params) => http.put(`/internship/v1/form_log/approve`, params); | |
89 | +export const putLogReviewApi = (params) => http.put(`/internship/v1/formLog/approve`, params); | |
90 | 90 | |
91 | 91 | // 日志回复列表 |
92 | -export const getLogReplyListApi = (params) => http.get('/internship/v1/form_log_review/list', { | |
92 | +export const getLogReplyListApi = (params) => http.get('/internship/v1/formLogReview/list', { | |
93 | 93 | params: params |
94 | 94 | }) |
95 | 95 | |
96 | 96 | // 创建日志回复 |
97 | -export const postLogReplyApi = (params) => http.post(`/internship/v1/form_log_review/save`, params); | |
97 | +export const postLogReplyApi = (params) => http.post(`/internship/v1/formLogReview/save`, params); | |
98 | 98 | |
99 | 99 | // 报告批阅列表 |
100 | 100 | export const getReportReviewListApi = (params) => http.get('/internship/v1/report/list', { |
... | ... | @@ -102,7 +102,7 @@ export const getReportReviewListApi = (params) => http.get('/internship/v1/repor |
102 | 102 | }) |
103 | 103 | |
104 | 104 | // 实习报告详情 |
105 | -export const getReportDetailApi = (id, params) => http.get(`/internship/v1/report/detail_by_student/${id}`, { | |
105 | +export const getReportDetailApi = (id, params) => http.get(`/internship/v1/report/detailByStudent/${id}`, { | |
106 | 106 | params: params |
107 | 107 | }) |
108 | 108 | |
... | ... | @@ -110,7 +110,7 @@ export const getReportDetailApi = (id, params) => http.get(`/internship/v1/repor |
110 | 110 | export const putReportReviewApi = (id, params) => http.put(`/internship/v1/report/examine/${id}`, params); |
111 | 111 | |
112 | 112 | //审批记录 |
113 | -export const getReportApprovalListApi = (formId, params) => http.get(`/internship/v1/report/examine_list/${formId}`, { | |
113 | +export const getReportApprovalListApi = (formId, params) => http.get(`/internship/v1/report/examineList/${formId}`, { | |
114 | 114 | params: params |
115 | 115 | }) |
116 | 116 | |
... | ... | @@ -144,7 +144,7 @@ export const getInternshipProcessDetailApi = (params) => http.get(`/internship/v |
144 | 144 | }) |
145 | 145 | |
146 | 146 | // 三方协议列表 |
147 | -export const getAgreementListApi = (params) => http.get('/internship/v1/treaty/list_by_school', { | |
147 | +export const getAgreementListApi = (params) => http.get('/internship/v1/treaty/listBySchool', { | |
148 | 148 | params: params |
149 | 149 | }) |
150 | 150 | ... | ... |
... | ... | @@ -9,7 +9,7 @@ |
9 | 9 | "version": "1.0.0", |
10 | 10 | "license": "ISC", |
11 | 11 | "dependencies": { |
12 | - "miment": "0.0.9", | |
12 | + "miment": "^0.0.9", | |
13 | 13 | "vue-i18n": "^8.20.0" |
14 | 14 | }, |
15 | 15 | "devDependencies": { |
... | ... | @@ -24,8 +24,8 @@ |
24 | 24 | }, |
25 | 25 | "node_modules/miment": { |
26 | 26 | "version": "0.0.9", |
27 | - "resolved": "https://registry.npmmirror.com/miment/download/miment-0.0.9.tgz", | |
28 | - "integrity": "sha1-eYZPh5Pn0OkI6EVoc147FyAi1+0=" | |
27 | + "resolved": "https://registry.npmmirror.com/miment/-/miment-0.0.9.tgz", | |
28 | + "integrity": "sha512-pfjF/jPPxCaR7swQIKbWHBfSJAw47e4iZQPM6HzuexSDiZRPj8bx3rNzP4G/oK37+skbM/9eidoX9awJJfgLAg==" | |
29 | 29 | }, |
30 | 30 | "node_modules/vue-i18n": { |
31 | 31 | "version": "8.20.0", |
... | ... | @@ -42,8 +42,8 @@ |
42 | 42 | }, |
43 | 43 | "miment": { |
44 | 44 | "version": "0.0.9", |
45 | - "resolved": "https://registry.npmmirror.com/miment/download/miment-0.0.9.tgz", | |
46 | - "integrity": "sha1-eYZPh5Pn0OkI6EVoc147FyAi1+0=" | |
45 | + "resolved": "https://registry.npmmirror.com/miment/-/miment-0.0.9.tgz", | |
46 | + "integrity": "sha512-pfjF/jPPxCaR7swQIKbWHBfSJAw47e4iZQPM6HzuexSDiZRPj8bx3rNzP4G/oK37+skbM/9eidoX9awJJfgLAg==" | |
47 | 47 | }, |
48 | 48 | "vue-i18n": { |
49 | 49 | "version": "8.20.0", | ... | ... |
请
注册
或
登录
后发表评论