|
|
package com.yohoufo.promotion.controller;
|
|
|
|
|
|
import com.yoho.core.rest.annotation.ServiceDesc;
|
|
|
import com.yohobuy.ufo.model.promotion.CouponDisplayBo;
|
|
|
import com.yohobuy.ufo.model.promotion.CouponSimpleBo;
|
|
|
import com.yohobuy.ufo.model.promotion.response.CouponSendBo;
|
|
|
import com.yohoufo.common.ApiResponse;
|
|
|
import com.yohoufo.common.annotation.IgnoreSession;
|
|
|
import com.yohoufo.common.annotation.IgnoreSignature;
|
|
|
import com.yohoufo.common.annotation.InnerApi;
|
|
|
import com.yohoufo.promotion.service.ICouponCacheService;
|
|
|
import com.yohoufo.promotion.service.ICouponService;
|
|
|
import com.yohoufo.promotion.service.impl.CouponDisplayService;
|
...
|
...
|
@@ -17,6 +20,7 @@ import java.util.List; |
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/erp")
|
|
|
@ServiceDesc("coupon")
|
|
|
public class ErpGWCouponController {
|
|
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(getClass());
|
...
|
...
|
@@ -90,6 +94,8 @@ public class ErpGWCouponController { |
|
|
|
|
|
@RequestMapping("/coupon/addOrUpdateDisplay")
|
|
|
@IgnoreSession
|
|
|
@IgnoreSignature
|
|
|
@InnerApi
|
|
|
public int addOrUpdateDisplay(@RequestBody CouponDisplayBo req){
|
|
|
return couponDisplayService.addOrUpdate(req);
|
|
|
}
|
...
|
...
|
|