代码恢复

This commit is contained in:
midoks
2022-06-28 09:18:17 +08:00
parent af32792bf1
commit fbac71e542
111 changed files with 1576 additions and 973 deletions
+7
View File
@@ -48,6 +48,13 @@ class plugins_api:
def listApi(self):
sType = request.args.get('type', '0')
sPage = request.args.get('p', '1')
if not mw.isNumber(sPage):
sPage = 1
if not mw.isNumber(sType):
sType = 0
# print sPage
data = self.getPluginList(sType, int(sPage))
return mw.getJson(data)