common.go 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. // Copyright 2019 getensh.cc. All rights reserved.
  2. // Use of this source code is governed by getensh.cc.
  3. package consts
  4. // 定义数据来源大类
  5. const (
  6. ODSPROVIDERLOG = "provider-log" // 数据源日志
  7. ODSGDLOG = "gd-log" // gd日志
  8. ODSMANUALAMENDMENT = "manual" // 人工修正
  9. ODSOFFLINEIMPORT = "offline-import" // 离线导入
  10. )
  11. // 定义过期或不过期数据
  12. const (
  13. NORMALDATA = "0"
  14. EXPIREDATA = "1"
  15. )
  16. // 数据源编码
  17. const (
  18. VINRELATION = "102-002" //VIN解析车型
  19. VEHICLEINFO = "103-001" //全国车辆信息查询
  20. VEHICLEINFOZZX = "122-001" //全国车辆信息查询-中智信
  21. VEHICLEOWNER = "103-002" //车辆所有人验证
  22. CXYVIOLATION = "117-001" //车行易违章
  23. VIOLATIONSC = "109-001" //四川违章
  24. VEHICLEZT = "114-001" // 直通车辆信息
  25. VIOLATIONCHINA = "101-001" //全国违章
  26. C300VALUATION = "102-001" // 车300估值
  27. MJLIMIT = "105-001" //限行数据
  28. MJAQI = "105-002" //空气质量指数
  29. MJFORECAST24HOURS = "105-003" //天气预报24小时
  30. MJAQI5DAYS = "105-004" //AQI预报5天
  31. MJFORECAST15DAYS = "105-005" //天气预报15天
  32. MJCONDITION = "105-006" //天气实况
  33. MJLIFTINDEX = "105-007" //生活指数
  34. MJALERT = "105-008" //天气预警
  35. JHLICENSESCORE = "106-001" //驾驶员累计计分查询
  36. ZXDRIVERLICENSEQUERY = "107-003" //驾驶证核查
  37. EDCREATEORDER = "104-002" //e代审创建订单
  38. EDGETTOKEN = "104-001" //e代审获取token
  39. EDCANCELORDER = "104-003" //e代审取消订单
  40. EDPAYORDER = "104-004" //e代审通知订单已支付
  41. NJGETCITY = "108-001" //鑫首创获取城市列表
  42. NJCREATEORDER = "108-002" //鑫首创创建自行预约订单
  43. NJCANCELORDER = "108-003" //鑫首创取消订单
  44. NJGETSTATION = "108-004" //鑫首创获取年审机构
  45. NJGETSTATIONITEM = "108-005" //鑫首创获取年审项目
  46. NJGETVEHICLETYPE = "108-006" //鑫首创获取机构支持的车辆类型
  47. NJGETRESERVATIONOFFDATE = "108-007" //鑫首创获取机构不可预约日期
  48. NJGETRESERVATIONTIME = "108-008" //获取可预约时段
  49. NJGETORDERSTATE = "108-009" //鑫首创获取自行预约订单状态
  50. CHECHEGETITEM = "110-001" //车车网获取年审报价
  51. CHECHECREATEORDER = "110-002" //车车网创建免检年审在线处理订单
  52. CHECHECHANGEORDERSTATUS = "110-003" //车车修改订单状态(只支持“确认要办”)
  53. ZQYPLATEVEHICLE = "119-001"
  54. ZQYVINVEHICLE = "119-002"
  55. ZQYPLATEVEHICLENEW = "119-003"
  56. MSNO272OWNERBUYORDER = "115-005" //所有人验证-购买报告
  57. MSNO272OWNERQUERYORDER = "115-006" //所有人验证-发起查询
  58. MSNO272OWNERGETRESULT = "115-007" //所有人验证-获取查询结果
  59. MSNO272OWNERQREFRESHORDER = "115-008" //所有人验证-读取报告状态
  60. MS315OWNERVERIFY = "115-023" // MS 315所有人验证
  61. MSNO272VECHICLEBUYORDER = "115-009" //所有人验证获取车档-购买报告
  62. MSNO272VECHICLEQUERYORDER = "115-010" //所有人验证获取车档-发起查询
  63. MSNO272VECHICLEGETRESULT = "115-011" //所有人验证获取车档-获取查询结果
  64. MSNO272VECHICLEQREFRESHORDER = "115-012" //所有人验证获取车档-读取报告状态
  65. MSNO274BUYORDER = "115-013" //VIN发动机查车牌-购买报告
  66. MSNO274QUERYORDER = "115-014" //VIN发动机查车牌-发起查询
  67. MSNO274GETRESULT = "115-015" //VIN发动机查车牌-获取查询结果
  68. MSNO274QREFRESHORDER = "115-016" //VIN发动机查车牌-读取报告状态
  69. MSNO273BUYORDER = "115-017" //三要素验证-购买报告
  70. MSNO273QUERYORDER = "115-018" //三要素验证-发起查询
  71. MSNO273GETRESULT = "115-019" //三要素验证-获取查询结果
  72. MSNO273QREFRESHORDER = "115-020" //三要素验证-读取报告状态
  73. ZHVIN = "120-001" //智慧数据
  74. HNVIN6 = "120-002" //智慧(haoniu)数据
  75. CQZJTVEHICLEOWNER = "123-001" //重庆中交投所有人验证
  76. CQZJTVEHICLE = "123-002" //重庆中交投全国车档
  77. DJVEHICLE = "124-001" //DJ车档
  78. DJSCVEHICLE = "124-002" //DJ四川车档
  79. DJVEHICLEOWNER = "124-003" //DJ所有人验证
  80. DJSCVEHICLEOWNER = "124-004" //DJ四川所有人验证
  81. LOCALDATA = "125-001" //本地数据
  82. LOCALVIOLATION = "125-002" //本地违章
  83. LOCALVIN11 = "125-003" //本地vin11数据
  84. LOCALSCW = "125-004" //本地scw数据
  85. JISUPLATEVERIFY = "127-002" //极速车牌号验证
  86. BIHUGETINSURANCE = "116-001" //壁虎获取上年投保信息
  87. SPYDEFINEVIN = "128-001" // SPY VIN码获取车型信息
  88. SPYVINNEW = "128-011"
  89. SPYVIN6 = "128-003"
  90. SPYTWODATE = "128-004"
  91. SPYINSUREDATE = "128-009"
  92. BJCVIN = "129-001" //BJC vin
  93. DJVIN = "124-007" //DJ vin
  94. LOCALVIN = "125-005" //本地VIN相关数据
  95. LOCALRESPONSE = "125-006" //本地响应参数检查
  96. ZQYINSUREDATE = "119-005"
  97. ZQYVINVEHICLETRANSFER = "119-006"
  98. ZQYVIN6VEHICLE = "119-007"
  99. SPYTRANSFERRECORD = "128-010"
  100. ZHDVEHICLEOWNER = "137-001"
  101. ZHDVEHICLEOWNERVERIFY = "137-002"
  102. ZHDVEHICLEFIVE = "137-003"
  103. ENGINENOCHECKE = "125-007" //发动机号检测
  104. PLATETYPEPOLL = "125-008" //发动机号检测
  105. LOCALBJDATA = "125-009" //本地bj数据
  106. LOCALVEHICLEMODEL = "125-010"
  107. DRVVEHICLEOWNERVERIFY = "138-002"
  108. SPYTWODATE2 = "128-006"
  109. SPYTRANSFERBYVIN = "128-007"
  110. SPYTWOELEMENTVERIFY = "128-008"
  111. ZCRKTWOELEMENTVERIFY = "141-001"
  112. ZCRKTWOELEMENTVERIFY2 = "141-002"
  113. ONLINECARACTIVE = "138-003"
  114. DRVVEHICLEOWNERVERIFYBAK = "138-004"
  115. ZJCVEHICLEOWNER = "142-001"
  116. DYIDCERTVERIFY = "139-001"
  117. ZCRKENGINENO = "141-003"
  118. )
  119. // 定义数据来源编号
  120. const (
  121. SOURCEODS1 = "ODS001" // 车行易违章
  122. SOURCEODS2 = "ODS002"
  123. SOURCEODS3 = "ODS003"
  124. SOURCEODS4 = "ODS004"
  125. SOURCEODS5 = "ODS005"
  126. SOURCEODS6 = "ODS006"
  127. SOURCEODS7 = "ODS007"
  128. SOURCEODS8 = "ODS008"
  129. SOURCEODS9 = "ODS009"
  130. SOURCEODS10 = "ODS010"
  131. SOURCEODS11 = "ODS011"
  132. SOURCEODS12 = "ODS012"
  133. SOURCEODS13 = "ODS013"
  134. SOURCEODS15 = "ODS015"
  135. SOURCEODS16 = "ODS016"
  136. SOURCEODS17 = "ODS017"
  137. SOURCEODS18 = "ODS018"
  138. SOURCEDWS1 = "DWS001"
  139. SOURCEDWS2 = "DWS001"
  140. SOURCEADS1 = "ADS001"
  141. SOURCEADS2 = "ADS002"
  142. )
  143. const (
  144. ONLINE = "online"
  145. OFFLINE = "offline"
  146. )
  147. const (
  148. DEFAULTPAGESIZE = 1000
  149. )
  150. const (
  151. FromDb = 1
  152. FromExcel = 2
  153. )