소스 검색

接口修改

zhouchong 2 년 전
부모
커밋
2ca4138716
31개의 변경된 파일39개의 추가작업 그리고 39개의 파일을 삭제
  1. 7 7
      api/index.js
  2. 1 1
      pages/avatar.vue
  3. 1 1
      pages/casuallyPat.vue
  4. 1 1
      pages/emergencyEvacuationBig.vue
  5. 1 1
      pages/emergencyEvacuationBig/emergencyEvacuationBig.vue
  6. 1 1
      pages/emergencyEvacuationBig/emergencyEvacuationBigOne.vue
  7. 1 1
      pages/gradingControl/gradingControlAdd.vue
  8. 1 1
      pages/mine.vue
  9. 1 1
      pages_manage/examination/examinationAdd.vue
  10. 1 1
      pages_manage/gasApply/gasApplyReject.vue
  11. 1 1
      pages_manage/useGasApply/useGasApplyAdd.vue
  12. 1 1
      pages_manage/useRegister/giveRegister.vue
  13. 1 1
      pages_manage/useRegister/useRegister.vue
  14. 1 1
      pages_manage/workbench/laboratory/monitor.vue
  15. 1 1
      pages_manage/workbench/problemRectification/rectifyDetails.vue
  16. 2 2
      pages_manage/workbench/problemRectification/rectifyInfo.vue
  17. 1 1
      pages_manage/workbench/receiveCasuallyPat/casuallyPatInfo.vue
  18. 2 2
      pages_manage/workbench/securityCheck/startChecking.vue
  19. 1 1
      pages_manage/workbench/signature/signature.vue
  20. 1 1
      pages_student/examination/examinationAdd.vue
  21. 1 1
      pages_student/gasApply/gasApplyReject.vue
  22. 1 1
      pages_student/mine/upStudentCard.vue
  23. 1 1
      pages_student/useGasApply/useGasApplyAdd.vue
  24. 1 1
      pages_student/useRegister/giveRegister.vue
  25. 1 1
      pages_student/useRegister/useRegister.vue
  26. 1 1
      pages_student/workbench/photoInspection.vue
  27. 1 1
      pages_student/workbench/safeAccess/accessApplication.vue
  28. 1 1
      pages_student/workbench/safeAccess/newApplication.vue
  29. 1 1
      pages_supplier/register/registerTow.vue
  30. 1 1
      pages_supplier/transportCar/transportCarAdd.vue
  31. 1 1
      pages_supplier/transportPerson/transportPersonAdd.vue

+ 7 - 7
api/index.js

