Browse Source

增加日期检查健壮性

master
巴林闲侠 2 years ago
parent
commit
17756400b2
  1. 2
      api/app/lib/utils/days.js

2
api/app/lib/utils/days.js

@ -36,7 +36,7 @@ module.exports = function (app, opts) {
festivals: false,
params: holidayData.type
}
dayType = null
let dayType = null
let holidayType = holidayData.type.type
if (
holidayType == 2

Loading…
Cancel
Save