response.php 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. <?php
  2. defined('BASEPATH') OR exit('No direct script access allowed');
  3. //通用 0000-0099
  4. $config['response']['0000'] = "操作成功";
  5. $config['response']['0001'] = "缺少username";
  6. $config['response']['0002'] = "缺少token";
  7. $config['response']['0003'] = "缺少client_key";
  8. $config['response']['0004'] = "登录信息已过期,请重新登录";
  9. $config['response']['0005'] = "非法请求";
  10. $config['response']['0006'] = "未查询到相关数据";
  11. $config['response']['0007'] = "缺少必要参数";
  12. $config['response']['0008'] = "服务器连接失败";
  13. $config['response']['0009'] = "数据库更新失败";
  14. $config['response']['0010'] = "命令下发失败";
  15. $config['response']['0011'] = "无权限操作";
  16. $config['response']['0012'] = "找不到文件";
  17. $config['response']['0013'] = "无访问权限";
  18. $config['response']['0014'] = "参数错误";
  19. $config['response']['0015'] = "上传失败";
  20. $config['response']['0016'] = "下发命令超时,请稍后重试";
  21. //登录 0100-0199
  22. $config['response']['0100'] = '用户名或密码不能为空';
  23. $config['response']['0101'] = '用户名或密码错误';
  24. $config['response']['0102'] = '用户不存在';
  25. $config['response']['0103'] = '账户已被停用,请联系管理员';
  26. $config['response']['0104'] = '同级用户不能修改账户状态';
  27. $config['response']['0105'] = '请输入验证码';
  28. $config['response']['0106'] = '验证码已经过期';
  29. $config['response']['0107'] = '验证码错误';
  30. //项目 0200-0299
  31. $config['response']['0200'] = '项目id不能为空';
  32. $config['response']['0201'] = '项目编号已存在';
  33. $config['response']['0202'] = '该项目不存在';
  34. $config['response']['0203'] = '项目名称已存在';
  35. $config['response']['0204'] = '项目名称不能为空';
  36. $config['response']['0205'] = '项目编号不能为空';
  37. $config['response']['0206'] = '请选择区域';
  38. $config['response']['0207'] = '请选择省份';
  39. $config['response']['0208'] = '请选择时区';
  40. $config['response']['0209'] = '请选择公司';
  41. $config['response']['0210'] = '项目编号长度不能超过20位';
  42. $config['response']['0211'] = '项目名称长度不能超过40位';
  43. $config['response']['0212'] = '项目编号为数字或字母';
  44. $config['response']['0213'] = '命令已经下发,请稍后查看';
  45. $config['response']['0214'] = '请先删除项目下的设备';
  46. $config['response']['0215'] = '请先删除项目下的网关';
  47. //网络 0300-0399
  48. $config['response']['0300'] = '网络id不能为空';
  49. $config['response']['0301'] = '网络编号已存在';
  50. $config['response']['0302'] = '该网络不存在';
  51. $config['response']['0303'] = '网络名称已存在';
  52. $config['response']['0304'] = '协议类型为0-3';
  53. $config['response']['0305'] = '网络编号不能为空';
  54. $config['response']['0306'] = '网络名称不能为空';
  55. $config['response']['0307'] = '项目不能为空';
  56. $config['response']['0308'] = '请选择项目';
  57. $config['response']['0309'] = '网络编号为数字或字母';
  58. //灯控 0400-0499
  59. $config['response']['0400'] = '灯控id不能为空';
  60. $config['response']['0401'] = '灯控编号已存在';
  61. $config['response']['0402'] = '该灯控不存在';
  62. $config['response']['0403'] = '灯控名称已存在';
  63. $config['response']['0404'] = '无线模块地址已被使用';
  64. $config['response']['0405'] = '请选择网络';
  65. $config['response']['0406'] = '数据更新中';
  66. $config['response']['0407'] = '手动更新已经发送';
  67. $config['response']['0408'] = '路灯编号不能超过六位数';
  68. $config['response']['0409'] = '请填写路灯编号';
  69. $config['response']['0410'] = '路灯编号为1-999999的数字';
  70. $config['response']['0411'] = '请选择需要更新的路灯';
  71. $config['response']['0412'] = '路灯不在线';
  72. $config['response']['0413'] = '路灯已存在';
  73. $config['response']['0414'] = '无线模块地址必须为十六进制';
  74. $config['response']['0415'] = '协议类型选项错误';
  75. $config['response']['0416'] = '指令已下发,请稍后查看结果';
  76. $config['response']['0417'] = '获取参数信息失败,请稍后重试';
  77. $config['response']['0418'] = '选择日期不能超过31天';
  78. $config['response']['0419'] = '设备未绑定路段信息';
  79. $config['response']['0420'] = '只有杀虫灯设备能设置策略';
  80. $config['response']['0421'] = '经度范围错误';
  81. $config['response']['0422'] = '纬度范围错误';
  82. $config['response']['0423'] = "无效的ID";
  83. //报表 0500-0599
  84. $config['response']['0500'] = "type不正确";
  85. $config['response']['0501'] = "show_type不正确";
  86. $config['response']['0502'] = "缺少item_ids";
  87. //告警维修 0600-0699
  88. $config['response']['0601'] = "维修人员不存在";
  89. $config['response']['0602'] = "维修人员已经存在";
  90. $config['response']['0603'] = "请选择要删除的故障";
  91. $config['response']['0604'] = "请选择故障";
  92. $config['response']['0605'] = "维修人员id不能为空";
  93. $config['response']['0606'] = "维修人员名称不能为空";
  94. $config['response']['0607'] = "手机号码不能为空";
  95. $config['response']['0608'] = "请选择要删除维修人员";
  96. $config['response']['0609'] = "请选择要删除的记录";
  97. $config['response']['0610'] = "请选择维修人员";
  98. $config['response']['0611'] = "计划完成时间不能为空";
  99. $config['response']['0612'] = "开始时间不能为空";
  100. $config['response']['0613'] = "请选择需要维修的故障";
  101. $config['response']['0614'] = "请选择路灯";
  102. $config['response']['0615'] = "同一路灯半个小时之内只能调度一次";
  103. $config['response']['0616'] = "暂无数据,请在维修记录页面添加";
  104. $config['response']['0617'] = "维修人员id为1-999999的数字";
  105. $config['response']['0618'] = "邮箱不能为空";
  106. $config['response']['0619'] = "名称已经存在";
  107. //个人中心 0700-0799
  108. $config['response']['0701'] = "确认密码错误";
  109. $config['response']['0702'] = "密码错误";
  110. $config['response']['0703'] = "密码长度为6-12位";
  111. $config['response']['0704'] = "密码修改失败,请稍后重试!";
  112. $config['response']['0705'] = "上传失败!";
  113. $config['response']['0706'] = "账号已经存在";
  114. $config['response']['0707'] = "用户名称不能为空";
  115. $config['response']['0708'] = "登录账号不能为空";
  116. $config['response']['0709'] = "新密码与旧密码不能相同";
  117. $config['response']['0710'] = "请选择上一级区域";
  118. $config['response']['0711'] = "区域名称不能为空";
  119. $config['response']['0712'] = "请选择所属公司";
  120. $config['response']['0713'] = "请输入密码";
  121. $config['response']['0714'] = "姓名不能为空";
  122. $config['response']['0715'] = "联系方式不能为空";
  123. $config['response']['0716'] = "反馈内容不能为空";
  124. $config['response']['0717'] = "请选择权限";
  125. $config['response']['0718'] = "手机格式错误";
  126. $config['response']['0719'] = "邮箱格式错误";
  127. $config['response']['0720'] = "密码长度最少六位";
  128. $config['response']['0721'] = "手机号码已经存在";
  129. $config['response']['0722'] = "E-mail已经存在";
  130. $config['response']['0723'] = "登录账号长度不能超过20位";
  131. $config['response']['0724'] = "请选择用户类型";
  132. //监控 0800-0899
  133. $config['response']['0801'] = "监控名称已经存在";
  134. $config['response']['0802'] = "请选择路灯";
  135. $config['response']['0803'] = "监控名称不能为空";
  136. $config['response']['0804'] = "监控编号不能为空";
  137. $config['response']['0805'] = "无线模块地址不能为空";
  138. $config['response']['0806'] = "端口号不能为空";
  139. $config['response']['0807'] = "ip地址或域名不能为空";
  140. $config['response']['0808'] = "监控用户名不能为空";
  141. $config['response']['0809'] = "监控密码不能为空";
  142. $config['response']['0810'] = "请选择监控类型";
  143. $config['response']['0811'] = "通道不能为空";
  144. $config['response']['0812'] = "通道已被使用";
  145. $config['response']['0813'] = '监控编号为1-999999的数字';
  146. $config['response']['0814'] = '萤石云账号异常,请联系管理员';
  147. //策略分组 0900-0999
  148. $config['response']['0901'] = "策略名称已经存在";
  149. $config['response']['0902'] = "分组名称已经存在";
  150. $config['response']['0903'] = "缺少分组id";
  151. $config['response']['0904'] = "结束时间必须大于开始时间";
  152. $config['response']['0905'] = "结束日期必须大于开始日期";
  153. $config['response']['0906'] = "选择时间有重叠";
  154. $config['response']['0907'] = "选择日期有重叠";
  155. $config['response']['0908'] = "策略名称不能为空";
  156. $config['response']['0909'] = "策略内容不能为空";
  157. $config['response']['0910'] = "分组名称不能为空";
  158. $config['response']['0911'] = "请选择所属项目";
  159. $config['response']['0911'] = "请选择分组";
  160. $config['response']['0912'] = "请选择操作类型";
  161. $config['response']['0913'] = "请选择策略";
  162. $config['response']['0914'] = "请选择要删除的分组";
  163. //公司管理 1000-1099
  164. $config['response']['1000'] = "公司名称不能为空";
  165. $config['response']['1001'] = "公司ID不能为空";
  166. $config['response']['1002'] = "请选择公司类型";
  167. $config['response']['1003'] = "公司名称已经存在";
  168. $config['response']['1004'] = "公司名称缩写已经存在";
  169. // 英文版
  170. //通用 0000-0099
  171. $config['response_en']['0000'] = "Successful operation";
  172. $config['response_en']['0001'] = "Lack username";
  173. $config['response_en']['0002'] = "Lack token";
  174. $config['response_en']['0003'] = "Lack client_key";
  175. $config['response_en']['0004'] = "Login information has expired. Please login again";
  176. $config['response_en']['0005'] = "Unlawful request";
  177. $config['response_en']['0006'] = "No relevant data was querying";
  178. $config['response_en']['0007'] = "Missing necessary parameters";
  179. $config['response_en']['0008'] = "Server connection failure";
  180. $config['response_en']['0009'] = "Database update failed";
  181. $config['response_en']['0010'] = "Command failure";
  182. $config['response_en']['0011'] = "No authority";
  183. $config['response_en']['0012'] = "cannot find file";
  184. $config['response_en']['0013'] = "No authority";
  185. $config['response_en']['0014'] = 'Parameter error';
  186. $config['response_en']['0015'] = 'Upload failed';
  187. $config['response_en']['0016'] = 'The command is timed out, please try again later';
  188. //登录 0100-0199
  189. $config['response_en']['0100'] = 'User name or password cannot be empty';
  190. $config['response_en']['0101'] = 'Wrong user name or password';
  191. $config['response_en']['0102'] = 'user does not exist';
  192. $config['response_en']['0103'] = 'The account has been deactivated. Please contact the administrator';
  193. $config['response_en']['0104'] = 'Account status cannot be modified by users of the same level';
  194. $config['response_en']['0105'] = 'Please enter the verification code';
  195. $config['response_en']['0106'] = 'The verification code has expired';
  196. $config['response_en']['0107'] = 'Verification code error';
  197. //项目 0200-0299
  198. $config['response_en']['0200'] = 'Item ID cannot be empty';
  199. $config['response_en']['0201'] = 'Project number already exists';
  200. $config['response_en']['0202'] = 'The project does not exist';
  201. $config['response_en']['0203'] = 'Project name already exists';
  202. $config['response_en']['0204'] = 'Project name cannot be empty';
  203. $config['response_en']['0205'] = 'Item No. cannot be empty';
  204. $config['response_en']['0206'] = 'Please select area';
  205. $config['response_en']['0207'] = 'Please select a province';
  206. $config['response_en']['0208'] = 'Please select a time zone';
  207. $config['response_en']['0209'] = 'Please select company';
  208. $config['response_en']['0210'] = 'The length of item number cannot exceed 20 digits';
  209. $config['response_en']['0211'] = 'Project name cannot exceed 40 digits in length';
  210. $config['response_en']['0212'] = 'Item number is number or letter';
  211. $config['response_en']['0213'] = 'The command has been issued. Please check later';
  212. $config['response_en']['0214'] = 'Please delete the device under the project first';
  213. $config['response_en']['0215'] = 'Please delete the gateway under the project first';
  214. //网络 0300-0399
  215. $config['response_en']['0300'] = 'Network ID cannot be empty';
  216. $config['response_en']['0301'] = 'Network number already exists';
  217. $config['response_en']['0302'] = 'The network does not exist';
  218. $config['response_en']['0303'] = 'Network name already exists';
  219. $config['response_en']['0304'] = 'Protocol type is 0-3';
  220. $config['response_en']['0305'] = 'Network number cannot be empty';
  221. $config['response_en']['0306'] = 'Network name cannot be empty';
  222. $config['response_en']['0307'] = 'Item cannot be empty';
  223. $config['response_en']['0308'] = 'Please select an item';
  224. $config['response_en']['0309'] = 'Network number is number or letter';
  225. //灯控 0400-0499
  226. $config['response_en']['0400'] = 'Lamp control ID cannot be empty';
  227. $config['response_en']['0401'] = 'Light control number already exists';
  228. $config['response_en']['0402'] = 'The light control does not exist';
  229. $config['response_en']['0403'] = 'The light control name already exists';
  230. $config['response_en']['0404'] = 'Wireless module address is in use';
  231. $config['response_en']['0405'] = 'Please select a network';
  232. $config['response_en']['0406'] = 'Data updating';
  233. $config['response_en']['0407'] = 'Manual update sent';
  234. $config['response_en']['0408'] = 'Street lamp number cannot exceed six digits';
  235. $config['response_en']['0409'] = 'Please fill in the street lamp number';
  236. $config['response_en']['0410'] = 'Number of street lamp No. 1-999999';
  237. $config['response_en']['0411'] = 'Please select the street lamp to be updated';
  238. $config['response_en']['0412'] = 'Street light is not online';
  239. $config['response_en']['0413'] = 'Street light already exists';
  240. $config['response_en']['0414'] = 'Wireless module address must be hexadecimal';
  241. $config['response_en']['0415'] = 'Wrong protocol type option';
  242. $config['response_en']['0416'] = 'The instruction has been issued. Please check the result later';
  243. $config['response_en']['0417'] = 'Failed to get parameter information. Please try again later';
  244. $config['response_en']['0418'] = 'Selection date cannot exceed 31 days';
  245. $config['response_en']['0419'] = 'Section information not bound by equipment';
  246. $config['response_en']['0420'] = 'Only the insecticidal lamp device can set the strategy';
  247. $config['response_en']['0421'] = 'Longitude range error';
  248. $config['response_en']['0422'] = 'Latitude range error';
  249. $config['response_en']['0423'] = "Invalid ID";
  250. //报表 0500-0599
  251. $config['response_en']['0500'] = "Incorrect type";
  252. $config['response_en']['0501'] = "show_type Incorrect";
  253. $config['response_en']['0502'] = "Missing item_ids";
  254. //告警维修 0600-0699
  255. $config['response_en']['0601'] = "Maintenance personnel does not exist";
  256. $config['response_en']['0602'] = "Maintenance personnel already exist";
  257. $config['response_en']['0603'] = "Please select the fault to delete";
  258. $config['response_en']['0604'] = "Please select the fault";
  259. $config['response_en']['0605'] = "Maintenance personnel ID cannot be empty";
  260. $config['response_en']['0606'] = "Maintainer name cannot be empty";
  261. $config['response_en']['0607'] = "Mobile number cannot be empty";
  262. $config['response_en']['0608'] = "Please select the repairman to delete";
  263. $config['response_en']['0609'] = "Please select the record to delete";
  264. $config['response_en']['0610'] = "Please select maintenance personnel";
  265. $config['response_en']['0611'] = "Planned completion time cannot be empty";
  266. $config['response_en']['0612'] = "Start time cannot be empty";
  267. $config['response_en']['0613'] = "Please select the fault to be repaired";
  268. $config['response_en']['0614'] = "Please select street light";
  269. $config['response_en']['0615'] = "The same street lamp can only be dispatched once in half an hour";
  270. $config['response_en']['0616'] = "No data temporarily, please add it on the maintenance record page";
  271. $config['response_en']['0617'] = "Number with maintainer ID 1-999999";
  272. $config['response_en']['0618'] = "The mailbox cannot be empty";
  273. $config['response_en']['0619'] = "The name already exists";
  274. //个人中心 0700-0799
  275. $config['response_en']['0701'] = "Confirm password error";
  276. $config['response_en']['0702'] = "Password error";
  277. $config['response_en']['0703'] = "Password length is 6-12 bits";
  278. $config['response_en']['0704'] = "Password modification failed, please try again later!";
  279. $config['response_en']['0705'] = "Upload failed!";
  280. $config['response_en']['0706'] = "Account already exists";
  281. $config['response_en']['0707'] = "User name cannot be empty";
  282. $config['response_en']['0708'] = "Login account cannot be empty";
  283. $config['response_en']['0709'] = "The new password cannot be the same as the old password";
  284. $config['response_en']['0710'] = "Please select the upper level area";
  285. $config['response_en']['0711'] = "Area name cannot be empty";
  286. $config['response_en']['0712'] = "Please select your company";
  287. $config['response_en']['0713'] = "Please input a password";
  288. $config['response_en']['0714'] = "Name cannot be empty";
  289. $config['response_en']['0715'] = "Contact information cannot be empty";
  290. $config['response_en']['0716'] = "Feedback content cannot be empty";
  291. $config['response_en']['0717'] = "Please select permission";
  292. $config['response_en']['0718'] = "Phone format error";
  293. $config['response_en']['0719'] = "Mailbox format error";
  294. $config['response_en']['0720'] = "Password length of at least six digits";
  295. $config['response_en']['0721'] = "Mobile number already exists";
  296. $config['response_en']['0722'] = "E-mail already exists";
  297. $config['response_en']['0723'] = "Login account length cannot exceed 20";
  298. $config['response_en']['0724'] = "Please select user type";
  299. //监控 0800-0899
  300. $config['response_en']['0801'] = "Monitoring name already exists";
  301. $config['response_en']['0802'] = "Please select street light";
  302. $config['response_en']['0803'] = "Monitoring name cannot be empty";
  303. $config['response_en']['0804'] = "Monitoring No. cannot be empty";
  304. $config['response_en']['0805'] = "Wireless module address cannot be empty";
  305. $config['response_en']['0806'] = "Port number cannot be empty";
  306. $config['response_en']['0807'] = "IP address or domain name cannot be empty";
  307. $config['response_en']['0808'] = "Monitoring user name cannot be empty";
  308. $config['response_en']['0809'] = "Monitoring password cannot be empty";
  309. $config['response_en']['0810'] = "Please select monitoring type";
  310. $config['response_en']['0811'] = "Channel cannot be empty";
  311. $config['response_en']['0812'] = "Channel is already in use";
  312. $config['response_en']['0813'] = 'Monitor numbers 1-999999';
  313. $config['response_en']['0814'] = 'Fluorite cloud account is abnormal, please contact the administrator';
  314. //策略分组 0900-0999
  315. $config['response_en']['0901'] = "Policy name already exists";
  316. $config['response_en']['0902'] = "Group name already exists";
  317. $config['response_en']['0903'] = "Missing group ID";
  318. $config['response_en']['0904'] = "End time must be greater than start time";
  319. $config['response_en']['0905'] = "End date must be greater than start date";
  320. $config['response_en']['0906'] = "Selection time overlaps";
  321. $config['response_en']['0907'] = "There are overlaps in the selection date";
  322. $config['response_en']['0908'] = "Policy name cannot be empty";
  323. $config['response_en']['0909'] = "Policy content cannot be empty";
  324. $config['response_en']['0910'] = "Group name cannot be empty";
  325. $config['response_en']['0911'] = "Please select the project";
  326. $config['response_en']['0911'] = "Please select a group";
  327. $config['response_en']['0912'] = "Please select operation type";
  328. $config['response_en']['0913'] = "Please select a policy";
  329. $config['response_en']['0914'] = "Please select the group to delete";
  330. //公司管理 1000-1099
  331. $config['response_en']['1000'] = "Company name cannot be empty";
  332. $config['response_en']['1001'] = "Company ID cannot be empty";
  333. $config['response_en']['1002'] = "Please select company type";
  334. $config['response_en']['1003'] = "Company name already exists";
  335. $config['response_en']['1004'] = "Company name abbreviation already exists";