fhx
2024-05-07 561450840d2d4c96fc38523a44872e6ed12b12b6
1.新增复购活动接口service
1个文件已添加
35 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/feign/service/phis/SRepoActivityService.java 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/phis/SRepoActivityService.java
New file
@@ -0,0 +1,35 @@
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);
}