mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: V1.4.2 [#I92VFW]修复医药查询
This commit is contained in:
parent
d4442a8a07
commit
db396e0ef6
@ -64,7 +64,7 @@ export class query extends plugin {
|
||||
|
||||
async doctor(e) {
|
||||
const keyword = e.msg.replace("#医药查询", "").trim();
|
||||
const url = `https://server.dayi.org.cn/api/search2?pageNo=1&pageSize=10&keyword=${ keyword }&pageNo=1&pageSize=10`;
|
||||
const url = `https://server.dayi.org.cn/api/search2?keyword=${ keyword }&pageNo=1&pageSize=10`;
|
||||
try {
|
||||
const res = await fetch(url)
|
||||
.then(resp => resp.json())
|
||||
|
Loading…
x
Reference in New Issue
Block a user