common.go 865 B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright 2019 github.com. All rights reserved.
  2. // Use of this source code is governed by github.com.
  3. package consts
  4. const (
  5. PageSize = 10
  6. )
  7. const (
  8. TimeSecondLayOut = "2006-01-02 15:04:05"
  9. )
  10. const (
  11. DeviceStatusAddAuditting = iota // 待审核
  12. DeviceStatusAddAuditted//添加设备审核通过
  13. DeviceStatusAddAudittedFail//添加设备审核未通过
  14. DeviceStatusDelAuditting//拆机审核中
  15. DeviceStatusDelAudittedFail//拆机审核未通过
  16. )
  17. const (
  18. DeviceTypeStatusAddTesting = iota //添加设备类型待对接测试
  19. DeviceTypeStatusAddTestted //对接测试通过
  20. DeviceTypeStatusAddTesttedFail //对接测试未通过
  21. DeviceTypeStatusAddAuditted //住建部审核通过
  22. DeviceTypeStatusAddAudittedFail //住建部审核未通过
  23. )
  24. const (
  25. ProviderStatusAddAuditting = iota
  26. ProviderStatusAddAuditted
  27. ProviderStatusAddAudittedFail
  28. )