@@ -6,7 +6,7 @@ import { apiResquestFormVideo } from './request/request.js'
 //获取openid
 export const getOpenId  = (data) => {
     return apiResquest({
-        url: `/message/user/wx/getOpenId`,
+        url: `/base/user/wx/getOpenId`,
         method: 'GET',
         data: data,
     })
@@ -14,7 +14,7 @@ export const getOpenId  = (data) => {
 //获取模板消息-列表
 export const getDemoInfoList  = (data) => {
     return apiResquest({
-        url: `/message/wx/list`,
+        url: `/base/wx/list`,
         method: 'GET',
         data: data,
     })
@@ -738,7 +738,7 @@ export const subjectMaterialList  = (data) => {
 //上传图片
 export const upImage  = (data) => {
     return apiResquest({
-        url: `/file/upload`,
+        url: `/base/upload`,
         method: 'GET',
         data: data,
     })
@@ -982,7 +982,7 @@ export const getExamList  = (data) => {
 //获取实验室视频地址
 export const getChannels  = (data) => {
     return apiResquestForm({
-        url: `/camera/api/play/startList`,
+        url: `/algorithm/api/play/startList`,
         method: 'GET',
         data: data,
     })
@@ -1604,7 +1604,7 @@ export const getRedis  = (id,type) => {
 //获取喇叭列表
 export const getDeviceList  = (data) => {
     return apiResquestForm({
-        url: '/speak/speaker/getDeviceList',
+        url: '/algorithm/speaker/getDeviceList',
         method: 'GET',
         data: data,
     })
@@ -1615,7 +1615,7 @@ export const getDeviceList  = (data) => {
 //文字转语音播放
 export const textParseUrlIps  = (data,text) => {
     return apiResquestJsonList({
-        url: '/speak/speaker/textParseUrlAppIps?text='+text,
+        url: '/algorithm/speaker/textParseUrlAppIps?text='+text,
         method: 'POST',
         data: data
     })
@@ -1667,7 +1667,7 @@ export const closeRiskPlan  = (data) => {
 //实验室视频监控页面获取喇叭设备列表
 export const getDeviceListBySub  = (data) => {
     return apiResquest({
-        url: `/speak/speaker/getDeviceListBySub`,
+        url: `/algorithm/speaker/getDeviceListBySub`,
         method: 'GET',
         data: data,
     })

+ 1 - 1
pages/avatar.vue

@@ -90,7 +90,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages/casuallyPat.vue

@@ -205,7 +205,7 @@
                     mask: true
                 });
                 uni.uploadFile({
-                    url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+                    url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
                     header:{'Authorization':uni.getStorageSync('token')},
                     filePath: tempFilePaths,
                     name: 'file',

+ 1 - 1
pages/emergencyEvacuationBig.vue

@@ -573,7 +573,7 @@
 			async uploadImg(tempFilePaths){
 			    var self = this;
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages/emergencyEvacuationBig/emergencyEvacuationBig.vue

@@ -485,7 +485,7 @@
 			async uploadImg(tempFilePaths){
 			    var self = this;
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages/emergencyEvacuationBig/emergencyEvacuationBigOne.vue

@@ -573,7 +573,7 @@
 			async uploadImg(tempFilePaths){
 			    var self = this;
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages/gradingControl/gradingControlAdd.vue

@@ -270,7 +270,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: upObj.path,
 			        name: 'file',

+ 1 - 1
pages/mine.vue

@@ -340,7 +340,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_manage/examination/examinationAdd.vue

@@ -238,7 +238,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_manage/gasApply/gasApplyReject.vue

@@ -77,7 +77,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_manage/useGasApply/useGasApplyAdd.vue

@@ -233,7 +233,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_manage/useRegister/giveRegister.vue

@@ -105,7 +105,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_manage/useRegister/useRegister.vue

@@ -156,7 +156,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_manage/workbench/laboratory/monitor.vue

@@ -270,7 +270,7 @@ export default {
     async uploadImg(tempFilePaths){
       var self = this;
       uni.uploadFile({
-        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
         header:{'Authorization':uni.getStorageSync('token')},
         filePath: tempFilePaths,
         name: 'file',

+ 1 - 1
pages_manage/workbench/problemRectification/rectifyDetails.vue

@@ -484,7 +484,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 2 - 2
pages_manage/workbench/problemRectification/rectifyInfo.vue

@@ -304,7 +304,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',
@@ -364,7 +364,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_manage/workbench/receiveCasuallyPat/casuallyPatInfo.vue

@@ -177,7 +177,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 2 - 2
pages_manage/workbench/securityCheck/startChecking.vue

@@ -504,7 +504,7 @@
 
 			    var self = this;
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',
@@ -1015,7 +1015,7 @@
                     mask: true
                 });
                 uni.uploadFile({
-                    url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+                    url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
                     header:{'Authorization':uni.getStorageSync('token')},
                     filePath: tempFilePaths,
                     name: 'file',

+ 1 - 1
pages_manage/workbench/signature/signature.vue

@@ -121,7 +121,7 @@
 		        mask: true
 		    });
 		    uni.uploadFile({
-		        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+		        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 		        header:{'Authorization':uni.getStorageSync('token')},
 		        filePath: tempFilePaths,
 		        name: 'file',

+ 1 - 1
pages_student/examination/examinationAdd.vue

@@ -238,7 +238,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_student/gasApply/gasApplyReject.vue

@@ -77,7 +77,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_student/mine/upStudentCard.vue

@@ -44,7 +44,7 @@
                     mask: true
                 });
                 uni.uploadFile({
-                    url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+                    url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
                     header:{'Authorization':uni.getStorageSync('token')},
                     filePath: tempFilePaths,
                     name: 'file',

+ 1 - 1
pages_student/useGasApply/useGasApplyAdd.vue

@@ -233,7 +233,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_student/useRegister/giveRegister.vue

@@ -105,7 +105,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_student/useRegister/useRegister.vue

@@ -156,7 +156,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_student/workbench/photoInspection.vue

@@ -163,7 +163,7 @@
                     mask: true
                 });
                 uni.uploadFile({
-                    url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+                    url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
                     header:{'Authorization':uni.getStorageSync('token')},
                     filePath: tempFilePaths,
                     name: 'file',

+ 1 - 1
pages_student/workbench/safeAccess/accessApplication.vue

@@ -135,7 +135,7 @@
                     mask: true
                 });
                 uni.uploadFile({
-                    url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+                    url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
                     header:{'Authorization':uni.getStorageSync('token')},
                     filePath: tempFilePaths,
                     name: 'file',

+ 1 - 1
pages_student/workbench/safeAccess/newApplication.vue

@@ -626,7 +626,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: upObj.path,
 			        name: 'file',

+ 1 - 1
pages_supplier/register/registerTow.vue

@@ -69,7 +69,7 @@
 			        mask: true
 			    });
 			    uni.uploadFile({
-			        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+			        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
 			        header:{'Authorization':uni.getStorageSync('token')},
 			        filePath: tempFilePaths,
 			        name: 'file',

+ 1 - 1
pages_supplier/transportCar/transportCarAdd.vue

@@ -80,7 +80,7 @@
        		        mask: true
        		    });
        		    uni.uploadFile({
-       		        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+       		        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
        		        header:{'Authorization':uni.getStorageSync('token')},
        		        filePath: tempFilePaths,
        		        name: 'file',

+ 1 - 1
pages_supplier/transportPerson/transportPersonAdd.vue

@@ -83,7 +83,7 @@
        		        mask: true
        		    });
        		    uni.uploadFile({
-       		        url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
+       		        url: config.base_url+'/base/upload', //仅为示例,非真实的接口地址
        		        header:{'Authorization':uni.getStorageSync('token')},
        		        filePath: tempFilePaths,
        		        name: 'file',