wanggangtao 5 년 전
부모
커밋
301db1984a
3개의 변경된 파일47개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 1
      api/v1.0/api_boniu_get_stock_info.php
  2. 7 4
      api/v1.0/demo/api_boniu_get_stock_info.html
  3. 39 0
      api/v1.0/demo/index.html

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
api/v1.0/api_boniu_get_stock_info.php


+ 7 - 4
api/v1.0/demo/api_boniu_get_stock_info.html

@@ -63,6 +63,12 @@
                 <span>method:</span>
                 <input type="text" class="input-text"  name="method" value="api_boniu_get_stock_info"/>
             </p>
+
+            <p>
+                <span>timestamp:</span>
+                <input type="text" class="input-text"  name="timestamp" value="11111111"/>
+            </p>
+
             <p>
                 <span>pagesize:</span>
                 <input type="text" class="input-text"  name="pagesize" value="10"/>
@@ -73,10 +79,7 @@
                 <input type="text" class="input-text"  name="page" value="1"/>
             </p>
 
-            <p>
-                <span>timestamp:</span>
-                <input type="text" class="input-text"  name="timestamp" value="11111111"/>
-            </p>
+
 
             <p>
 

+ 39 - 0
api/v1.0/demo/index.html

@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+	<title>接口列表</title>
+	<link href="css/index.css" type="text/css" rel="stylesheet">
+</head>
+<body>
+<div style="margin: 0 auto;width:80%;overflow:hidden;"><p style="font-size:28px;font-weight:bold;text-align:center;">API接口一览表</p></div>
+<div align="center" style="margin-bottom: 10px">
+
+	<p>相关说明:接口安全校验方式:</p>
+
+	<p>sign = md5(method+timestamp)</p>
+
+	<p>每次接口需要穿参数:method,timestamp,sign</p>
+</div>
+<table class="altrowstable" id="alternatecolor">
+	<tr>
+		<th class="n1">接口编号</th>
+		<th class="n2">接口名字</th>
+		<th class="n3">查看Demo</th>
+		<th class="n4">下载文档</th>
+	</tr>
+	<tr class="top">
+		<th class="title" colspan = "4">伯牛系统数据接口</th>
+	</tr>
+
+	<tr>
+		<td class="n1">1.1</td>
+		<td class="n2"><a href="api_boniu_get_stock_info.html" target="_blank">关键字组列表</a></td>
+		<td class="n3"><a href="api_boniu_get_stock_info.html" target="_blank">查看Demo</a></td>
+		<td class="n4"><a href="#" target="_blank">下载文档</a></td>
+	</tr>
+
+
+</table>
+</body>
+</html>