feat: rebrand to LumiFlow across miniprogram, admin-console, and server
这个提交包含在:
@@ -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' },
|
||||
|
||||
@@ -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 })
|
||||
|
||||
@@ -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)
|
||||
|
||||
在新工单中引用
屏蔽一个用户