constants.go 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package model
  2. // TimeLayout
  3. const (
  4. TimeLayout = "2006-01-02 15:04:05"
  5. )
  6. // page
  7. const (
  8. DefaultPageSize = 5
  9. DefaultPageNum = 1
  10. )
  11. // BuglyVersion task status
  12. const (
  13. BuglyVersionTaskStatusReady = 1
  14. BuglyVersionTaskStatusRunning = 2
  15. )
  16. // BuglyVersion action
  17. const (
  18. BuglyVersionActionEnable = 1
  19. BuglyVersionActionDisable = 2
  20. )
  21. // BuglyCookie status
  22. const (
  23. BuglyCookieStatusEnable = 1
  24. BuglyCookieStatusDisable = 2
  25. )
  26. // BuglyBatchRun status
  27. const (
  28. BuglyBatchRunStatusRunning = 1
  29. BuglyBatchRunStatusDone = 2
  30. BuglyBatchRunStatusFailed = 3
  31. )
  32. // Insert bug status
  33. const (
  34. InsertBugStatusRunning = 1
  35. InsertBugStatusDone = 2
  36. InsertBugStatusFailed = 3
  37. )
  38. // Tapd Bug Priority Conf Enable
  39. const (
  40. TapdBugPriorityConfEnable = 1
  41. TapdBugPriorityConfDisable = 2
  42. )
  43. // Task Status
  44. const (
  45. TaskStatusRunning = 1
  46. TaskStatusDone = 2
  47. TaskStatusFailed = 3
  48. )
  49. // Task Type
  50. const (
  51. TaskBatchRunVersions = "BatchRunVersions"
  52. TaskDisableBatchRunOverTime = "DisableBatchRunOverTime"
  53. TaskBatchRunUpdateBugInTapd = "BatchRunUpdateBugInTapd"
  54. TaskSyncWechatContact = "SyncWechatContact"
  55. )