小程序支付
<h5>1.简要描述</h5>
<ul>
<li>微信支付</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>域名+/addons/newbaby_parttime/public/index.php/parttime_api.pay/prepay</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>uniacid</td>
<td>是</td>
<td>int</td>
<td>默认1</td>
</tr>
<tr>
<td>id</td>
<td>是</td>
<td>int</td>
<td>发布的订单id</td>
</tr>
<tr>
<td>uid</td>
<td>是</td>
<td>int</td>
<td>用户id</td>
</tr>
<tr>
<td>order_type</td>
<td>是</td>
<td>int</td>
<td>订单类型0短期单,1长期单,2陪诊单,3其它</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;获取成功&quot;,
&quot;time&quot;: 1591149171,
&quot;data&quot;: {
}</code></pre>
<p>}</p>
<h5>返回参数说明</h5>
<h5>备注</h5>
<h5>2.简要描述</h5>
<ul>
<li>支付成功回调</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>域名+/addons/newbaby_parttime/public/index.php/parttime_api.pay/pay_success</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>uniacid</td>
<td>是</td>
<td>int</td>
<td>默认1</td>
</tr>
<tr>
<td>orderno</td>
<td>是</td>
<td>int</td>
<td>发布的订单no</td>
</tr>
<tr>
<td>uid</td>
<td>是</td>
<td>int</td>
<td>用户id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;获取成功&quot;,
&quot;time&quot;: 1591149171,
&quot;data&quot;: {
}</code></pre>
<p>}</p>
<h5>返回参数说明</h5>
<h5>备注</h5>