py 文件中 from flask import Flask,redirect,request,url_for,jsonifyfrom Flask_5.config import Config from pymysql import connectapp=Flask(__name__)app.config.from_object(Config)def conn1(): # 连接数据库 conn=connect(host='127.0.0.1',port=3306,database='python…