Skip to content

MA订单搜索增加线路筛选条件

修改manage.guanmai.cn/finance/order/search接口

GET   manage.guanmai.cn/finance/order/search
订单列表
请求参数:
其他不变
route_id        int             O       route_id
无线路传-1
不传默认全路线



返回数据:
{
    "code": 0,
    "msg": "ok",
    "data":{
        "其他不变"
        "orders": [
            "其他不变"
            "route_name": "线路1",
        ],
    }


}

新增查询线路接口

GET   manage.guanmai.cn/management/address_route/list

商户线路 列表
请求参数:
limit           int           O       返回条数,默认20
offset          int           O       查询起点偏移条数,默认 0 


返回数据:
{
    "code": 0,
    "msg": "ok",
    "data": [{
        "id": 12345,
        "name": "",
        "create_user": "",
        "create_time": "",
        "address_count": 9,
    },]
}