최신 플러그인 구조로 변경

This commit is contained in:
joyfuI
2022-07-10 23:22:28 +09:00
parent 44b792bc28
commit 3ef17ad0b3
9 changed files with 399 additions and 568 deletions

8
abort.py Normal file
View File

@@ -0,0 +1,8 @@
from flask import jsonify
class LogicAbort:
@staticmethod
def abort(base, code):
base["errorCode"] = code
return jsonify(base)