This commit is contained in:
MarkusJoe
2022-02-11 16:53:44 +08:00
parent c38437bb38
commit 95ddd0029a
2 files changed
+13 -7

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@
# @File Name: error.py
from typing import Optional
from flask import jsonify
from flask import Response
from db.db import (update_data, fetch_table)
@@ -15,7 +16,7 @@ class ErrorProcess:
def __init__(self):
self.msg_template = {'code': -2,
'msg': '',
'data': None}
'data': Optional[list]}
def get_theme_list(self) -> Response:
"""