from app import app # 在文件中导入出现包导入重复
def parse_zip(self, f_page, p_result, is_result, exception):
""" """ from app import app # 在函数中没有报错 with app.app_context():
from app import app # 在文件中导入出现包导入重复
def parse_zip(self, f_page, p_result, is_result, exception):
""" """ from app import app # 在函数中没有报错 with app.app_context():