【新增】接入微信订阅消息

This commit is contained in:
puhui999
2024-07-24 17:17:44 +08:00
parent 2ea027a6e0
commit 8977504147
5 changed files with 42 additions and 30 deletions
+7
View File
@@ -56,6 +56,13 @@ export const TimeStatusEnum = {
END: '已结束',
}
// TODO 订阅模版枚举
export const SubscribeTemplate = {
ORDER_AFTERSALE_CHANGE: "售后进度通知",
MONEY_CHANGE: "充值成功通知"
}
export const getTimeStatusEnum = (startTime, endTime) => {
const now = dayjs();
if (now.isBefore(startTime)) {