diff --git a/.env.development b/.env.development
index de583d0..0b34745 100644
--- a/.env.development
+++ b/.env.development
@@ -2,4 +2,5 @@
ENV = 'development'
# base api
-VUE_APP_BASE_API = '/dev-api'
+#VUE_APP_BASE_API = '/dev-api'
+VUE_APP_BASE_API = 'https://id.ssjlai.com/gateway/core'
diff --git a/.env.production b/.env.production
index 80c8103..0b6c033 100644
--- a/.env.production
+++ b/.env.production
@@ -1,6 +1,6 @@
# just a flag
ENV = 'production'
-# base api
-VUE_APP_BASE_API = '/prod-api'
+#VUE_APP_BASE_API = '/dev-api'
+VUE_APP_BASE_API = 'https://ai.ssjlai.com/gateway/core'
diff --git a/.env.test b/.env.test
index 7586884..9c2e43b 100644
--- a/.env.test
+++ b/.env.test
@@ -4,5 +4,6 @@ NODE_ENV = production
ENV = 'test'
# base api
-VUE_APP_BASE_API = '/stage-api'
+#VUE_APP_BASE_API = '/dev-api'
+VUE_APP_BASE_API = 'https://id.ssjlai.com/gateway/core'
diff --git a/README.md b/README.md
index a868564..f443f1e 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
@@ -38,4 +38,11 @@ FEATURE
- 取消 右键标签刷新操作
- 修改 右键标签为中文
- 增加 标签刷新
-- 修复 刷新错误的问题
\ No newline at end of file
+- 修复 刷新错误的问题
+
+
+## v1.0.4F
+`2021年12月6日`
+FEATURE
+- 增加 封装接口地址
+- 修改 登录账号密码 telpo telpo#1234
\ No newline at end of file
diff --git a/src/api/off-limits-manage.js b/src/api/off-limits-manage.js
new file mode 100644
index 0000000..93db29c
--- /dev/null
+++ b/src/api/off-limits-manage.js
@@ -0,0 +1,22 @@
+/*
+ * @Date: 2021-12-06 17:31:43
+ * @LastEditors: JinxuChen
+ * @LastEditTime: 2021-12-06 18:07:02
+ * @FilePath: \GpsCardAdmin\src\api\off-limits-manage.js
+ * @description: 封装告警识别内容接口
+ */
+import request from '@/utils/request'
+export const APILimits = {
+ getRecognition
+};
+export default APILimits;
+
+
+// 自动报警通用关键词查询
+function getRecognition(params) {
+ return request({
+ url: '/api/v1/Fence/AreaGeneralFilterQuery',
+ method: 'post',
+ data: params,
+ });
+}
\ No newline at end of file
diff --git a/src/api/user.js b/src/api/user.js
index 8ff4389..7a06c2c 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -1,18 +1,26 @@
+/*
+ * @Date: 2021-11-30 15:35:16
+ * @LastEditors: JinxuChen
+ * @LastEditTime: 2021-12-06 17:23:57
+ * @FilePath: \GpsCardAdmin\src\api\user.js
+ * @description:
+ */
import request from '@/utils/request'
-export function login(data) {
+const baseUrl = process.env.VUE_APP_BASE_API.replace('core', 'auth');
+export function login(params) {
return request({
- url: '/vue-admin-template/user/login',
+ url: `${baseUrl}/identityController/login`,
method: 'post',
- data
+ data: params
})
}
-export function getInfo(token) {
+export function getInfo(params) {
return request({
- url: '/vue-admin-template/user/info',
- method: 'get',
- params: { token }
+ url: '/api/v1/Ability/study_ai/terminal/auth',
+ method: 'post',
+ data: params
})
}
diff --git a/src/assets/telpo.png b/src/assets/telpo.png
new file mode 100644
index 0000000..ed759ac
Binary files /dev/null and b/src/assets/telpo.png differ
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index c28b843..aae9253 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -7,13 +7,15 @@
/>