简要描述:

  • 订单列表搜索

请求域名:

  • http://xx.com

请求URL:

GET:route=plugin.fight-groups.admin.controllers.order.search

参数:

参数名 是否必须 类型 说明
fight_groups_id int 活动id
fight_groups_title int 时间戳 活动名称
leader_name int 时间戳 团长昵称
order_sn int 时间戳 订单号
status int 订单状态
create_time array 下单时间范围
page int 分页

返回示例:

正确时返回:

{
    "total":2,
    "per_page":10,
    "current_page":1,
    "last_page":1,
    "next_page_url":null,
    "prev_page_url":null,
    "from":1,
    "to":2,
    "data":[
        {
            "id":25,
            "uniacid":2,
            "uid":1,
            "order_sn":"SN20180709162233FP",
            "price":"10.00",
            "goods_price":"10.00",
            "goods_total":1,
            "status":-1,
            "create_time":"2018-07-09 16:22:33",
            "is_deleted":0,
            "is_member_deleted":0,
            "finish_time":"1970-01-01 08:00:00",
            "pay_time":"1970-01-01 08:00:00",
            "send_time":"1970-01-01 08:00:00",
            "cancel_time":"2018-08-30 16:32:02",
            "created_at":1531124553,
            "updated_at":1535617922,
            "deleted_at":0,
            "cancel_pay_time":"1970-01-01 08:00:00",
            "cancel_send_time":"1970-01-01 08:00:00",
            "dispatch_type_id":1,
            "dispatch_price":"0.00",
            "discount_price":"0.00",
            "pay_type_id":0,
            "order_goods_price":"10.00",
            "deduction_price":"0.00",
            "refund_id":0,
            "is_plugin":0,
            "change_price":"0.00",
            "change_dispatch_price":"0.00",
            "comment_status":0,
            "order_pay_id":"",
            "is_virtual":0,
            "plugin_id":37,
            "mark":"",
            "is_pending":0,
            "note":null,
            "cost_amount":"0.00",
            "shop_name":null,
            "no_refund":0,
            "need_address":0,
            "invoice_type":null,
            "rise_type":null,
            "collect_name":null,
            "company_number":null,
            "invoice":null,
            "auto_receipt":0,
            "fee_amount":"0.00",
            "group_id":null,
            "level_id":null,
            "team_id":null,
            "title":null,
            "nickname":null,
            "avatar":null,
            "member_num":null,
            "status_name":"已关闭",
            "pay_type_name":"未支付",
            "button_models":[

            ],
            "has_one_pay_type":{
                "id":0,
                "name":"未支付",
                "plugin_id":0,
                "code":"unPay",
                "type":0,
                "unit":"",
                "updated_at":"2017-09-19 09:48:07",
                "created_at":null,
                "deleted_at":null,
                "setting_key":"",
                "need_password":0,
                "group_id":0
            },
            "belongs_to_member":{
                "uid":1,
                "uniacid":2,
                "mobile":"18026357601",
                "email":"",
                "groupid":2,
                "credit1":"402269.89",
                "credit2":"1225.98",
                "credit3":"0.00",
                "credit4":"0.00",
                "credit5":"0.00",
                "credit6":"0.00",
                "createtime":1530782874,
                "realname":"12",
                "nickname":"卡卡",
                "avatar":"http://thirdwx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132",
                "qq":"",
                "vip":0,
                "gender":2,
                "birthyear":2018,
                "birthmonth":7,
                "birthday":10,
                "constellation":"",
                "zodiac":"",
                "telephone":"",
                "idcard":"",
                "studentid":"",
                "grade":"",
                "address":"",
                "zipcode":"",
                "nationality":"",
                "resideprovince":"省",
                "residecity":"市",
                "residedist":"",
                "graduateschool":"",
                "company":"",
                "education":"",
                "occupation":"",
                "position":"",
                "revenue":"",
                "affectivestatus":"",
                "lookingfor":"",
                "bloodtype":"",
                "height":"",
                "weight":"",
                "alipay":"",
                "msn":"",
                "taobao":"",
                "site":"",
                "bio":"",
                "interest":"",
                "pay_password":"0",
                "avatar_image":"https://thirdwx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132",
                "username":"卡卡"
            },
            "has_many_order_goods":[
                {
                    "total":1,
                    "price":"10.00",
                    "goods_price":"10.00",
                    "title":"门店商品测试4",
                    "thumb":"https://dev5.yunzshop.com/attachment/images/2/2018/07/kbICcV505NLAzVVM05XAmGBbA3xxL3.jpg",
                    "goods_option_title":"",
                    "goods_thumb":"",
                    "buttons":[
                        {
                            "name":"评价",
                            "api":"",
                            "value":""
                        }
                    ],
                    "goods":null
                }
            ]
        },
        {
            "id":24,
            "uniacid":2,
            "uid":1,
            "order_sn":"SN20180709153145ZX",
            "price":"100.00",
            "goods_price":"100.00",
            "goods_total":1,
            "status":3,
            "create_time":"2018-07-09 15:31:45",
            "is_deleted":0,
            "is_member_deleted":0,
            "finish_time":"2018-07-09 15:32:06",
            "pay_time":"2018-07-09 15:31:48",
            "send_time":"2018-07-09 15:32:01",
            "cancel_time":"1970-01-01 08:00:00",
            "created_at":1531121505,
            "updated_at":1531121526,
            "deleted_at":0,
            "cancel_pay_time":"1970-01-01 08:00:00",
            "cancel_send_time":"1970-01-01 08:00:00",
            "dispatch_type_id":1,
            "dispatch_price":"0.00",
            "discount_price":"0.00",
            "pay_type_id":3,
            "order_goods_price":"100.00",
            "deduction_price":"0.00",
            "refund_id":0,
            "is_plugin":0,
            "change_price":"0.00",
            "change_dispatch_price":"0.00",
            "comment_status":0,
            "order_pay_id":"31",
            "is_virtual":0,
            "plugin_id":37,
            "mark":"",
            "is_pending":0,
            "note":null,
            "cost_amount":"0.00",
            "shop_name":null,
            "no_refund":0,
            "need_address":0,
            "invoice_type":null,
            "rise_type":null,
            "collect_name":null,
            "company_number":null,
            "invoice":null,
            "auto_receipt":0,
            "fee_amount":"0.00",
            "group_id":1,
            "level_id":1,
            "team_id":1,
            "title":"规格活动测试",
            "nickname":"大大大话。",
            "avatar":"http://thirdwx.qlogo.cn/mmopen/FibYEcCAgGxbVmeNe9OodOnIw0ibKS0Xb9kUcz24PfJ4P7ECeibI7ibgBtmAeN6ro65efb2WkqcgEvZDcR8ul7mcVS36mQNPicevz/132",
            "member_num":3,
            "status_name":"交易完成",
            "pay_type_name":"余额",
            "button_models":[

            ],
            "has_one_pay_type":{
                "id":3,
                "name":"余额",
                "plugin_id":0,
                "code":"balance",
                "type":1,
                "unit":"元",
                "updated_at":"2018-12-19 11:50:29",
                "created_at":null,
                "deleted_at":null,
                "setting_key":"shop.pay.credit",
                "need_password":1,
                "group_id":3
            },
            "belongs_to_member":{
                "uid":1,
                "uniacid":2,
                "mobile":"18026357601",
                "email":"",
                "groupid":2,
                "credit1":"402269.89",
                "credit2":"1225.98",
                "credit3":"0.00",
                "credit4":"0.00",
                "credit5":"0.00",
                "credit6":"0.00",
                "createtime":1530782874,
                "realname":"12",
                "nickname":"卡卡",
                "avatar":"http://thirdwx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132",
                "qq":"",
                "vip":0,
                "gender":2,
                "birthyear":2018,
                "birthmonth":7,
                "birthday":10,
                "constellation":"",
                "zodiac":"",
                "telephone":"",
                "idcard":"",
                "studentid":"",
                "grade":"",
                "address":"",
                "zipcode":"",
                "nationality":"",
                "resideprovince":"省",
                "residecity":"市",
                "residedist":"",
                "graduateschool":"",
                "company":"",
                "education":"",
                "occupation":"",
                "position":"",
                "revenue":"",
                "affectivestatus":"",
                "lookingfor":"",
                "bloodtype":"",
                "height":"",
                "weight":"",
                "alipay":"",
                "msn":"",
                "taobao":"",
                "site":"",
                "bio":"",
                "interest":"",
                "pay_password":"0",
                "avatar_image":"https://thirdwx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132",
                "username":"卡卡"
            },
            "has_many_order_goods":[
                {
                    "total":1,
                    "price":"100.00",
                    "goods_price":"100.00",
                    "title":"排队奖励商品",
                    "thumb":"https://dev5.yunzshop.com/attachment/images/2/2018/07/HwEPwVomaJXJ0jEE0JO00Va0QZjeI0.jpg",
                    "goods_option_title":"",
                    "goods_thumb":"",
                    "buttons":[
                        {
                            "name":"评价",
                            "api":"",
                            "value":""
                        }
                    ],
                    "goods":null
                }
            ],
            "process":[

            ]
        }
    ],
    "sum":110
}

返回参数说明:

参数名 类型 说明
result int 结果,0为失败,1为成功
msg int 成功或者失败的信息
data array

备注: