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

这个提交包含在:
Guoguo
2026-06-10 18:47:22 -07:00
父节点 edf45690c3
当前提交 340837c700
修改 14 个文件,包含 19 行新增19 行删除
+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)