1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <title>百度快递查询接口Demo</title>
  5.  
  6. <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
  7.  
  8. </head>
  9.  
  10. <script type="text/javascript">
  11. var strUrl = "http://baidu.kuaidi100.com/query";
  12. var typeValue = "tiantian", postIdValue = "";
  13. typeValue = getCompanyCode("天天");
  14.  
  15. var gQueryType = ; //查询类型,4为百度查询
  16. var type;
  17. var postid;
  18. var isvalide;
  19. var havereturn = false;
  20. var statuscode = ;
  21. var req;
  22. var ischoose = false;
  23. var returnjson;
  24. var returnjson_up = [];
  25. var returnjson_down = [];
  26. var gSortStatus = ;
  27. var queryurl = '';
  28. var isavailable = ;
  29. var gIsCheck;
  30.  
  31. var t;
  32. getResult();
  33. function $(id) { return document.getElementById(id) }
  34.  
  35. function getCompanyCode(name) {
  36. var companyList = []; // 快递公司名 | 快递公司对应查询快递单号名
  37. companyList.push("EMS|ems");
  38. companyList.push("申通|shentong");
  39. companyList.push("圆通|yuantong");
  40. companyList.push("中通|zhongtong");
  41. companyList.push("汇通|huitongkuaidi");
  42. companyList.push("E邮宝|ems");
  43. companyList.push("UPS|ups");
  44. companyList.push("顺丰|shunfeng");
  45. companyList.push("韵达|yunda");
  46. companyList.push("天天|tiantian");
  47. companyList.push("宅急送|zhaijisong");
  48. companyList.push("邮政包裹|youzhengguonei");
  49.  
  50. companyList.push("AAE|aae");
  51. companyList.push("安信达|anxindakuaixi");
  52. companyList.push("BHT|bht");
  53. companyList.push("百福东方|aae");
  54. companyList.push("包裹/平邮/挂号信|youzhengguonei");
  55. companyList.push("COE|coe");
  56. companyList.push("CCES(希伊艾斯)|cces");
  57. companyList.push("DHL|dhl");
  58. companyList.push("大田|datianwuliu");
  59. companyList.push("德邦|debangwuliu");
  60. companyList.push("D速|dsukuaidi");
  61. companyList.push("递四方|disifang");
  62. companyList.push("飞康达|feikangda");
  63. companyList.push("FedEx(国际)|fedex");
  64. companyList.push("凡客|rufengda");
  65. companyList.push("能达速递|ganzhongnengda");
  66. companyList.push("挂号信|youzhengguonei");
  67. companyList.push("共速达|gongsuda");
  68. companyList.push("京广|jinguangsudikuaijian");
  69. companyList.push("佳吉|jiajiwuliu");
  70. companyList.push("佳怡|jiayiwuliu");
  71. companyList.push("急先达|jixianda");
  72. companyList.push("龙邦|longbanwuliu");
  73. companyList.push("联昊通|lianhaowuliu");
  74. companyList.push("联邦快递(国内)|lianbangkuaidi");
  75. companyList.push("全一|quanyikuaidi");
  76. companyList.push("全晨|quanchenkuaidi");
  77. companyList.push("全日通|quanritongkuaidi");
  78. companyList.push("全峰|quanfengkuaidi");
  79. companyList.push("速尔|suer");
  80. companyList.push("盛辉|shenghuiwuliu");
  81. companyList.push("申通E物流|shentong");
  82. companyList.push("穗佳物流|suijiawuliu");
  83. companyList.push("TNT|tnt");
  84. companyList.push("天地华宇|tiandihuayu");
  85. companyList.push("特快专递|ems");
  86. companyList.push("新邦|xinbangwuliu");
  87. companyList.push("信丰|xinfengwuliu");
  88. companyList.push("鑫飞鸿|xinhongyukuaidi");
  89. companyList.push("星晨急便|xingchengjibian");
  90. companyList.push("优速|youshuwuliu");
  91. companyList.push("运通|yuntongkuaidi");
  92. companyList.push("源伟丰|yuanweifeng");
  93. companyList.push("远成|yuanchengwuliu");
  94. companyList.push("越丰|yuefengwuliu");
  95. companyList.push("亚风|yafengsudi");
  96. companyList.push("元智捷诚|yuanzhijiecheng");
  97. companyList.push("邮政国内包裹|youzhengguonei");
  98. companyList.push("邮政国际包裹|youzhengguoji");
  99. companyList.push("中铁快运|zhongtiewuliu");
  100. companyList.push("中邮物流|zhongyouwuliu");
  101. var companyCode = "";
  102. var flag = false;
  103. for (var i = ; i < companyList.length; i++) {
  104. var values = companyList[i].split("|");
  105. var companyNames = values[].split("/");
  106. for (var j = ; j < companyNames.length; j++) {
  107. if (companyNames[j].indexOf(name) >= ) {
  108. flag = true;
  109. companyCode = values[];
  110. break;
  111. }
  112. }
  113. if (flag) {
  114. break;
  115. }
  116. }
  117. return companyCode;
  118. }
  119.  
  120. function getResult() {
  121. var url = strUrl + "?type=" + typeValue + "&postid=" + postIdValue + "&id=" + gQueryType;
  122. if (window.XMLHttpRequest) {
  123. req = new XMLHttpRequest()
  124. } else if (window.ActiveXObject) {
  125. req = new ActiveXObject("Microsoft.XMLHTTP")
  126. }
  127. if (req) {
  128. req.open("GET", url, true);
  129. req.onreadystatechange = complete;
  130. req.send(null);
  131. }
  132. }
  133.  
  134. function complete() {
  135. if (req.readyState == ) {
  136. if (req.status == ) {
  137. if (!havereturn) {
  138. var resultcontext = req.responseText;
  139. var json = eval("(" + resultcontext + ")");
  140. statuscode = json.status;
  141. gIsCheck = ;
  142. if (json.status == ) { //如果查询成功 20121011
  143. gIsCheck = json.ischeck;
  144. returnjson = json;
  145.  
  146. returnjson_up = [];
  147. returnjson_down = [];
  148. for (var i in json.data) {
  149. returnjson_up[i] = json.data[i];
  150. returnjson_down[i] = json.data[i];
  151. }
  152.  
  153. for (var i = ; i < returnjson_down.length / ; i++) {
  154. var tmp = returnjson_down[i];
  155. returnjson_down[i] = returnjson_down[returnjson_down.length - i - ];
  156. returnjson_down[returnjson_down.length - i - ] = tmp;
  157. }
  158. $("showcontext").style.display = "block";
  159. var data = json.data;
  160. totalcount = data.length;
  161. currentpage = ;
  162. fenye(currentpage);
  163. } else {
  164. $("errordiv").style.display = "block";
  165. $("errorMessage").innerHTML = "此单号无记录,请核对快递公司名称和运单号码是否正确!";
  166. }
  167. //refreshcode();
  168. }
  169. }
  170. }
  171. }
  172.  
  173. //排序
  174. function sortToggle() {
  175. if (gSortStatus == ) {
  176. gSortStatus = ;
  177. sortup();
  178. } else {
  179. gSortStatus = ;
  180. sortdown();
  181. }
  182. }
  183.  
  184. function sortup() {
  185. var table = $("showtablecontext");
  186. while (table.rows.length > ) {
  187. table.deleteRow();
  188. }
  189. returnjson.data = returnjson_up;
  190. $("b-down").className = "b-down";
  191. $("b-up").className = "b-up b-up-active";
  192. fenye();
  193. }
  194.  
  195. function sortdown() {
  196. var table = $("showtablecontext");
  197. while (table.rows.length > ) {
  198. table.deleteRow();
  199. }
  200. returnjson.data = returnjson_down;
  201. $("b-down").className = "b-down b-down-active";
  202. $("b-up").className = "b-up";
  203. fenye();
  204. }
  205.  
  206. function fenye(currentpage) {
  207. var json = returnjson;
  208. if (json == null) {
  209. return;
  210. }
  211. var data = json.data;
  212. var obj = json;
  213. var pagecount = ;
  214. var pagesize = ;
  215. if (isvalide) pagesize = ;
  216. var totalcount = data.length;
  217. if ((totalcount % pagesize) == ) {
  218. pagecount = parseInt(totalcount / pagesize);
  219. } else {
  220. pagecount = parseInt(totalcount / pagesize) + ;
  221. }
  222. var data = json.data;
  223. var height_table = ;
  224. var table = $("showtablecontext");
  225.  
  226. while (table.rows.length > ) {
  227. table.deleteRow();
  228. }
  229. for (var i = (currentpage - ) * pagesize; i < currentpage * pagesize; i++) {
  230. if (i > (totalcount - )) break;
  231. if (isvalide) height_table = ;
  232. if ((height_table + table.clientHeight) > ) {
  233. $("fenye").style.display = "block";
  234. break;
  235. }
  236. var newTr = table.insertRow(-);
  237. var newTd0 = newTr.insertCell(-);
  238. var newTd1 = newTr.insertCell(-);
  239. newTd0.innerHTML = data[i].time;
  240. newTd1.innerHTML = data[i].context;
  241. var strlength = ;
  242. if (newTr.clientHeight > ) {
  243. if (data[i].context.length > strlength) {
  244. newTd1.innerHTML = data[i].context;
  245. newTd1.innerHTML = newTd1.innerHTML.substring(, strlength) + "...";
  246. strlength = strlength - ;
  247. newTd1.title = data[i].context;
  248. }
  249. }
  250. if (gSortStatus == && i == ) {
  251. newTd0.className = "nobg c-g-a fontorange";
  252. newTd1.className = "nobg c-g-b fontorange";
  253. newTd1.innerHTML += '<span class="lastTag"></span>';
  254. } else if (gSortStatus == && i == totalcount - ) {
  255. newTd0.className = "nobg c-g-a fontorange";
  256. newTd1.className = "nobg c-g-b fontorange";
  257. newTd1.innerHTML += '<span class="lastTag"></span>';
  258. } else {
  259. newTd0.className = "nobg c-g-a";
  260. newTd1.className = "nobg c-g-b";
  261. }
  262. if ((height_table + table.clientHeight) > ) {
  263. table.deleteRow();
  264. break;
  265. }
  266. }
  267. var sbufferContext = "";
  268. if (pagecount == ) {
  269. $("fenye").innerHTML = sbufferContext;
  270. $("fenye").style.display = "block";
  271. return;
  272. } else {
  273. $("fenye").style.display = "block";
  274. }
  275. var list = "";
  276. if (pagecount <= ) {
  277. for (var i = ; i <= pagecount; i++) {
  278. if (i == currentpage) {
  279. list += "<a href='javascript:void(0)' class='divpaging-a-number2' >" + i + "</a>";
  280. } else {
  281. list += "<a href='javascript:void(0)' class='divpaging-a-number1' onclick='fenye(" + i + ")'>" + i + "</a>";
  282. }
  283. }
  284. } else if (pagecount > ) {
  285. if (currentpage <= ) {
  286. for (var i = ; i <= ; i++) {
  287. if (i == currentpage) {
  288. list += "<a href='javascript:void(0)' class='divpaging-a-number2' >" + i + "</a>";
  289. } else {
  290. list += "<a href='javascript:void(0)' class='divpaging-a-number1' onclick='fenye(" + i + ")'>" + i + "</a>";
  291. }
  292. }
  293. list += "<span class='divpaging-span2'>...</span>";
  294. list += "<a href='javascript:void(0)' class='divpaging-a-number1' onclick='fenye(" + pagecount + ")' >" + pagecount + "</a>";
  295. } else if (currentpage <= pagecount - ) {
  296. list += "<a href='javascript:void(0)' class='divpaging-a-number1' onclick='fenye(1)' >1</a>";
  297. list += "<span class='divpaging-span2'>...</span>";
  298. for (var i = currentpage - ; i <= currentpage + ; i++) {
  299. if (i == currentpage) {
  300. list += "<a href='javascript:void(0)' class='divpaging-a-number2' >" + i + "</a>";
  301. } else {
  302. list += "<a href='javascript:void(0)' class='divpaging-a-number1' onclick='fenye(" + i + ")'>" + i + "</a>";
  303. }
  304. }
  305. list += "<span class='divpaging-span2'>...</span>";
  306. list += "<a href='javascript:void(0)' class='divpaging-a-number1' onclick='fenye(" + pagecount + ")' >" + pagecount + "</a>";
  307. } else if (currentpage > pagecount - ) {
  308. list += "<a href='javascript:void(0)' class='divpaging-a-number1' onclick='fenye(1)' >1</a>";
  309. list += "<span class='divpaging-span2'>...</span>";
  310. for (var i = pagecount - ; i <= pagecount; i++) {
  311. if (i == currentpage) {
  312. list += "<a href='javascript:void(0)' class='divpaging-a-number2' >" + i + "</a>";
  313. } else {
  314. list += "<a href='javascript:void(0)' class='divpaging-a-number1' onclick='fenye(" + i + ")'>" + i + "</a>";
  315. }
  316. }
  317. }
  318. }
  319. $("fenye").innerHTML = list.toString();
  320. }
  321. </script>
  322.  
  323. <style type="text/css">
  324.  
  325. body
  326. {
  327. background: #ffffff;
  328. }
  329. *
  330. {
  331. margin: 0px;
  332. padding: 0px;
  333. }
  334.  
  335. .round_gray_new { padding:0px 0px 0px 10px; clear:both; width:514px }
  336. .xboxcontent_a { display:block; background:#FFFAE2; border:0px solid #F5E190; border-width:0px 1px; padding:8px 15px }
  337. .xboxcontent_a p { margin:0px; padding:0px; line-height:30px; font-size:14px; font-weight:bold; color:#F00 }
  338. .xboxcontent_a dt { line-height:30px }
  339. .xboxcontent_a dd { line-height:20px; font-family:"瀹嬩綋"; }
  340. .xboxcontent_a a { color:#0A8ECE; font-weight:bold }
  341.  
  342. .divpaging
  343. {
  344. font-size: 12px;
  345. line-height: 16px;
  346. text-align: center;
  347. vertical-align: middle;
  348. margin: 5px 0px 0px 10px;
  349. }
  350. .divpaging a
  351. {
  352. float: left;
  353. }
  354. .divpaging span
  355. {
  356. float: left;
  357. }
  358. .divpaging .divpaging-a-number1
  359. {
  360. border: #cee3f2 1px solid;
  361. padding: 1px 6px 1px 6px;
  362. color: #2477b3;
  363. margin: 2px 1px 2px 2px;
  364. }
  365. .divpaging .divpaging-a-number1:hover
  366. {
  367. border: #fd6d01 1px solid;
  368. padding: 1px 6px 1px 6px;
  369. color: #fd6d01;
  370. margin: 2px 1px 2px 2px;
  371. }
  372. .divpaging .divpaging-a-number2
  373. {
  374. border: none;
  375. padding: 2px 7px 2px 7px;
  376. color: #e63922;
  377. margin: 2px 1px 2px 2px;
  378. font-weight: bold;
  379. }
  380. .divpaging .divpaging-a-number3
  381. {
  382. border: #2477b3 1px solid;
  383. background: #2477b3;
  384. padding: 1px 6px 1px 6px;
  385. color: #ffffff;
  386. margin: 2px 1px 2px 2px;
  387. }
  388. .divpaging .divpaging-a-number3:hover
  389. {
  390. border: #fd6d01 1px solid;
  391. background: #ffffff;
  392. padding: 1px 6px 1px 6px;
  393. color: #fd6d01;
  394. margin: 2px 1px 2px 2px;
  395. }
  396. .divpaging .divpaging-a-button
  397. {
  398. border: #cee3f2 1px solid;
  399. padding: 1px 6px 1px 6px;
  400. color: #2477b3;
  401. margin: 2px 1px 2px 2px;
  402. }
  403. .divpaging .divpaging-a-button:hover
  404. {
  405. border: #fd6d01 1px solid;
  406. padding: 1px 6px 1px 6px;
  407. color: #fd6d01;
  408. margin: 2px 1px 2px 2px;
  409. }
  410. .divpaging .divpaging-span1
  411. {
  412. border: #c0c7cc 1px solid;
  413. padding: 1px 6px 1px 6px;
  414. color: #c0c7cc;
  415. margin: 2px 1px 2px 2px;
  416. }
  417. .divpaging .divpaging-span2
  418. {
  419. border: none;
  420. padding: 2px 6px 2px 6px;
  421. margin: 2px 1px 2px 2px;
  422. }
  423. .divpaging .divpaging-span3
  424. {
  425. border: none;
  426. padding: 2px 0px 2px 10px;
  427. color: #c0c7cc;
  428. margin: 2px 1px 2px 2px;
  429. }
  430. .divpaging .divpaging-span4
  431. {
  432. border: none;
  433. padding: 2px 6px 2px 0px;
  434. color: #c0c7cc;
  435. margin: 2px 1px 2px 2px;
  436. }
  437. .divpaging .divpaging-input1
  438. {
  439. float: left;
  440. border: #cee3f2 1px solid;
  441. width: 32px;
  442. height: 18px;
  443. margin: 2px;
  444. text-align: center;
  445. color: #2477b3;
  446. font-size: 12px;
  447. }
  448. .kd-result-new
  449. {
  450. padding: 10px;
  451. float: left;
  452. width: 514px;
  453. }
  454. #showtablecontext
  455. {
  456. background: #ffffff;
  457. }
  458. #showtablecontext .b-btn
  459. {
  460. float: right;
  461. position: relative;
  462. }
  463. #showtablecontext b
  464. {
  465. font-size: ;
  466. height: ;
  467. line-height: ;
  468. overflow: hidden;
  469. position: absolute;
  470. width: ;
  471. }
  472. #showtablecontext .b-up
  473. {
  474. border-color: transparent transparent #C9C4CA;
  475. border-style: dashed dashed solid;
  476. border-width: 4px;
  477. border-width: 5px \;
  478. right: 5px;
  479. right: 4px \;
  480. top: 4px;
  481. top: 1px \;
  482. }
  483. #showtablecontext .b-down
  484. {
  485. border-color: #C9C4CA transparent transparent;
  486. border-style: solid dashed dashed;
  487. border-width: 4px;
  488. right: 5px;
  489. top: 17px;
  490. top: 15px \;
  491. }
  492. #showtablecontext .b-up-active
  493. {
  494. border-color: transparent transparent #FFFFFF;
  495. }
  496. .bluebg
  497. {
  498. background: #64AADB;
  499. border: #75C2EF 1px solid;
  500. height: 28px;
  501. line-height: 28px;
  502. color: #FFFFFF;
  503. font-weight: bold;
  504. text-indent: 15px;
  505. }
  506. .nobg
  507. {
  508. border: 1px solid #DDDDDD;
  509. font-size: 12px;
  510. line-height: 22px;
  511. padding: 3px 5px;
  512. vertical-align: top;
  513. }
  514. .fontorange
  515. {
  516. color: #FF6600;
  517. }
  518. .lastTag
  519. {
  520. margin-left: 5px;
  521. display: inline-block;
  522. width: 22px;
  523. height: 9px;
  524. background: url("http://cdn.kuaidi100.com/images/frame/baidu/synastry_pics.gif") -251px -49px no-repeat;
  525. vertical-align: top;
  526. }
  527. </style>
  528. <body>
  529. <div class="round_gray_new" id="errordiv" style="display: none; clear: both;">
  530. <b class="xtop"><b class="xb1a"></b><b class="xb2a"></b><b class="xb3a"></b><b class="xb4a">
  531. </b></b>
  532. <div class="xboxcontent_a">
  533. <p style="line-height: 25px; margin: 0px; padding: 0px;">
  534. <font id="errorMessage">您输入的验证码错误,请重新输入!</font></p>
  535. </div>
  536. <b class="xbottom"><b class="xb4a"></b><b class="xb3a"></b><b class="xb2a"></b><b
  537. class="xb1a"></b></b>
  538. </div>
  539. <div class="kd-result-new" id="showcontext" style="display: none;">
  540. <table width="" border="" cellspacing="" cellpadding="" id="showtablecontext">
  541. <tr>
  542. <td width="27%" class="bluebg" onclick="sortToggle()" style="cursor: pointer">
  543. <span class="b-btn"><b class="b-up b-up-active" id="b-up"></b><b class="b-down" id="b-down">
  544. </b></span>时间
  545. </td>
  546. <td width="73%" class="bluebg">
  547. 地点和跟踪进度
  548. </td>
  549. </tr>
  550. </table>
  551. <div class="divpaging" id="fenye">
  552. </div>
  553. </div>
  554. </body>
  555. </html>

您输入的验证码错误,请重新输入!

时间 地点和跟踪进度
 

baidu 快递查询API的更多相关文章

  1. 快递查询API接口对接方法

    各类接口 快递查询API有即时查询和订阅查询两种,即时是请求即返回数据,订阅则是订阅快递单号到接口,有物流轨迹更新则全量返回数据.目前常用的有快递鸟.快递100.快递网等. 快递鸟即时API可以查询3 ...

  2. 快递查询api(多接口方案)

    /** 本环境使用php+smarty,结合两种快递api调取快递数据 * 说明,先快递鸟调取数据,失败后再调取快递网的数据* 快递鸟 http://www.kdniao.com 快递网 http:/ ...

  3. 各种快递查询--Api接口

    授权成功我的密钥 爱查快递API使用说明文档 API地址: 以前:http://api.ickd.cn/?com=[]&nu=[]&id=[]&type=[]&enco ...

  4. 快递查询API接口(trackingmore)

    快递查询接口 目前提供快递查询的接口平台有: Trackingmore 快递100 快递网 不同接口的区别: (1)Trackingmore支持380家快递公司,其中有55家为国内的快递,其余325家 ...

  5. 常用免费快递查询API对接案例

    现在许多电商公司和ERP都会寻找比较适用的集成快递查询接口,减少对接难度,现在整理一下常用的免费快递查询接口,并附上调用案例,如果有觉得不对的地方,望能够一起沟通探讨! 一.快递查询接口 目前有提供免 ...

  6. 自动化测试===unittest和requests接口测试案例,测试快递查询api(二)

    在原来基础上生成测试报告: 首先需要  HTMLTestRunner.py 的unittest生成报告文件 (源码,自动化测试===unittest配套的HTMLTestRunner.py生成html ...

  7. 快递查询API接口集成,有需要的可以直接用

    适用于涉及经常发货.寄快递的人群.企业.电商网站.微信公众号平台等对接使用.支持国内外三百多家快递及物流公司的快递单号一站式查询. 使用说明: 1.KuadidiAPI.php 不需要修改改任何东西 ...

  8. 快递查询API

    https://market.aliyun.com/products/56928004/cmapi014394.html#sku=yuncode839400000

  9. python爬虫入门之快递查询

    现在快递遍布生活的角角落落,一个快递其实是信息的集合体,里面包含大量的物流信息,那能不能自己实现一个快递查询的小功能?答案是能的!现在也有别人整理好的快递查询api,比如说快递100,可以通过它提供的 ...

随机推荐

  1. oracle ebs 采购订单关闭之PL/SQL实现方法

    应客户需求,需要写个脚本,批量关闭Bonus Item类型的采购订单,在metalink上搜索到一些方法,但是都测试不通.原来需要将代码生成一个并发程序.下面是测试成功的代码. 1.首先创建一个存储过 ...

  2. Mysql索引总结(一)

    数据库开发中索引的使用占了很重要的位置,好的索引会使数据库的读写效率加倍,烂的索引则会拖累整个系统甚至引发灾难. 索引分三类: index ----普通的索引,数据可以重复 unique ----唯一 ...

  3. 夺命雷公狗—angularjs—10—angularjs里面的内置函数

    我们没学一门语言或者框架,几乎里面都有各自的语法和内置函数,当然,强悍的angularjs也不例外,他的方法其实常用的没多少,因为很多都可以用源生jis几乎都能完成一大部分.. <!doctyp ...

  4. zw版【转发·台湾nvp系列Delphi例程】HALCON SetLineStyle2

    zw版[转发·台湾nvp系列Delphi例程]HALCON SetLineStyle2 procedure TForm1.Button1Click(Sender: TObject);var img : ...

  5. UIViewController卸载过程(ios6.0以后)

    在ios6.0以后,废除了viewWillUnload方法和viewDidUnload方法. 在ios6以后,当收到didReceiveMemoryWarning消息调用之后,程序会自动调用didRe ...

  6. Multi-source Replication

    MariaDB starting with 10.0.1 Multi-source replication means that one server has many masters from wh ...

  7. Zero_qiqi DIV模式的省市区三级联动

    1].[代码] [HTML]代码 跳至 [1] [2] [3] [4] [5] [6] ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ...

  8. centos7重启rsyslog服务|centos7重启syslog服务

    centos7重启rsyslog服务: systemctl restart rsyslog 使用:(killall无效) killall -HUP rsyslog

  9. Cacti Install

    一.Cacti简介 Cacti是通过snmpget来获取数据,使用RRDtool绘画图形,而且你完全可以不需要了解RRDtool复杂的参数.它提供了非常强大的数据和用户管理功能,可以指定每一个用户能查 ...

  10. 关于left join、right join和inner join

    总结, 1.select * from A left join B on A.XX=B.XX 左侧显示A的列名,右侧显示B的列名 左侧,显示A表的所有列 右侧, A.XX=B.XX的时候,显示B表的列 ...