job.py 396 B

123456789101112131415161718192021
  1. import requests
  2. import pymysql
  3. def GetConn(brand):
  4. rawBrand = ""
  5. database =""
  6. if brand in ["ugg","hdugg","ecco"]:
  7. rawBrand =brand
  8. else:
  9. return None
  10. if brand == ""
  11. pymysql.connect(host=brand+"",
  12. user='root',
  13. password='plmPLM0.',
  14. database='TESTDB')
  15. if __name__ == "__main__":
  16. print("p")