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