From 586e8771a7d5090a09a84dee8f0f433b60de879e Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Sat, 15 Apr 2023 00:59:15 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E6=AD=A3=E5=88=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/query.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/query.js b/apps/query.js index b2456a4..0d6cbdb 100644 --- a/apps/query.js +++ b/apps/query.js @@ -1,10 +1,10 @@ // 主库 import fetch from "node-fetch"; +import fs from "node:fs"; // 爬虫库 import puppeteer from "../../../lib/puppeteer/puppeteer.js"; // http库 import axios from "axios"; -import fs from "node:fs"; // 常量 import { CAT_LIMIT } from "../utils/constant.js"; // 书库 @@ -46,11 +46,11 @@ export class query extends plugin { fnc: "youthLearning", }, { - reg: "^#搜书(.*)$$", + reg: "^#搜书(.*)$", fnc: "searchBook", }, { - reg: "^#bookid(.*)$$", + reg: "^#bookid(.*)$", fnc: "searchBookById", }, {