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
c16680c735
commit
d4442a8a07
@ -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())
|
||||
|
@ -1,5 +1,5 @@
|
||||
- {
|
||||
version: 1.4.1,
|
||||
version: 1.4.2,
|
||||
data:
|
||||
[
|
||||
新增<span class="cmd">米游社解析</span>功能,
|
||||
|
Loading…
x
Reference in New Issue
Block a user