无关风月
16 小时以前 4c9035836c18886883d3f69d8443c53d15b068fc
cloud-server-other/src/main/java/com/dsh/other/feignclient/activity/CouponClient.java
@@ -1,8 +1,13 @@
package com.dsh.other.feignclient.activity;
import com.dsh.other.feignclient.activity.model.Coupon;
import com.dsh.other.feignclient.activity.model.PointsMerchandise;
import com.dsh.other.model.CouponCity;
import com.dsh.other.model.CouponStore;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import java.util.List;
/**
 * @author zhibing.pu
@@ -20,4 +25,12 @@
     */
    @PostMapping("/coupon/queryCouponById")
    Coupon queryCouponById(Integer id);
    @PostMapping("/coupon/queryCouponAll")
    List<Coupon> queryCouponAll();
    @PostMapping("/base/coupon/queryAllStore")
    List<CouponStore> queryAllStore();
    @PostMapping("/base/coupon/queryAllCity")
    List<CouponCity> queryAllCity();
    @PostMapping("/base/coupon/queryAllPointGoods")
    List<PointsMerchandise> queryAllPointGoods();
}