Browse Source

1、中台

zjz 8 months ago
parent
commit
5d2d2a3183
1 changed files with 12 additions and 12 deletions
  1. 12 12
      src/views/dcSystem/vmSubsystem/common/requestapis.ts

+ 12 - 12
src/views/dcSystem/vmSubsystem/common/requestapis.ts

@@ -1,22 +1,22 @@
 /*
  * @Author: tengmingxue 1473375109@qq.com
  * @Date: 2022-11-16 10:33:42
- * @LastEditors: tengmingxue 1473375109@qq.com
- * @LastEditTime: 2022-11-16 14:58:36
+ * @LastEditors: zjz
+ * @LastEditTime: 2024-07-17 15:12:25
  * @FilePath: \dcWaterService\src\views\dcSystem\vmSubsystem\common\requestapis.ts
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
 import request from '@/utils/request'
-const getCamera = '212022032200016'//中台 => 摄像头列表
-//中台调用
+const getCamera = '212022032200016'// 中台 => 摄像头列表
+// 中台调用
 export function callInterface(data) {
-    return request({
-        url: 'dc/interfacemanage/callInterface',
-        method: 'post',
-        data: data
-    })
+  return request({
+    url: '/dc/interfacemanage/callInterface',
+    method: 'post',
+    data: data
+  })
 }
-//摄像头列表
+// 摄像头列表
 export function getCamerList(params) {
-    return callInterface({ code: getCamera, parameter: params })
-}
+  return callInterface({ code: getCamera, parameter: params })
+}