店主端首页(财务管理)&账户余额

接口地址:/shop/homepage

get方式

参数格式如下:

  • phone:当前用户登陆时的手机号,int类型

返回格式:

  • is_setting为该用户是否已设置安全密码,0为未设置,跳转到设置页;1为已设置。

  • account_balance为账户余额

{
    "code": 1,
    "data": {
        "is_setting": 1,
        "item": [
            {
                "shop_id": 1,
                "shop_name": "南京·中山公园店",
                "account_balance": "5499.00"
            },
            {
                "shop_id": 4,
                "shop_name": "武汉·张江店",
                "account_balance": "11604.00"
            },
            {
                "shop_id": 8,
                "shop_name": "上海·徐汇店",
                "account_balance": "2510.00"
            },
            {
                "shop_id": 18,
                "shop_name": "杭州·西溪店",
                "account_balance": "16433.00"
            }
        ]
    },
    "msg": "success"
}

Last updated

Was this helpful?