Diving-Fish / maimaidx-prober

舞萌 DX 查分器
https://www.diving-fish.com/maimaidx/prober
MIT License
720 stars 53 forks source link

Update main.py for plate process calculation #15

Closed 55601425PZJAY closed 3 years ago

55601425PZJAY commented 3 years ago

added "getplatelist" function, added post route "/query/plate", with request json example {"qq": qq, "version":"wmdx"} return for plate calculation

Diving-Fish commented 3 years ago

有点看不明白。如果要取多个版本的是否可以直接把参数整合成tuple,或者直接写*arg然后取呢 以及可以看看 List.filter 函数

Diving-Fish commented 3 years ago

可以增强一下可扩展性,然后添加一点注释比较好,谢谢!