doc.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  6. <title>API接口文档</title>
  7. <link rel="shortcut icon" href="/styles/images/api.ico"/>
  8. <script type="text/javascript" src="/styles/jquery/jquery-1.9.1.min.js"></script>
  9. <link rel="stylesheet" href="/styles/bootstrap/css/bootstrap.min.css"/>
  10. <script type="text/javascript" src="/styles/jquery/clipboard/clipboard.min.js"></script>
  11. <script type="text/javascript" src="/styles/layer3.0.3/layer.js"></script>
  12. <link rel="stylesheet" href="/styles/jsonview/jquery.jsonview.min.css"/>
  13. <script type="text/javascript" src="/styles/jsonview/jquery.jsonview.min.js"></script>
  14. <link rel="stylesheet" href="/styles/layer3.0.3/skin/default/layer.css"/>
  15. <link rel="stylesheet" href="/styles/highlight/styles/docco.css"/>
  16. <link rel="stylesheet" href="/styles/highlight/styles/style.css"/>
  17. <link rel="stylesheet" href="/styles/highlight/styles/default.css"/>
  18. <script src="/styles/highlight/highlight.pack.js"></script>
  19. <script src="/styles/jquery/marked.js"></script>
  20. <link rel="stylesheet" href="/styles/cdao/swaggerbootstrapui.css"/>
  21. <script src="/styles/jquery/template-web.js"></script>
  22. </head>
  23. <body style="overflow: hidden;">
  24. <div class="bycdao-left" style="height: 100%;overflow-y: auto;overflow-x: hidden;">
  25. <ul class="nav nav-list" id="menu">
  26. <li>
  27. <a href="javascript:void(0)">
  28. <i class="icon-text-width"></i>
  29. <span class="menu-text"> 简介 </span>
  30. </a>
  31. </li>
  32. <li class="active">
  33. <a href="#" class="dropdown-toggle">
  34. <i class="icon-file-alt"></i>
  35. <span class="menu-text">
  36. 其他页面
  37. <span class="badge badge-primary ">3</span>
  38. </span>
  39. <b class="arrow icon-angle-down"></b>
  40. </a>
  41. <ul class="submenu">
  42. <li>
  43. <a href="javascript:void(0)">
  44. <i class="icon-double-angle-right"></i>
  45. 帮助
  46. </a>
  47. </li>
  48. <li>
  49. <a href="javascript:void(0)">
  50. <i class="icon-double-angle-right"></i>
  51. 404错误页面
  52. </a>
  53. </li>
  54. <li>
  55. <a href="javascript:void(0)">
  56. <i class="icon-double-angle-right"></i>
  57. 500错误页面
  58. </a>
  59. </li>
  60. </ul>
  61. </li>
  62. </ul>
  63. </div>
  64. <!--离线文档说明-->
  65. <script type="text/html" id="offLinecontentScript">
  66. <div style="width:99%;margin:0px auto;">
  67. <div class="alert alert-info" role="alert">
  68. 提供markdwon格式类型的离线文档,开发者可拷贝该内容通过其他markdown转换工具进行转换为html或pdf.
  69. </div>
  70. <div class="input-inline" style="margin-bottom:10px;">
  71. <button class="btn btn-primary" type="button" id="btnCopy">拷贝文档</button>
  72. </div>
  73. <div class='input-inline'>
  74. <textarea class='form-control' style='width: 100%;height: 100%;' id="txtOffLineDoc">
  75. # 简介
  76. **标题**:{{title}}
  77. **简介**:{{description}}
  78. **HOST**:{{host}}
  79. **联系人**:{{contact}}
  80. **接口路径**:{{location}}
  81. <% for( i = 0; i < tags.length; i++) { var tag=tags[i] ; %># <%= tag.name %><% for( j = 0; j < paths.length; j++) {var path=paths[j]; if(path.tags.indexOf(tag.name)>-1){ %>
  82. ## <%= path.summary %>
  83. **接口说明**:<%= path.description %>
  84. **接口地址**:`<%= path.url %>`
  85. **请求方式**:`<%= path.methodType %>`
  86. **consumes**:`<%= path.consumes %>`
  87. **produces**:`<%= path.produces %>`
  88. **请求参数**:
  89. <% if(path.parameters!=null && path.parameters.length>0){ %>
  90. | 参数名称 | 说明 | in | 是否必须 | 类型 | schema |
  91. | ------------ | -------------------------------- |-----------|--------|----|--- |
  92. <% for( a = 0; a < path.parameters.length; a++) {var param=path.parameters[a]; %>|<%=param.name%>| <%=param.description%> | <%=param.in%> | <%=param.require%> |<%=param.type%> | <%=param.schemaValue%> |
  93. <%}%>
  94. <%}else{%>暂无<%}%><% if(path.refparameters!=null && path.refparameters.length>0){ %>
  95. **schema属性说明**
  96. <% for( a = 0; a < path.refparameters.length; a++) { var ref=path.refparameters[a];%>
  97. **<%=ref.name%>**
  98. | 参数名称 | 说明 | in | 是否必须 | 类型 | schema |
  99. | ------------ | -------------------------------- |-----------|--------|----|--- |
  100. <% for( b = 0; b < ref.params.length; b++) { var rp=ref.params[b];%>|<%=rp.name%>| <%=rp.description%> | <%=rp.in%> | <%=rp.require%> |<%=rp.type%> | <%=rp.schemaValue%> |
  101. <%}}}%>
  102. **响应数据**:
  103. ```json
  104. <%= path.responseValue %>
  105. ```
  106. **响应参数说明**:
  107. <% if(path.responseParameters!=null && path.responseParameters.length>0){ %>
  108. | 参数名称 | 说明 | 类型 | schema |
  109. | ------------ | -------------------|-------|----------- |
  110. <% for( a = 0; a < path.responseParameters.length; a++) { var param=path.responseParameters[a];%>|<%=param.name%>| <%=param.description%> |<%=param.type%> | <%=param.schemaValue%> |
  111. <%}}else{%>
  112. 暂无
  113. <%}%>
  114. <% if(path.responseRefParameters!=null && path.responseRefParameters.length>0){ %>
  115. **schema属性说明**
  116. <% for( a = 0; a < path.responseRefParameters.length; a++) { var ref=path.responseRefParameters[a];%>
  117. **<%=ref.name%>**
  118. | 参数名称 | 说明 | 类型 | schema |
  119. | ------------ | ------------------|--------|----------- |
  120. <% for( b = 0; b < ref.params.length; b++) { var rp=ref.params[b];%>|<%=rp.name%> | <%=rp.description%> |<%=rp.type%> | <%=rp.schemaValue%> |
  121. <%}%>
  122. <%}}%>
  123. **响应状态码说明**:
  124. <% if(path.responseCodes!=null && path.responseCodes.length>0){ %>
  125. | 状态码 | 说明 | schema |
  126. | ------------ | -------------------------------- |---------------------- |
  127. <% for( a = 0; a < path.responseCodes.length; a++) { var param=path.responseCodes[a];%>| <%=param.code%> | <%=param.description%> |<%=param.schema%>|
  128. <%}%>
  129. <%}else{%>
  130. 暂无
  131. <%}%>
  132. <%}%>
  133. <%}%>
  134. <%}%>
  135. </textarea>
  136. </div>
  137. </div>
  138. </script>
  139. <!--文档说明-->
  140. <script type="text/html" id="contentScript">
  141. <div style="padding: 10px 0;border-bottom: 1px dashed #ccc;height: 50px;vertical-align: middle;line-height: 30px;">
  142. <div style=" float: left;width: 90%;font-size: 20px;">{{summary}}</div>
  143. <!--<div style="float: right;width: 10%;text-align: right;vertical-align: top;">
  144. <a id="copyDocHref" style="cursor: pointer;text-decoration: none;" href="javascript:void(0);">复制文档</a>
  145. </div>-->
  146. </div>
  147. <div class="swbu-main" itemprop="articleBody">
  148. <div id="contentDoc"></div>
  149. <!--<textarea rows="10" cols="10" id="docText">-->
  150. <textarea rows="10" cols="10" id="docText" style="display: none;">
  151. **接口说明**:{{description}}
  152. **接口地址**:`{{url}}`
  153. **请求方式**:`{{methodType}}`
  154. **consumes**:`{{consumes}}`
  155. **produces**:`{{produces}}`
  156. **请求参数**:
  157. {{ if parameters && parameters.length>0 }}
  158. | 参数名称 | 说明 | in | 是否必须 | 类型 | schema |
  159. | ------------ | -------------------------------- |-----------|--------|----|--- |
  160. {{each parameters}}| {{$value.name}} | {{$value.description}} | {{$value.in}} | {{$value.require}} | {{$value.type}} | {{$value.schemaValue}} |
  161. {{/each}}
  162. {{else}}
  163. 暂无
  164. {{/if}}
  165. {{ if refparameters && refparameters.length>0 }}
  166. **schema属性说明**
  167. {{each refparameters}}
  168. **{{$value.name}}**
  169. | 参数名称 | 说明 | in | 是否必须 | 类型 | schema |
  170. | ------------ | -------------------------------- |-----------|--------|----|--- |
  171. {{each $value.params}}| {{$value.name}} | {{$value.description}} | {{$value.in}} | {{$value.require}} |{{$value.type}} | {{$value.schemaValue}} |
  172. {{/each}}
  173. {{/each}}
  174. {{/if}}
  175. **响应数据**:
  176. ```json
  177. {{responseValue}}
  178. ```
  179. **响应参数说明**:
  180. {{ if responseParameters && responseParameters.length>0 }}
  181. | 参数名称 | 说明 | 类型 | schema |
  182. | ------------ | -------------------|-------|----------- |
  183. {{each responseParameters}}| {{$value.name}} |{{$value.description}} | {{$value.type}} | {{$value.schemaValue}} |
  184. {{/each}}
  185. {{else}}
  186. 暂无
  187. {{/if}}
  188. {{ if responseRefParameters && responseRefParameters.length>0 }}
  189. **schema属性说明**
  190. {{each responseRefParameters}}
  191. **{{$value.name}}**
  192. | 参数名称 | 说明 | 类型 | schema |
  193. | ------------ | ------------------|--------|----------- |
  194. {{each $value.params}}| {{$value.name}} | {{$value.description}} | {{$value.type}} | {{$value.schemaValue}} |
  195. {{/each}}
  196. {{/each}}
  197. {{/if}}
  198. **响应状态码说明**:
  199. {{ if responseCodes}}
  200. | 状态码 | 说明 | schema |
  201. | ------------ | -------------------------------- |---------------------- |
  202. {{each responseCodes}}| {{$value.code}} | {{$value.description}} |{{$value.schema}} |
  203. {{/each}}
  204. {{else}}
  205. 暂无
  206. {{/if}}
  207. </textarea>
  208. </div>
  209. </script>
  210. <!--Debug调试tab-->
  211. <script type="text/html" id="DebugScript">
  212. <div style="width: 100%;margin: 0px auto;margin-top: 10px;">
  213. <div class="input-group m-bot15">
  214. <span class="input-group-btn">
  215. <button class="btn btn-default btn-info" type="button">{{methodType}}</button>
  216. </span>
  217. <input type="text" id="txtreqUrl" data-originalurl="<%=url.substring(1)%>" class="form-control"
  218. value="<%=url.substring(1)%>">
  219. <span class="input-group-btn">
  220. <button id="btnRequest" class="btn btn-default btn-primary" type="button"> 发 送 </button>
  221. </span>
  222. </div>
  223. <div style="margin-top: 15px;">
  224. <div class="swbu-main">
  225. <%if((parameters!=null && parameters.length>0)||(globalParameters!=null && globalParameters.length>0)){
  226. var fileform=false;%>
  227. <% for( a = 0; a < parameters.length ; a++ ) {var param=parameters[a]; %>
  228. <% if(param.type=="MultipartFile"){ fileform=true;}%>
  229. <%}%>
  230. <%if(fileform){%>
  231. <form id="uploadForm" target="uploadIframe" action="<%=url.substring(1)%>" type=""
  232. enctype="multipart/form-data" method="{{methodType}}">
  233. <table class="">
  234. <thead>
  235. <tr>
  236. <th></th>
  237. <th>参数名称</th>
  238. <th>参数值</th>
  239. <th>操作</th>
  240. </tr>
  241. </thead>
  242. <tbody id="paramBody">
  243. <!--遍历 是否有全局参数--->
  244. <%if(globalParameters!=null && globalParameters.length>0){ %>
  245. <% for( a = 0; a < globalParameters.length ; a++ ) {var param=globalParameters[a]; %>
  246. <%if(param.in!="header"){%>
  247. <tr data-name="<%=param.name%>" data-in="<%=param.in%>" data-required="<%=param.require%>">
  248. <td width="5%">
  249. <div class="checkbox"><label><input type="checkbox" value="" checked=""></label></div>
  250. </td>
  251. <td width="35%">
  252. <input class="form-control p-key" value="<%=param.name%>">
  253. </td>
  254. <td>
  255. <%if(param.in=="body"){ %>
  256. <%if(param.type=="MultipartFile"){%>
  257. <input name="<%=param.name%>" type="file" class="form-control p-value"
  258. data-name="<%=param.name%>" placeholder="<%=param.description%>"/>
  259. <%}else {%>
  260. <textarea class="form-control p-value" style="font-size: 16px;" rows="10"
  261. data-in="<%=param.in%>" data-apiUrl="<%=url.substring(1)%>"
  262. name="<%=param.name%>" data-name="<%=param.name%>"
  263. placeholder="<%=param.description%>"><%=param.txtValue%></textarea>
  264. <%}%>
  265. <%}else{%>
  266. <input class="form-control p-value" name="<%=param.name%>" data-in="<%=param.in%>"
  267. data-apiurl="<%=url.substring(1)%>"
  268. data-name="<%=param.name%>" placeholder="<%=param.description%>"
  269. value="<%=param.txtValue%>"/>
  270. <%}%>
  271. </td>
  272. <td width="5%">
  273. <button class="btn btn-danger btn-circle btn-small btn-param-delete" type="button">
  274. <strong>×</strong></button>
  275. </td>
  276. </tr>
  277. <%}%>
  278. <%}%>
  279. <%}%>
  280. <% for( a = 0; a < parameters.length ; a++ ) {var param=parameters[a]; %>
  281. <%if(param.in!="header"){%>
  282. <tr data-name="<%=param.name%>" data-in="<%=param.in%>" data-required="<%=param.require%>"
  283. data-type="<%=param.type%>">
  284. <td width="5%">
  285. <div class="checkbox"><label><input type="checkbox" value="" checked=""></label></div>
  286. </td>
  287. <td width="35%">
  288. <input class="form-control p-key" value="<%=param.name%>">
  289. </td>
  290. <td>
  291. <%if(param.in=="body"){ %>
  292. <%if(param.type=="MultipartFile"){%>
  293. <input name="<%=param.name%>" type="file" class="form-control p-value"
  294. data-name="<%=param.name%>" placeholder="<%=param.description%>"/>
  295. <%}else {%>
  296. <textarea class="form-control p-value" style="font-size: 16px;" rows="10"
  297. data-in="<%=param.in%>" data-apiUrl="<%=url.substring(1)%>"
  298. name="<%=param.name%>" data-name="<%=param.name%>"
  299. placeholder="<%=param.description%>"><%=param.txtValue%></textarea>
  300. <%}%>
  301. <%}else{%>
  302. <input class="form-control p-value p-<%=param.in%>" name="<%=param.name%>"
  303. data-in="<%=param.in%>" data-apiurl="<%=url.substring(1)%>"
  304. data-name="<%=param.name%>" placeholder="<%=param.description%>"
  305. value="<%=param.txtValue%>"/>
  306. <%}%>
  307. </td>
  308. <td width="5%">
  309. <button class="btn btn-danger btn-circle btn-small btn-param-delete" type="button">
  310. <strong>×</strong></button>
  311. </td>
  312. </tr>
  313. <%}%>
  314. <%}%>
  315. </tbody>
  316. </table>
  317. </form>
  318. <div id="resptab" class="tabs-container">
  319. <iframe name="uploadIframe" id="uploadIframe"
  320. style="border: none;height: 1%;display: none;"></iframe>
  321. </div>
  322. <%}else{%>
  323. <table class="">
  324. <thead>
  325. <tr>
  326. <th></th>
  327. <th>参数名称</th>
  328. <th>参数值</th>
  329. <th>操作</th>
  330. </tr>
  331. </thead>
  332. <tbody id="paramBody">
  333. <!--遍历 是否有全局参数--->
  334. <%if(globalParameters!=null && globalParameters.length>0){ %>
  335. <% for( a = 0; a < globalParameters.length ; a++ ) {var param=globalParameters[a]; %>
  336. <tr data-name="<%=param.name%>" data-in="<%=param.in%>" data-required="<%=param.require%>">
  337. <td width="5%">
  338. <div class="checkbox"><label><input type="checkbox" value="" checked=""></label></div>
  339. </td>
  340. <td width="35%">
  341. <input class="form-control p-key" value="<%=param.name%>">
  342. </td>
  343. <td>
  344. <%if(param.in=="body"){ %>
  345. <%if(param.type=="MultipartFile"){%>
  346. <input name="<%=param.name%>" type="file" class="form-control p-value"
  347. data-name="<%=param.name%>" placeholder="<%=param.description%>"/>
  348. <%}else {%>
  349. <textarea class="form-control p-value" style="font-size: 16px;" rows="10"
  350. data-in="<%=param.in%>" data-apiUrl="<%=url.substring(1)%>"
  351. name="<%=param.name%>" data-name="<%=param.name%>"
  352. placeholder="<%=param.description%>"><%=param.txtValue%></textarea>
  353. <%}%>
  354. <%}else{%>
  355. <input class="form-control p-value" name="<%=param.name%>" data-in="<%=param.in%>"
  356. data-apiurl="<%=url.substring(1)%>"
  357. data-name="<%=param.name%>" placeholder="<%=param.description%>"
  358. value="<%=param.txtValue%>"/>
  359. <%}%>
  360. </td>
  361. <td width="5%">
  362. <button class="btn btn-danger btn-circle btn-small btn-param-delete" type="button">
  363. <strong>×</strong></button>
  364. </td>
  365. </tr>
  366. <%}%>
  367. <%}%>
  368. <% for( a = 0; a < parameters.length ; a++ ) {var param=parameters[a]; %>
  369. <tr data-name="<%=param.name%>" data-in="<%=param.in%>" data-required="<%=param.require%>">
  370. <td width="5%">
  371. <div class="checkbox"><label><input type="checkbox" value="" checked=""></label></div>
  372. </td>
  373. <td width="35%">
  374. <input class="form-control p-key" value="<%=param.name%>">
  375. </td>
  376. <td>
  377. <%if(param.in=="body"){ %>
  378. <%if(param.type=="MultipartFile"){%>
  379. <input name="<%=param.name%>" type="file" class="form-control p-value"
  380. data-name="<%=param.name%>" placeholder="<%=param.description%>"/>
  381. <%}else {%>
  382. <textarea class="form-control p-value" style="font-size: 16px;" rows="10"
  383. data-in="<%=param.in%>" data-apiUrl="<%=url.substring(1)%>"
  384. name="<%=param.name%>" data-name="<%=param.name%>"
  385. placeholder="<%=param.description%>"><%=param.txtValue%></textarea>
  386. <%}%>
  387. <%}else{%>
  388. <input class="form-control p-value p-<%=param.in%>" name="<%=param.name%>"
  389. data-in="<%=param.in%>" data-apiurl="<%=url.substring(1)%>"
  390. data-name="<%=param.name%>" placeholder="<%=param.description%>"
  391. value="<%=param.txtValue%>"/>
  392. <%}%>
  393. </td>
  394. <td width="5%">
  395. <button class="btn btn-danger btn-circle btn-small btn-param-delete" type="button">
  396. <strong>×</strong></button>
  397. </td>
  398. </tr>
  399. <%}%>
  400. </tbody>
  401. </table>
  402. <%}%>
  403. <%}%>
  404. </div>
  405. </div>
  406. <div id="responsebody">
  407. </div>
  408. </div>
  409. </script>
  410. <!--全局参数-->
  411. <script type="text/html" id="GlobalParamScript">
  412. <div style="width:99%;margin:0px auto;">
  413. <div class="alert alert-info" role="alert">
  414. 提供全局参数Debug功能,目前默认提供header(请求头)、query(form)两种方式的入参.<br/><br/>
  415. 在此添加全局参数后,默认Debug调试tab页会带上该参数,该全局参数只在该分组下有效,不同的分组需要分别设置
  416. </div>
  417. <div class="input-inline" style="margin-bottom:10px;">
  418. <button class="btn btn-primary" type="button" id="btnAddParam">添加参数</button>
  419. </div>
  420. <div style="margin-top: 15px;">
  421. <div class="swbu-main">
  422. <table class="" id="globalTable">
  423. <thead>
  424. <tr>
  425. <th>参数名称</th>
  426. <th>参数值</th>
  427. <th>参数类型</th>
  428. <th>操作</th>
  429. </tr>
  430. </thead>
  431. <tbody id="globalTabBody">
  432. <%if(globalParameters!=null && globalParameters.length>0){ %>
  433. <% for( a = 0; a < globalParameters.length ; a++ ) {var param=globalParameters[a]; %>
  434. <tr>
  435. <td><input class="form-control p-key" value="<%=param.name%>" data-old='<%=param.name%>'></td>
  436. <td><input class="form-control p-key" value="<%=param.value%>"></td>
  437. <td><select class='form-control'>
  438. <option value='header'
  439. <%if(param.in=="header"){%> selected <%}%> >header</option>
  440. <option value='query'
  441. <%if(param.in=="query"){%> selected <%}%>>query</option></select></td>
  442. <td>
  443. <button class="btn btn-circle btn-info btn-small btn-save" type="button">保存</button>&nbsp;&nbsp;<button
  444. class="btn btn-circle btn-danger btn-small btn-cancel" type="button">删除
  445. </button>
  446. </td>
  447. </tr>
  448. <%}}%>
  449. </tbody>
  450. </table>
  451. </div>
  452. </div>
  453. </div>
  454. </script>
  455. <!--SwaggerBootstrapUi简介-->
  456. <script type="text/html" id="SwaggerBootstrapUiIntroScript">
  457. <div style="width:99%;margin:0px auto;">
  458. <div style="margin-top: 15px;">
  459. <div class="swbu-main" itemprop="sbuarticleBody">
  460. <div id="sbuDescriptionDoc" style="width: 90%;margin: 0px auto;">
  461. <table>
  462. <tr>
  463. <td colspan="2" style="text-align: center;">{{title}}</td>
  464. </tr>
  465. <tr>
  466. <td>简介</td>
  467. <td>{{description}}</td>
  468. </tr>
  469. <tr>
  470. <td>作者</td>
  471. <td>{{contact}}</td>
  472. </tr>
  473. <tr>
  474. <td>版本</td>
  475. <td>{{version}}</td>
  476. </tr>
  477. <tr>
  478. <td>host</td>
  479. <td>{{host}}</td>
  480. </tr>
  481. <tr>
  482. <td>服务url</td>
  483. <td>{{termsOfService}}</td>
  484. </tr>
  485. </table>
  486. </div>
  487. <!--<textarea rows="10" cols="10" id="docText">-->
  488. </div>
  489. </div>
  490. </script>
  491. <div class="bycdao-main" id="content" style="height: 100%;overflow-y: auto;">
  492. <div id="myTab" class="tabs-container" style="width:99%;margin:0px auto;">
  493. <ul class="nav nav-tabs">
  494. <li class="active">
  495. <a data-toggle="tab" href="#tab1" aria-expanded="false"> 接口说明</a>
  496. </li>
  497. <li class=""><a data-toggle="tab" href="#tab2" aria-expanded="true"> 在线调试</a></li>
  498. </ul>
  499. <div class="tab-content">
  500. <div id="tab1" class="tab-pane active">
  501. <div class="panel-body" id="tabBody">
  502. </div>
  503. </div>
  504. <div id="tab2" class="tab-pane">
  505. <div class="panel-body"><strong>正在开发中,敬请期待......</strong>
  506. </div>
  507. </div>
  508. </div>
  509. </div>
  510. </div>
  511. <script type="text/javascript" src="/styles/ace/bootstrap.min.js"></script>
  512. <script type="text/javascript" src="/styles/ace/ace.min.js"></script>
  513. <script type="text/javascript" src="/styles/cdao/swaggerbootstrapui.js"></script>
  514. </body>
  515. </html>