|
@@ -398,9 +398,17 @@ public class StoreInfoController {
|
|
|
@GetMapping("/getStoreCouponList")
|
|
@GetMapping("/getStoreCouponList")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
public R getStoreCouponList(@RequestParam("storeId") String storeId) {
|
|
public R getStoreCouponList(@RequestParam("storeId") String storeId) {
|
|
|
- log.info("StoreInfoController.getStoreDetail?storeId={},userId={}", storeId);
|
|
|
|
|
|
|
+ log.info("StoreInfoController.getStoreCouponList?storeId={}", storeId);
|
|
|
|
|
+ CouponAndEventVo couponAndEventVo = new CouponAndEventVo();
|
|
|
List<LifeCouponVo> lifeCouponVos = storeInfoService.getStoreCouponList(storeId);
|
|
List<LifeCouponVo> lifeCouponVos = storeInfoService.getStoreCouponList(storeId);
|
|
|
- return R.data(lifeCouponVos);
|
|
|
|
|
|
|
+
|
|
|
|
|
+ List<StoreImg> storeImgs = storeInfoService.getBannerUrl(storeId);
|
|
|
|
|
+ couponAndEventVo.setCouponList(lifeCouponVos);
|
|
|
|
|
+ if (CollectionUtils.isNotEmpty(storeImgs)) {
|
|
|
|
|
+ couponAndEventVo.setMarketingList(storeImgs);
|
|
|
|
|
+ }
|
|
|
|
|
+ couponAndEventVo.setMarketingList(storeImgs);
|
|
|
|
|
+ return R.data(couponAndEventVo);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@ApiOperation(value = "web端审批店铺")
|
|
@ApiOperation(value = "web端审批店铺")
|