You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
2.8 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<#escape x as x?html>
<section>
<h1 class="blue" data-id="intro">
<i class="ace-icon fa fa-leaf green"></i>
测试说明
</h1>
<div class="help-content">
<h2 class="header lighter blue"><i class="ace-icon fa fa-compass orange"></i> 测试接口说明描述如下</h2>
<ul class="list-unstyled spaced2">
<li> <i class="ace-icon fa fa-hand-o-right"></i> 测试接口地址为http://fv2.jwsaas.com/openApi/api; </li>
<li> <i class="ace-icon fa fa-hand-o-right"></i> 严格按照系统参数及应用参数要求进行传值调用; </li>
<li> <i class="ace-icon fa fa-hand-o-right"></i> 注意哪些参数需要签名,哪些参数不需要签名,签名示例已经在签名算法中给出;</li>
<li> <i class="ace-icon fa fa-hand-o-right"></i> 只支持POS请求且Content-Type: application/x-www-form-urlencoded;</li>
</ul>
<h2 class="header blue lighter"><i class="ace-icon fa fa-coffee green"></i> 接口调用系统参数应用示例</h2>
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>系统参数名称</th>
<th>必填</th>
<th>参数示例</th>
<th>参数说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>appKey</td>
<td><i class="ace-icon fa fa-check green"></i></td>
<td>00001</td>
<td>正式接入需要申请appKey和 签名appSecret,测试环境使用appKey:1wE5XpD9pJu1nd6P0a2e,appSecret:4095c29a2e1e465bd48881abbd61c448</td>
</tr>
<tr>
<td>sessionId</td>
<td></td>
<td></td>
<td>后台获取,调用接口时值为空就行</td>
</tr>
<tr>
<td>method</td>
<td><i class="ace-icon fa fa-check green"></i></td>
<td>heartbeat.send</td>
<td></td>
</tr>
<tr>
<td>v</td>
<td><i class="ace-icon fa fa-check green"></i></td>
<td>1.0</td>
<td>当前版本号为1.0</td>
</tr>
<tr>
<td>format</td>
<td><i class="ace-icon fa fa-check green"></i></td>
<td>json</td>
<td></td>
</tr>
<tr>
<td>locale</td>
<td><i class="ace-icon fa fa-check green"></i></td>
<td>zh_CN</td>
<td></td>
</tr>
<tr>
<td>timestamp</td>
<td><i class="ace-icon fa fa-check green"></i></td>
<td>1447397246226</td>
<td>时间戳自1970-01-01 00:00:00.000起的毫秒数</td>
</tr>
<tr>
<td>client</td>
<td><i class="ace-icon fa fa-check green"></i></td>
<td>web</td>
<td>客户端类型(apple,iPad,iPhone,Android,desktop,WP,web)</td>
</tr>
<tr>
<td>tenantId</td>
<td><i class="ace-icon fa fa-check green"></i></td>
<td>3770100</td>
<td>租户编码</td>
</tr>
<tr>
<td>sign</td>
<td><i class="ace-icon fa fa-check green"></i></td>
<td></td>
<td>根据签名算法自己生成,这里不做示例</td>
</tr>
</tbody>
</table>
<div>
</section>
</#escape>