线下支出详情

接口地址:/shop/xxzcdetail

get方式

参数及格式如下:

  • phone:用户登录时的手机号

  • shop_id:门店id

  • month:当前条目的月份,按照如2018-02的形式

返回格式:

若成功msg返回success;否则msg为相应报错信息


{
    "code": 1, 
    "data": {
        "item": [
            {
                "cost_id":12,
                "name": "门店租金", 
                "is_fixed": 1, 
                "num": "5000.00"
            }, 
            {
                "cost_id":112,
                "name": "大厦物业费", 
                "is_fixed": 1, 
                "num": "500.00"
            }, 
            {
                "cost_id":1212,
                "name": "清洁费", 
                "is_fixed": 0, 
                "num": "200.00"
            }, 
            {
                "cost_id":42,
                "name": "员工薪水", 
                "is_fixed": 0, 
                "num": "500.00"
            }, 
            {
                "cost_id":122,
                "name": "税", 
                "is_fixed": 0, 
                "num": "500.00"
            }
        ]
    }, 
    "msg": "success"
}

Last updated

Was this helpful?