From f7f0e44c4be8eb0e77fd310296c3b43bde21e4f9 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期四, 23 六月 2022 14:17:01 +0800
Subject: [PATCH] 新增联动场景

---
 src/api/camera.ts |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/api/camera.ts b/src/api/camera.ts
index 0510362..702c3aa 100644
--- a/src/api/camera.ts
+++ b/src/api/camera.ts
@@ -1,9 +1,10 @@
 import request from "@/scripts/httpRequest";
+import request2 from './index'
 import qs from "qs";
 
 
 export const createCamera = (camera: any) => {
-  return request({
+  return request2({
     url: "/saas/api-s/camera/add",
     method: "post",
     data: camera
@@ -11,7 +12,7 @@
 };
 
 export const updateCameraInfo = (camera: any) => {
-  return request({
+  return request2({
     url: "/saas/api-s/camera/update",
     method: "post",
     data: camera

--
Gitblit v1.8.0