adminExperienceMuseum - TimYi/FengHuang GitHub Wiki

请求URL

http://www.ifhzj.com/api/admin/experienceMuseum

字段说明

字段分为显示和保存两部分。
保存字段会有一些关联实体的id,显示字段会把一些关联实体的内容扁平化显示。

显示字段

id:id
name:体验馆名称
city:所在城市{id,name,level}
pic:图片{id,url}

传参字段

id:id
name:品牌名称
cityId:城市id
picFile:图片,input type=file

返回示例

{
"result": {
    "totalCount": 2,
    "totalPages": 1,
    "page": 1,
    "size": 8,
    "result": [
        {
            "id": "8aac49ea4ebede21014ebede4f460000",
            "name": "北京体验馆",
            "city": {
                "id": "404040e64e2a016a014e2a017a7e0004",
                "name": "北京",
                "level": "CITY",
                "code": "010"
            },
            "pic": null
        },
        {
            "id": "8aac49ea4ebede21014ebedeb3df0001",
            "name": "厦门体验馆",
            "city": {
                "id": "404040e64e2a016a014e2a017a2f0001",
                "name": "厦门",
                "level": "CITY",
                "code": "0592"
            },
            "pic": null
        }
    ]
},
"status": "OK"
}