离歌笑
2019-10-22 65b30b7cac0a3fdcb8cec19c73411af0e2858766
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.java110.core.smo.store;
 
import com.java110.core.feign.FeignConfiguration;
import com.java110.dto.store.StoreDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
 
import java.util.List;
 
/**
 * 商户 服务内部交互接口类
 * add by wuxw 2019-09-19
 */
@FeignClient(name = "store-service", configuration = {FeignConfiguration.class})
@RequestMapping("/storeApi")
public interface IStoreInnerServiceSMO {
 
    @RequestMapping(value = "/getStores", method = RequestMethod.POST)
    public List<StoreDto> getStores(@RequestBody StoreDto storeDto);
}