From 1a783e0a2068b1a99efb7a078f4a615f68dec18f Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期一, 18 七月 2022 16:15:35 +0800
Subject: [PATCH] add desc

---
 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