文档
测试

√819加载页面数据-onShow/current=0,获得某个门店的小时卡数据

GET
/api/product/discount/getLoadInfo

接口描述

加载页面数据-onShow/current=0,获得某个门店的小时卡数据

说明 / 示例

>请求参数 ```json { "cityName": "西安", "storeId": 8 } ``` >响应参数 ```json { "code": 0, "data": { //cityName是这个城市的信息,下面的字段应该挺好理解的,这里只放discount_id!=null的discount_type是小时卡的数据 storeInfos: [{ storeId:1, storeTitle:"西安理工大学(金花校区)" },{ storeId:2, storeTitle:"西安理工大学(曲江校区)" }], discountInfos: [{ discountId: 1, discountTitle: "24小时体验卡", discountDesc: "这里放的是上面这玩意儿的简单描述。", discountPriceNow: 100, discountPriceOrigin: 200, }], } } ```