Commit d6f80b30 by 蒋勇

d

parent 171ab24b
......@@ -16,7 +16,7 @@ FK_DB_NAME = env_dist.get('FK_DB_NAME') #获取mysql库
class IndexGet:
conn = pymysql.connect(host=FK_DB_HOST,port=FK_DB_PORT,user=FK_DB_USER,password=FK_DB_PWD,db=FK_DB_NAME,charset="utf8mb4")
conn = pymysql.connect(host=FK_DB_HOST,port=int(FK_DB_PORT),user=FK_DB_USER,password=FK_DB_PWD,db=FK_DB_NAME,charset="utf8mb4")
def Subscribe(self,span,type):
print("查询条件",span,type)
cursor = self.conn.cursor()
......
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