package com.hz.his.feign.service.phis;
|
|
import com.hx.resultTool.Result;
|
import com.hz.his.dto.PageDto;
|
import com.hz.his.dto.coupon.CouponDto;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import java.math.BigDecimal;
|
|
/**
|
* 复购活动service
|
*/
|
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "repo-activity")
|
public interface SRepoActivityService {
|
|
/** 门店列表 */
|
@PostMapping(value = "/repo/activity/shop/list")
|
Result shopList();
|
|
/** SPU列表 */
|
@PostMapping(value = "/repo/activity/spu/list")
|
Result spuList(@RequestBody PageDto dto);
|
|
/** 项目映射分类列表 */
|
@PostMapping(value = "/repo/activity/project/type/relation/list")
|
Result projectTypeRelationList(@RequestBody PageDto dto);
|
|
/** 优惠券列表 */
|
@PostMapping(value = "/repo/activity/coupon/list")
|
Result couponList(@RequestBody CouponDto couponDto);
|
}
|