liujie
2023-10-26 e030255c23c7ba3e2cbad1036a810d6d72fa864f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.List;
 
@FeignClient(value = "mb-cloud-other")
public interface StoreClient {
 
 
    @PostMapping("/base/protocol/storeDetail/courseOfSto")
    StoreDetailOfCourse getCourseOfStore(@RequestParam("storeId") Integer storeId);
 
 
    @PostMapping("/store/queryStoreByIds")
    List<Store> queryStoreByIds(@RequestBody List<Integer> ids);
 
    @PostMapping("/store/queryStoreIdByCityCode")
    List<Integer> queryStoreIdByCityCode(@RequestBody List<String> collect);
 
    @PostMapping("/store/querySiteIdById")
    List<Integer> querySiteIdById(@RequestBody List<Integer> storeIds);
 
 
}