web支付宝支付
<h5>简要描述</h5>
<ul>
<li>web支付宝支付</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/api/webAlipay</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">price</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>价格</td>
</tr>
<tr>
<td style="text-align: left;">coupon_receive_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户优惠券id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"message": "ok",
"data":"<form id='alipay_submit' name='alipay_submit' action='https://openapi.alipay.com/gateway.do?charset=utf-8' method='POST'><input type='hidden' name='app_id' value='2021001168632227'/><input type='hidden' name='format' value='JSON'/><input type='hidden' name='charset' value='utf-8'/><input type='hidden' name='sign_type' value='RSA2'/><input type='hidden' name='version' value='1.0'/><input type='hidden' name='return_url' value='https://xr.xrzww.com/api/result'/><input type='hidden' name='notify_url' value='https://xr.xrzww.com/api/notify'/><input type='hidden' name='timestamp' value='2020-10-28 15:17:23'/><input type='hidden' name='biz_content' value='{\"out_trade_no\":\"2020102815172149971001\",\"total_amount\":\"10\",\"subject\":\"\息\壤\",\"product_code\":\"FAST_INSTANT_TRADE_PAY\"}'/><input type='hidden' name='method' value='alipay.trade.page.pay'/><input type='hidden' name='sign' value='RvXaweKE5/9gkKlX409yvAbdPCEMhMrN6c5APVrCm0MZf/z2R5U1UUotsG5dHqTOOfWBFiT0K1/xeyubyKI8/Mchq6zGYtNNbStzy7NSB9jhGq7U0/qa8UvFZetJFYev43mTNCA7vYcbtN0i6MpPDPg/EysqJUCMJjB1zL8opz2/+ASgwPVzKBXsV4i7kEN5+3+nJhgfAg0/ay4VYo0RMiCBu7zePOsJiXZ+lWvJZieotTs+INKmr+i5yURC4AE7LWIeKXKZ5+Iyd+oQeAejhV9lX95qQH4chriEBFEGGfPNwNNBT2z3lC+Mh2Ll7v3Z9cT5Tsqc3evZjpgE4isceg=='/><input type='submit' value='ok' style='display:none;'></form><script>document.forms['alipay_submit'].submit();</script>"
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>