diff --git a/banban-mini/config/dev.js b/banban-mini/config/dev.js
index d5d5438..747dcc5 100644
--- a/banban-mini/config/dev.js
+++ b/banban-mini/config/dev.js
@@ -5,7 +5,7 @@ module.exports = {
defineConstants: {
__APP_ENV__: '"development"',
// Update this to your LAN backend when testing on a real device.
- __API_BASE_URL__: '"http://192.168.10.36:8001"',
+ __API_BASE_URL__: '"https://banban.api.talkingq.com"',
},
mini: {},
h5: {}
diff --git a/banban-mini/config/prod.js b/banban-mini/config/prod.js
index c1a10af..8a8c429 100644
--- a/banban-mini/config/prod.js
+++ b/banban-mini/config/prod.js
@@ -5,7 +5,7 @@ module.exports = {
defineConstants: {
__APP_ENV__: '"production"',
// Replace with the production backend before release builds.
- __API_BASE_URL__: '"http://192.168.10.36:8001"',
+ __API_BASE_URL__: '"https://banban.api.talkingq.com"',
},
mini: {},
h5: {}
diff --git a/banban-mini/src/config/env.ts b/banban-mini/src/config/env.ts
index 514bce5..78b32df 100644
--- a/banban-mini/src/config/env.ts
+++ b/banban-mini/src/config/env.ts
@@ -8,7 +8,7 @@ export interface AppConfig {
export const APP_CONFIG: AppConfig = {
appEnv: typeof __APP_ENV__ === 'undefined' ? 'development' : __APP_ENV__,
- apiBaseUrl: typeof __API_BASE_URL__ === 'undefined' ? 'http://127.0.0.1:8001' : __API_BASE_URL__,
+ apiBaseUrl: typeof __API_BASE_URL__ === 'undefined' ? 'https://banban.api.talkingq.com' : __API_BASE_URL__,
}
export const API_BASE_URL = APP_CONFIG.apiBaseUrl
diff --git a/banban-mini/src/pages/device/index.tsx b/banban-mini/src/pages/device/index.tsx
index a14b8a8..287b175 100644
--- a/banban-mini/src/pages/device/index.tsx
+++ b/banban-mini/src/pages/device/index.tsx
@@ -88,7 +88,7 @@ export default function Device() {
const nextValue = Boolean(e.detail?.value)
setSleepEnabled(nextValue)
Taro.showToast({
- title: nextValue ? '休眠展示已开启' : '休眠展示已关闭',
+ title: nextValue ? '休眠已开启' : '休眠已关闭',
icon: 'none',
})
}
@@ -241,7 +241,7 @@ export default function Device() {
定时休眠
- 开启后进入休眠展示
+ 开启后进入休眠状态
diff --git a/banban-mini/src/pages/location/index.tsx b/banban-mini/src/pages/location/index.tsx
index ab83d11..6f46f7f 100644
--- a/banban-mini/src/pages/location/index.tsx
+++ b/banban-mini/src/pages/location/index.tsx
@@ -375,7 +375,7 @@ export default function Location() {
) : (
<>
-
+ {/*
{MODE_OPTIONS.map((item) => (
{item.label}
))}
-
+ */}