🐞 fix: V1.4.2 [#I92VFW]修复医药查询

This commit is contained in:
zhiyu1998 2024-02-25 16:49:11 +08:00
parent c16680c735
commit d4442a8a07
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ export class query extends plugin {
async doctor(e) {
const keyword = e.msg.replace("#医药查询", "").trim();
const url = `https://api2.dayi.org.cn/api/search2?keyword=${ keyword }&pageNo=1&pageSize=10`;
const url = `https://server.dayi.org.cn/api/search2?pageNo=1&pageSize=10&keyword=${ keyword }&pageNo=1&pageSize=10`;
try {
const res = await fetch(url)
.then(resp => resp.json())

View File

@ -1,5 +1,5 @@
- {
version: 1.4.1,
version: 1.4.2,
data:
[
新增<span class="cmd">米游社解析</span>功能,