From 40d2696400da485b4ad6ad6bd4b412c9a76c46de Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期二, 16 十一月 2021 17:14:00 +0800
Subject: [PATCH] Merge branch 'bhomebus' of http://192.168.5.5:10010/r/web/vue-smart-ai into bhomebus

---
 src/api/baseLibrary.ts |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/api/baseLibrary.ts b/src/api/baseLibrary.ts
index 16c29cc..e12fbf9 100644
--- a/src/api/baseLibrary.ts
+++ b/src/api/baseLibrary.ts
@@ -6,9 +6,9 @@
  */
 export const getSyncTables = (query: any) => {
   return request({
-    url: "/data/api-v/dbtable/queryDbTables/1",
+    url: "/data/api-v/dbtable/queryDbTables",
     method: "post",
-    data: query
+    data: { isSync: 1 }
   });
 };
 
@@ -18,9 +18,9 @@
  */
 export const getLocalTables = (query: any) => {
   return request({
-    url: "/data/api-v/dbtable/queryDbTables/2",
+    url: "/data/api-v/dbtable/queryDbTables",
     method: "post",
-    data: query
+    data: { isSync: 2 }
   });
 };
 

--
Gitblit v1.8.0