From 0d2bf58de1174e57e53bddfbfb292667c587af27 Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期三, 02 八月 2023 14:30:51 +0800 Subject: [PATCH] 后台代码 --- cloud-server-activity/src/main/java/com/dsh/activity/feignclient/other/StoreClient.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/cloud-server-activity/src/main/java/com/dsh/activity/feignclient/other/StoreClient.java b/cloud-server-activity/src/main/java/com/dsh/activity/feignclient/other/StoreClient.java index b23ad64..21005db 100644 --- a/cloud-server-activity/src/main/java/com/dsh/activity/feignclient/other/StoreClient.java +++ b/cloud-server-activity/src/main/java/com/dsh/activity/feignclient/other/StoreClient.java @@ -1,9 +1,12 @@ package com.dsh.activity.feignclient.other; +import com.dsh.activity.feignclient.other.model.Store; import com.dsh.activity.feignclient.other.model.StoreDetailOfCourse; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; + +import java.util.List; @FeignClient(value = "mb-cloud-other") public interface StoreClient { @@ -11,4 +14,8 @@ @PostMapping("/base/protocol/storeDetail/courseOfSto") StoreDetailOfCourse getCourseOfStore(@RequestParam("storeId") Integer storeId); + + + @PostMapping("/store/queryStoreByIds") + List<Store> queryStoreByIds(List<Integer> ids); } -- Gitblit v1.7.1