refactor(api):调整后端逻辑-下

This commit is contained in:
zhengxinonly
2021-07-24 16:27:17 +08:00
parent b8e0173a9c
commit eb85e30b79
33 changed files with 788 additions and 779 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ def login_log():
page=page, per_page=limit, error_out=False)
data = marshal(log_paginate.items, log_fields)
return table_api(data=data, count=log_paginate.total)
return table_api(data=data, count=log_paginate.total, code=0)
@logs_bp.get('/access_log')