ERP后台

ERP后台API


订单详情

<p><strong>简要描述:</strong> </p> <ul> <li>订单详情</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://ycktest.com/Admin/YcpAuction/order_details?order_id=37</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>get(ajax)</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;">order_id</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>array(3) { ["base_data"] =&gt; array(46) { ["id"] =&gt; string(2) "37" //订单id ["order_no"] =&gt; string(20) "JP202005071019537206" //订单编号 ["add_time"] =&gt; string(19) "2020-05-07 10:19:53" ["type"] =&gt; string(1) "3" ["contract_no"] =&gt; NULL ["add_contract_time"] =&gt; NULL ["sign_date"] =&gt; NULL ["contract_limit_time"] =&gt; NULL ["status"] =&gt; string(9) "未结清" //订单状态 ["buyer_id"] =&gt; string(4) "1252" ["organ_id"] =&gt; string(3) "738" ["curator_id"] =&gt; string(3) "419" ["second_curator_id"] =&gt; string(1) "0" ["cars_price"] =&gt; string(8) "31700.00" //订单总价 ["discount"] =&gt; string(6) "1.0000" ["conc"] =&gt; string(4) "0.00" ["pay_type"] =&gt; string(1) "4" ["pay_type_edition"] =&gt; string(1) "0" ["first_pay"] =&gt; string(4) "0.00" ["first_pay_appointed_time"] =&gt; NULL ["first_pay_remark"] =&gt; NULL ["second_pay"] =&gt; string(4) "0.00" ["second_pay_appointed_time"] =&gt; NULL ["second_pay_remark"] =&gt; NULL ["last_pay_appointed_time"] =&gt; NULL ["last_pay_remark"] =&gt; NULL ["recorder"] =&gt; string(1) "1" //添加人:系统生成 ["remark"] =&gt; string(11) "ycpm-中标" //订单备注 ["advance_status"] =&gt; NULL ["contract_status"] =&gt; string(1) "0" ["contract_user_serviceid"] =&gt; NULL ["contract_yck_serviceid"] =&gt; NULL ["coupon_id"] =&gt; NULL ["from"] =&gt; string(1) "1" ["ssq_contract_id"] =&gt; NULL ["realname"] =&gt; string(6) "秦岭" //客户姓名 ["mobile"] =&gt; string(11) "19820223707" //客户电话 ["username"] =&gt; string(45) "南京市栖霞区大公二手车交易中心" ["company"] =&gt; string(59) "南京市栖霞区仙尧路25号大公二手车交易中心" //客户公司 ["curator_realname"] =&gt; string(9) "黎嘉豪" //主跟进人 ["curator_tel"] =&gt; string(11) "13246631220" //住跟进人电话 ["second_curator_realname"] =&gt; string(1) "-" //次跟进人 ["second_curator_tel"] =&gt; string(1) "-" //次跟进人电话 ["order_type"] =&gt; string(6) "竞拍" //订单类型 ["auction_type"] =&gt; string(9) "专场拍" //拍卖类型 ["bond_price"] =&gt; string(7) "2000.00" //保证金 } ["cars_data"] =&gt; array(9) { ["deal_price"] =&gt; string(8) "31700.00" //车辆价格 ["car_id"] =&gt; string(5) "19366" //车辆id ["amount_paid"] =&gt; string(4) "0.00" //已付金额 ["service_charge"] =&gt; string(7) "1000.00" //服务费 ["status"] =&gt; string(1) "1" //车辆状态(对应:carStatus数组) ["vin"] =&gt; string(17) "LWVDA2029HB051095" //车架号 ["plate_number"] =&gt; string(9) "云A2Z2P7" //车牌 ["type_name"] =&gt; string(39) "自由侠 2017款 180T 自动动能版+" //车型 ["contract_price"] =&gt; float(32700) //合同总价 } ["carStatus"] =&gt; array(9) { //车辆状态数组 [1] =&gt; string(6) "待提" [2] =&gt; string(12) "申请提车" [3] =&gt; string(15) "车商已提车" [4] =&gt; string(12) "申请提档" [5] =&gt; string(15) "车商已提档" [6] =&gt; string(12) "移交代办" [7] =&gt; string(18) "违章无法外迁" [8] =&gt; string(18) "手续无法外迁" [9] =&gt; string(6) "完成" } }</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