mirror of
https://github.com/PaiGramTeam/luoxu-api-pub.git
synced 2024-11-25 09:27:40 +00:00
add zzz
This commit is contained in:
parent
3441610ba1
commit
dfd93d89e2
32
main.py
32
main.py
@ -18,20 +18,25 @@ app.add_middleware(
|
|||||||
allow_methods=["*"],
|
allow_methods=["*"],
|
||||||
allow_headers=["*"],
|
allow_headers=["*"],
|
||||||
)
|
)
|
||||||
groups_id = [1366383997, 1797471403]
|
groups_id = [1366383997, 1797471403, 1936247070]
|
||||||
groups = {
|
groups = {
|
||||||
"groups": [
|
"groups": [
|
||||||
{
|
{
|
||||||
"group_id": "1366383997",
|
"group_id": "1366383997",
|
||||||
"name": "原神 · 提瓦特大陆",
|
"name": "原神 · 提瓦特大陆",
|
||||||
"pub_id": "GenshinImpact"
|
"pub_id": "GenshinImpact"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"group_id": "1797471403",
|
"group_id": "1797471403",
|
||||||
"name": "崩坏:星穹铁道 · 仙舟:罗浮",
|
"name": "崩坏:星穹铁道 · 仙舟:罗浮",
|
||||||
"pub_id": "HSRCN_Group"
|
"pub_id": "HSRCN_Group"
|
||||||
}
|
},
|
||||||
]
|
{
|
||||||
|
"group_id": "1936247070",
|
||||||
|
"name": "绝区零 · 新艾利都",
|
||||||
|
"pub_id": "ZZZGroups"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -78,7 +83,6 @@ async def redirect_to_html():
|
|||||||
|
|
||||||
app.mount("/", StaticFiles(directory="html"), name="html")
|
app.mount("/", StaticFiles(directory="html"), name="html")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import uvicorn
|
import uvicorn
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user