@ -10,10 +10,10 @@ CORS(app, resources=r'/*')
class Model:
def __init__(self):
self.db = pymysql.connect(
host='106.52.105.247',
host='xxx',
port=3306,
user='root',
passwd='332638qaz',
user='xxx',
passwd='xxx',
db='yiban',
charset='utf8'
)