mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-25 12:37:49 +00:00
moyu 修复接口
This commit is contained in:
parent
4280ca3112
commit
8d922a4d91
@ -32,7 +32,7 @@
|
||||
},
|
||||
{
|
||||
"name": "moyu",
|
||||
"version": "1.001",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "3.0 kb",
|
||||
|
@ -16,7 +16,7 @@ moyu_sub = Sub("moyu")
|
||||
|
||||
|
||||
async def get_calendar() -> None:
|
||||
resp = await client.get("https://api.j4u.ink/proxy/remote/moyu.json")
|
||||
resp = await client.get("https://api.j4u.ink/v1/store/other/proxy/remote/moyu.json")
|
||||
if resp.is_error:
|
||||
raise ValueError(f"摸鱼日历获取失败,错误码:{resp.status_code}")
|
||||
content = resp.json()
|
||||
|
Loading…
Reference in New Issue
Block a user