简要描述:

请求域名:

  • http://xx.com

请求URL:

GET/plugin.store-cashier.admin.store-data.get-statistics

参数:

参数名 是否必须 类型 说明 t

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "",
    "data": {
        "cashier_price": "5728.95",
        "store_price": "6275.04",
        "cashier_pay_price": "5527.02",
        "cashier_pay_count": 85,
        "store_pay_price": "5430.03",
        "store_pay_count": 60,
        "cashier_amount": "5326.66",
        "cashier_amount_settle": "4802.25",
        "cashier_amount_split": 0,
        "store_amount": "6158.04",
        "store_amount_settle": "3818.02",
        "store_amount_split": 0,
        "curve": {
            "08-10": {
                "cashier_price": "5,628.95",
                "cashier_amount": "5,326.66",
                "store_price": "6,175.04",
                "store_amount": "0.00"
            },
            "08-09": {
                "cashier_price": "5,628.95",
                "cashier_amount": "5,326.66",
                "store_price": "6,175.04",
                "store_amount": "0.00"
            },
            "08-08": {
                "cashier_price": "5,628.95",
                "cashier_amount": "5,326.66",
                "store_price": "6,175.04",
                "store_amount": "0.00"
            },
            "08-07": {
                "cashier_price": "5,628.95",
                "cashier_amount": "5,326.66",
                "store_price": "6,175.04",
                "store_amount": "0.00"
            },
            "08-06": {
                "cashier_price": "5,628.95",
                "cashier_amount": "5,326.66",
                "store_price": "6,175.04",
                "store_amount": "0.00"
            },
            "08-05": {
                "cashier_price": "5,628.95",
                "cashier_amount": "5,326.66",
                "store_price": "6,175.04",
                "store_amount": "0.00"
            },
            "08-04": {
                "cashier_price": "5,628.95",
                "cashier_amount": "5,326.66",
                "store_price": "6,175.04",
                "store_amount": "0.00"
            }
        }
    }
}

错误时返回:

  {
    "result": 0,
    "msg": "",
    "data": []
}

:200000.00元;:330000.00元

返回参数说明:

参数名 类型 说明
cashier_price int 收银台累计实际支付金额
store_price int 门店商品累计实际支付金额
cashier_pay_price int 收银台累计已支付订单初始金额
cashier_pay_count int 收银台累计已支付总笔数
store_pay_price int 门店商品累计已支付订单初始金额
store_pay_count int 门店商品累计已支付订单总笔数
cashier_amount int 收银台累计提成金额
cashier_amount_settle int 收银台累计提成金额已结算
cashier_amount_split int 收银台累计提成金额已分账
store_amount int 门店商品累计提成金额
store_amount_settle int 门店商品累计提成金额已结算
store_amount_split int 门店商品累计提成金额已分账
参数名 类型 说明
curve array 曲线图
cashier_price int 收银台实际支付金额
cashier_amount int 收银台累计提成金额
store_price int 门店商品实际支付金额
store_amount int 门店商品累计提成金额

备注:

  • 更多返回错误代码请看首页的错误代码描述