yangg 2 hónapja
szülő
commit
d0a016fc25
2 módosított fájl, 5 hozzáadás és 5 törlés
  1. 4 4
      api/user.js
  2. 1 1
      pages/face-photo/face-photo.vue

+ 4 - 4
api/user.js

@@ -111,17 +111,17 @@ export const getJobList = (params = {}) => {
 
 /* 填写用户信息 */
 export const fillUserInfo = (params) => {
-  return http.post('/api/system/wechat/save_user_info', params);
+  return http.post('/api/wechat/save_user_info', params);
 };
 
 /* 获取面试列表 */
 export const getInterviewList = (params) => {
-  return http.get('/system/job/questions', params);
+  return http.get('/job/questions', params);
 };
 
 /* 获取面试详情 */
 export const getInterviewDetail = (params) => {
-  return http.get('/system/interview_question/detail', params);
+  return http.get('/interview_question/detail', params);
 };
 
 /* 提交答案 */
@@ -141,5 +141,5 @@ export const getApplicationDetail = (params) => {
 
 /* 文件上传 */
 export const uploadPhoto = (params) => {
-  return http.post('/api/system/upload/', params);
+  return http.post('/api/upload/', params);
 };

+ 1 - 1
pages/face-photo/face-photo.vue

@@ -237,7 +237,7 @@ export default {
       
       // 使用uni.uploadFile方式上传图片
       uni.uploadFile({
-        url: `${apiBaseUrl}/api/system/upload/`, 
+        url: `${apiBaseUrl}/api/upload/`, 
         filePath: this.mediaSource,
         name: 'file',
         formData: {