feat: replace require with import 7/n

This commit is contained in:
DIYgod
2024-03-07 01:17:21 +08:00
parent 3d33ab1f72
commit 44c9853541
263 changed files with 629 additions and 567 deletions

View File

@@ -1,4 +1,4 @@
const dayjs = require('dayjs');
import dayjs from 'dayjs';
import { constructTopicEntry } from './utils';
export default async (ctx) => {