ERP后台

ERP后台API


专场管理

<p><strong>简要描述:</strong> </p> <ul> <li>专场管理</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://ycktest.com/Admin/YcpAuction//special_index</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET</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;">title</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>标题</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>array(4) { ["data"] =&gt; array(2) { [0] =&gt; array(11) { ["id"] =&gt; string(1) "1" ["title"] =&gt; string(8) "测试01" //标题 ["type"] =&gt; string(1) "1" ["duration"] =&gt; string(5) "11000" //单场拍时长 ["start_time"] =&gt; string(19) "2020-04-13 17:26:40" //开始时间 ["end_time"] =&gt; string(19) "2020-04-27 07:47:07" //结束时间 ["remark"] =&gt; string(13) "测试专场1" ["status"] =&gt; string(1) "1" //状态:1 未开始;2进行中;3已结束 ["add_time"] =&gt; string(10) "1586829629" ["car_count"] =&gt; string(1) "2" //竞拍台数 ["add_date"] =&gt; string(19) "2020-04-14 10:00:29" } [1] =&gt; array(11) { ["id"] =&gt; string(1) "2" ["title"] =&gt; string(8) "测试02" ["type"] =&gt; string(1) "1" ["duration"] =&gt; string(5) "11000" ["start_time"] =&gt; string(19) "2020-04-13 20:13:20" ["end_time"] =&gt; string(19) "2020-04-24 14:08:36" ["remark"] =&gt; string(13) "测试专场2" ["status"] =&gt; string(2) "-1" ["add_time"] =&gt; string(10) "1586829629" ["car_count"] =&gt; string(1) "1" ["add_date"] =&gt; string(19) "2020-04-14 10:00:29" } } ["total_page"] =&gt; float(1) ["total_count"] =&gt; string(1) "2" ["now_page"] =&gt; int(1) }</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;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML