constants.go 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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. FormatDate2 = "2006/01/02" //日期格式
  10. FormatDateUnSpace = "20060102" //日期格式
  11. FormatDateTime = "2006-01-02 15:04:05" //完整时间格式
  12. HlbFormatDateTime = "2006-01-02_15:04:05.999" //完整时间格式
  13. FormatDateTimeUnSpace = "20060102150405" //完整时间格式
  14. FormatMonthDateUnSpace = "200601" //年月格式
  15. PageSize15 = 15 //列表页每页数据量
  16. PageSize5 = 5
  17. PageSize10 = 10
  18. PageSize20 = 20
  19. PageSize30 = 30
  20. )
  21. const (
  22. APPNAME = "弘则-数据爬虫"
  23. EmailSendToUsers = "glji@hzinsights.com;pyan@hzinsights.com;cxzhang@hzinsights.com;zwxi@hzinsights.com;"
  24. )
  25. const (
  26. BusinessCodeRelease = "E2023080900" // 生产环境
  27. BusinessCodeFuBang = "E2024020200"
  28. BusinessCodeJinRui = "E2023122901"
  29. )