Commit ee3b5422 authored by 张彦钊's avatar 张彦钊

新增测试文件

parent 72a21638
......@@ -16,7 +16,7 @@ def get_mysql_data(host,port,user,passwd,db,sql):
def get_user():
sql = "select user_id,phone,name,city_id,channel,auth_type from api_userextra"
sql = "select user_id,phone,name,city_id,channel,auth_type from api_userextra limit 6"
df = pd.DataFrame(list(get_mysql_data(host,port,user,passwd,db,sql)))
print(df.head(6))
......
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