Update index.js
This commit is contained in:
parent
1cf66f7840
commit
be51c7be1b
@ -1584,7 +1584,7 @@ async function startConsultOrder(item) {
|
||||
MsgType: "TIMCustomElem",
|
||||
MsgContent: {
|
||||
Data: "START",
|
||||
Ext: "医生会尽快接诊,请在当前页面等待,避免错过医生的消息或视频问诊提示",
|
||||
Ext: "医生会尽快接诊,请在当前页面等待,避免错过医生的消息",
|
||||
},
|
||||
},
|
||||
],
|
||||
@ -2363,7 +2363,7 @@ async function autoHandleExpireOrder() {
|
||||
|
||||
async function generateRegisterId(db, type = 'consult-register-id') {
|
||||
const key = dayjs().format('YYYY-MM-DD');
|
||||
const day = dayjs().format('YYMMDD')
|
||||
const day = dayjs().format('YYYYMMDD')
|
||||
const collection = db.collection('sequence-counter');
|
||||
|
||||
const result = await collection.findOneAndUpdate(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user