feat: rebrand to LumiFlow across miniprogram, admin-console, and server

这个提交包含在:
Guoguo
2026-06-10 18:47:22 -07:00
父节点 edf45690c3
当前提交 340837c700
修改 14 个文件,包含 19 行新增19 行删除
+1 -1
查看文件
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>智美 - 管理后台</title>
<title>LumiFlow - 管理后台</title>
<!--preload-links-->
<!--app-context-->
</head>
+2 -2
查看文件
@@ -1,7 +1,7 @@
<template>
<view class="admin-layout">
<view class="sidebar">
<view class="sidebar-logo">💎 智美</view>
<view class="sidebar-logo">💎 LumiFlow</view>
<view class="sidebar-sub">管理后台</view>
<view class="sidebar-menu">
<view
@@ -54,7 +54,7 @@ export default {
computed: {
pageTitle() {
var item = this.menuItems.find(m => m.view === this.currentPage)
return item ? item.icon + ' ' + item.label : '智美管理后台'
return item ? item.icon + ' ' + item.label : 'LumiFlow 管理后台'
},
adminName() {
var store = useUserStore()
+2 -2
查看文件
@@ -1,11 +1,11 @@
{
"name": "智美后台",
"name": "LumiFlow 后台",
"appid": "__UNI__HOXADMIN",
"description": "Hox beauty device admin console",
"versionName": "1.0.0",
"versionCode": "100",
"h5": {
"title": "智美后台",
"title": "LumiFlow 后台",
"router": {
"mode": "hash",
"base": "/admin/"
+1 -1
查看文件
@@ -11,7 +11,7 @@
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "智美后台",
"navigationBarTitleText": "LumiFlow 后台",
"navigationBarBackgroundColor": "#ffffff",
"backgroundColor": "#f5f5f5"
}
+2 -2
查看文件
@@ -2,7 +2,7 @@
<view class="login-page">
<view class="login-card">
<view class="login-logo">💎</view>
<view class="login-title">智美</view>
<view class="login-title">LumiFlow</view>
<view class="login-subtitle">管理后台</view>
<view class="form-group">
@@ -32,7 +32,7 @@
</button>
<view class="login-footer">© 2026 智美管理后台</view>
<view class="login-footer">© 2026 LumiFlow</view>
</view>
</view>
</template>
+1 -1
查看文件
@@ -21,7 +21,7 @@
],
"window": {
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTitleText": "智美",
"navigationBarTitleText": "LumiFlow",
"navigationBarTextStyle": "black",
"backgroundColor": "#f5f5f5"
},
@@ -18,7 +18,7 @@
<view class="found-card" wx:if="{{state === 'binding'}}">
<view class="found-icon">💆</view>
<view class="found-name">智能面膜-{{deviceId}}</view>
<view class="found-name">LumiFlow-{{deviceId}}</view>
<text class="status-badge status-badge-green">正在配对...</text>
</view>
+2 -2
查看文件
@@ -1,11 +1,11 @@
<view class="page">
<view class="page-header page-header-pink" style="padding-top: {{statusBarHeight + 24}}px;">
<view class="page-header-title">智美</view>
<view class="page-header-title">LumiFlow</view>
<view class="page-header-subtitle">微信登录</view>
</view>
<view class="page-content">
<view class="welcome-text">欢迎使用智美</view>
<view class="welcome-text">欢迎使用LumiFlow</view>
<view class="flower-area">
<text class="flower">💎</text>
+1 -1
查看文件
@@ -1,6 +1,6 @@
<view class="page">
<view class="page-header page-header-pink" style="padding-top: {{statusBarHeight + 24}}px;">
<view class="page-header-title">智美</view>
<view class="page-header-title">LumiFlow</view>
<view class="page-header-subtitle">完善个人资料</view>
</view>
+1 -1
查看文件
@@ -10,7 +10,7 @@
<view class="device-row-icon">💆</view>
<view class="device-row-info">
<view class="device-row-name">
智能面膜
LumiFlow
<text class="status-badge status-badge-green" wx:if="{{connected}}">已连接</text>
<text class="status-badge" style="background:#ccc;" wx:else>未连接</text>
</view>
+2 -2
查看文件
@@ -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++
+1 -1
查看文件
@@ -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' },
+1 -1
查看文件
@@ -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 })
+1 -1
查看文件
@@ -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)