Skip to content

订单新增筛选类型

订单新增筛选类型

  • Author: chenwei
  • Status: update
  • Type: Standards
  • Created: 2019-4-16

接口变化

1. /station/orders 订单列表中按订单查看

接口描述:  
    订单列表中按订单查看订单,并提供筛选选项
方法:  
    GET
请求:
    新增筛选字段:
    client    O    int   订单类型:不传表示全部订单,1表示后台下单,2微信商城,3app,4微信小程序,5有赞推送,6开放平台,7后台补录
请求示例:  
    http://station.chenwei.devhost.guanmai.cn/station/orders?
    start_date=2019-04-12&end_date=2019-04-12&query_type=1&search_text=&route_id=-1&status=1&offset=0&limit=20&client=7
响应:  
    返回字段不变,多了返回类型:
    client: 当返回7表示后台补录
    client_desc: 字符串类型,多了“后台补录”

2. /station/order/order_sku_list 订单列表中按商品查看

接口描述:
    订单列表中按商品查看订单,并提供筛选选项
方法:  
    GET
请求:
    新增筛选字段:
    is_price_timing    O    int   价格类型:不传表示全部价格类型,1时价,0非时价  
请求示例:  
    http://station.chenwei.devhost.guanmai.cn/station/order/order_sku_list?
    start_date=2019-04-12&end_date=2019-04-12&query_type=1&search_text=&status=1&
    category1_ids=%5B%22A5047%22%5D&category2_ids=%5B%5D&pinlei_ids=%5B%5D&offset=0&limit=20&is_timing_price=1
响应:  
    不变