From 561450840d2d4c96fc38523a44872e6ed12b12b6 Mon Sep 17 00:00:00 2001
From: fhx <308050795@qq.com>
Date: 星期二, 07 五月 2024 16:18:49 +0800
Subject: [PATCH] 1.新增复购活动接口service

---
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SRepoActivityService.java |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SRepoActivityService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SRepoActivityService.java
new file mode 100644
index 0000000..bdd1b76
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SRepoActivityService.java
@@ -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);
+}

--
Gitblit v1.8.0