Commit 316fae89 authored by litaolemo's avatar litaolemo

update

parent 9dbdc0e1
......@@ -37,8 +37,8 @@ es = Elasticsearch([
def get_all_tag():
res_dict = {}
sql = "select name from api_tag where is_online = 1 and tag_type = 3"
db = pymysql.connect(host='172.16.30.136', port=3306, user='doris', passwd='o5gbA27hXHHm',
db='doris_prod')
db = pymysql.connect(host='172.16.30.141', port=3306, user='zhengxing', passwd='ZX0*n4vgtdN%t1VE',
db='zhengxing')
cursor = db.cursor()
cursor.execute(sql)
result = cursor.fetchall()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment