店内领券(2.5)
<p><strong>简要描述:</strong> </p>
<ul>
<li>店内领券(2.5)</li>
</ul>
<p><strong>作者:</strong> </p>
<ul>
<li>梁志杰</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>xtwl_write_interface/cmd</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">shopId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>商家Id</td>
</tr>
<tr>
<td style="text-align: left;">couponSId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>商家代金券Id</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{
"modular": "wCoupon",
"param": {
"authKey": "5C42473DD62B46A7E053C208A8C08B5B",
"dtype": "2",
"secretKey": "70F92A9749575CF01C11B6BBD66308BE",
"timeStamp": "1516780235381",
"userKey": "6262A9F8F63976A4E0538C06030A6B0C",
"uuid": "4cdb83916aca4dc5a0b672c00ede891a",
"shopId":"705174A501424C9BBA566275E944DCA4",
"couponSId":"705174A501424C9BBA566275E944DCA4"
},
"requestname": "getShopInnerCoupon",
"version": "1.0"
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">resultcode/resultdesc</td>
<td style="text-align: left;">String</td>
<td>0成功/其它返回错误信息("0002", "不能重复领取")</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"result": "",
"resultcode": "0",
"resultdesc": "success"
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>