Skip to content

商城报表

bshop

/order/report 新接口

接口描述
    用户在bshop下查看近期订单详情
Method
    GET
request 
    days            M   int       统计的天数
    address_id      O   string    商户ID
response
    {
        "msg": "ok",
        "code": 0,
        "data": {
            total_pay             float     订单总金额
            all_order_pay         float     用户所有订单金额
            order_num             int       订单数量
            all_order_num         int       用户所有订单数量
            all_freight           int       订单所有运费
            daily_price: [        list      每日价格list
                {
                    date          datetime  日期
                    pay_price     float     金额
                }
            ],
            category_price: [     list      sku分类list   
                {
                    category_1    string    一级分类名
                    pay_price     float     分类价格
                }
            ]
        }
    }