diff --git a/admin-console/index.html b/admin-console/index.html
index d512d5e..c4a275a 100644
--- a/admin-console/index.html
+++ b/admin-console/index.html
@@ -3,7 +3,7 @@
- 智美 - 管理后台
+ LumiFlow - 管理后台
diff --git a/admin-console/src/components/AdminLayout.vue b/admin-console/src/components/AdminLayout.vue
index c2c7b8e..32afce4 100644
--- a/admin-console/src/components/AdminLayout.vue
+++ b/admin-console/src/components/AdminLayout.vue
@@ -1,7 +1,7 @@
diff --git a/miniprogram/app.json b/miniprogram/app.json
index 9157830..d4ca568 100644
--- a/miniprogram/app.json
+++ b/miniprogram/app.json
@@ -21,7 +21,7 @@
],
"window": {
"navigationBarBackgroundColor": "#ffffff",
- "navigationBarTitleText": "智美",
+ "navigationBarTitleText": "LumiFlow",
"navigationBarTextStyle": "black",
"backgroundColor": "#f5f5f5"
},
diff --git a/miniprogram/pages/ble-connect/ble-connect.wxml b/miniprogram/pages/ble-connect/ble-connect.wxml
index b92aa69..341d8d8 100644
--- a/miniprogram/pages/ble-connect/ble-connect.wxml
+++ b/miniprogram/pages/ble-connect/ble-connect.wxml
@@ -18,7 +18,7 @@
💆
- 智能面膜-{{deviceId}}
+ LumiFlow-{{deviceId}}
正在配对...
diff --git a/miniprogram/pages/login/login.wxml b/miniprogram/pages/login/login.wxml
index 074ae34..4d9851b 100644
--- a/miniprogram/pages/login/login.wxml
+++ b/miniprogram/pages/login/login.wxml
@@ -1,11 +1,11 @@
- 欢迎使用智美
+ 欢迎使用LumiFlow
💎
diff --git a/miniprogram/pages/register/register.wxml b/miniprogram/pages/register/register.wxml
index b0bd022..791a833 100644
--- a/miniprogram/pages/register/register.wxml
+++ b/miniprogram/pages/register/register.wxml
@@ -1,6 +1,6 @@
diff --git a/miniprogram/pages/wear-check/wear-check.wxml b/miniprogram/pages/wear-check/wear-check.wxml
index ca2b46f..86dc4cf 100644
--- a/miniprogram/pages/wear-check/wear-check.wxml
+++ b/miniprogram/pages/wear-check/wear-check.wxml
@@ -10,7 +10,7 @@
💆
- 智能面膜
+ LumiFlow
已连接
未连接
diff --git a/server/src/dao/device.dao.js b/server/src/dao/device.dao.js
index ac486ed..bf4ffc2 100644
--- a/server/src/dao/device.dao.js
+++ b/server/src/dao/device.dao.js
@@ -89,7 +89,7 @@ async function create(device) {
device_id: device.device_id,
product_id: device.product_id || 'HOX_LIGHT_MASK',
device_secret: device.device_secret || '',
- device_name: device.device_name || '智能面膜',
+ device_name: device.device_name || 'LumiFlow',
firmware_version: device.firmware_version || '1.0.0'
}
)
@@ -111,7 +111,7 @@ async function createBatch(deviceIds) {
device_id: deviceId,
product_id: 'HOX_LIGHT_MASK',
device_secret: '',
- device_name: '智能面膜',
+ device_name: 'LumiFlow',
firmware_version: '1.0.0'
})
created++
diff --git a/server/src/lib/wxpay.js b/server/src/lib/wxpay.js
index bd61eb3..c2f89e4 100644
--- a/server/src/lib/wxpay.js
+++ b/server/src/lib/wxpay.js
@@ -92,7 +92,7 @@ async function createPrepayOrder({ openid, orderId, amountFen, description }) {
const body = {
appid: config.wxpay.appid || config.wechat.appid,
mchid: config.wxpay.mchId,
- description: description || '智能面膜订阅',
+ description: description || 'LumiFlow 订阅',
out_trade_no: orderId,
notify_url: config.wxpay.notifyUrl,
amount: { total: amountFen, currency: 'CNY' },
diff --git a/server/src/routes/admin.js b/server/src/routes/admin.js
index dd09c86..628ffe7 100644
--- a/server/src/routes/admin.js
+++ b/server/src/routes/admin.js
@@ -92,7 +92,7 @@ router.post('/devices', requireAdmin, wrap(async (req, res) => {
device_id: deviceId,
product_id: req.body.product_id || 'HOX_LIGHT_MASK',
device_secret: req.body.device_secret || '',
- device_name: req.body.device_name || '智能面膜',
+ device_name: req.body.device_name || 'LumiFlow',
firmware_version: req.body.firmware_version || '1.0.0'
})
await logDao.write({ admin_id: req.admin.admin_id, action: 'admin_device_create', detail: '预生成产品码: ' + deviceId, ip: req.ip })
diff --git a/server/src/routes/subscription.js b/server/src/routes/subscription.js
index af4c851..3dd36b6 100644
--- a/server/src/routes/subscription.js
+++ b/server/src/routes/subscription.js
@@ -68,7 +68,7 @@ router.post('/subscription/purchase', requireUser, wrap(async (req, res) => {
openid: req.user.openid,
orderId,
amountFen,
- description: '智能面膜-' + (plan === 'yearly' ? '年卡' : '月卡')
+ description: 'LumiFlow-' + (plan === 'yearly' ? '年卡' : '月卡')
})
await paymentOrderDao.markPrepay(orderId, prepayId)