constants.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package utils
  2. const (
  3. Md5Key = "Ks@h64WJ#tcVgG8$&WlNfqvLAtMgpxWN"
  4. )
  5. // 常量定义
  6. const (
  7. FormatTime = "15:04:05" //时间格式
  8. FormatDate = "2006-01-02" //日期格式
  9. FormatDateUnSpace = "20060102" //日期格式
  10. FormatDateTime = "2006-01-02 15:04:05" //完整时间格式
  11. HlbFormatDateTime = "2006-01-02_15:04:05.999" //完整时间格式
  12. FormatDateTimeUnSpace = "20060102150405" //完整时间格式
  13. FormatMonthDateUnSpace = "200601" //年月格式
  14. PageSize15 = 15 //列表页每页数据量
  15. PageSize5 = 5
  16. PageSize10 = 10
  17. PageSize20 = 20
  18. PageSize30 = 30
  19. )
  20. const (
  21. APPNAME = "弘则-数据爬虫"
  22. EmailSendToUsers = "glji@hzinsights.com;pyan@hzinsights.com;cxzhang@hzinsights.com;zwxi@hzinsights.com;"
  23. )
  24. const (
  25. // debug
  26. //EDB_LIB_URL = "http://8.136.199.33:8300/edbapi/"
  27. //APP_EDB_LIB_NAME_EN = "hongze_edb_lib"
  28. //EDB_LIB_Md5_KEY = "GuRaB6dY1bXOJcwG"
  29. // release
  30. EDB_LIB_URL = "http://47.100.175.96:8300/edbapi/"
  31. APP_EDB_LIB_NAME_EN = "hongze_edb_lib"
  32. EDB_LIB_Md5_KEY = "GuRaB6dY1bXOJcwG"
  33. )