家政

一家专注于服务的家政


雇主订单

<h5>1.简要描述</h5> <ul> <li>订单列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>域名+/addons/newbaby_parttime/public/index.php/parttime_api.order/lists</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>uid</td> <td>是</td> <td>int</td> <td>用户id</td> </tr> <tr> <td>keyword</td> <td>是</td> <td>string</td> <td>关键字</td> </tr> <tr> <td>starttime</td> <td>是</td> <td>string</td> <td>用户id</td> </tr> <tr> <td>endtime</td> <td>是</td> <td>string</td> <td>用户id</td> </tr> <tr> <td>status</td> <td>是</td> <td>int</td> <td>status 0全部 1待付款,2待完成 3已完成</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;获取成功&amp;quot;, &amp;quot;time&amp;quot;: 1591149171, &amp;quot;data&amp;quot;: { }</code></pre> <p>}</p> <h5>返回参数说明</h5> <h5>备注</h5> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>status</td> <td>是</td> <td>int</td> <td>状态:-2取消,-1删除,0:未完成,1进行中,2已完成,</td> </tr> <tr> <td>pay_status</td> <td>是</td> <td>int</td> <td>支付状态:0未支付,1支付中,2已支付</td> </tr> </tbody> </table> <h5>2.简要描述</h5> <ul> <li>取消订单</li> </ul> <h5>请求URL</h5> <ul> <li><code>域名+/addons/newbaby_parttime/public/index.php/parttime_api.order/cancel</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>uid</td> <td>是</td> <td>int</td> <td>用户id</td> </tr> <tr> <td>orderno</td> <td>是</td> <td>string</td> <td>订单号</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;获取成功&amp;quot;, &amp;quot;time&amp;quot;: 1591149171, &amp;quot;data&amp;quot;: { }</code></pre> <p>}</p> <h5>返回参数说明</h5> <h5>备注</h5> <h5>3.简要描述</h5> <ul> <li>订单详情</li> </ul> <h5>请求URL</h5> <ul> <li><code>域名+/addons/newbaby_parttime/public/index.php/parttime_api.order/detail</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>uid</td> <td>是</td> <td>int</td> <td>用户id</td> </tr> <tr> <td>orderid</td> <td>是</td> <td>int</td> <td>订单id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;获取成功&amp;quot;, &amp;quot;time&amp;quot;: 1591149171, &amp;quot;data&amp;quot;: { }</code></pre> <p>}</p> <h5>返回参数说明</h5> <h5>备注</h5> <h5>4.简要描述</h5> <ul> <li>订单选择管家</li> </ul> <h5>请求URL</h5> <ul> <li><code>域名+/addons/newbaby_parttime/public/index.php/parttime_api.order/selectResume</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>uid</td> <td>是</td> <td>int</td> <td>用户id</td> </tr> <tr> <td>orderid</td> <td>是</td> <td>int</td> <td>订单id</td> </tr> <tr> <td>ruid</td> <td>是</td> <td>int</td> <td>管家用户id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;获取成功&amp;quot;, &amp;quot;time&amp;quot;: 1591149171, &amp;quot;data&amp;quot;: { }</code></pre> <p>}</p> <h5>返回参数说明</h5> <h5>备注</h5>

页面列表

ITEM_HTML