wuxw
2019-09-20 9499873ee5b97bfd0aacf8d0895f56f437e6a93f
java110-core/src/main/java/com/java110/core/smo/store/IStoreInnerServiceSMO.java
@@ -1,6 +1,11 @@
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;
@@ -8,7 +13,10 @@
 * 商户 服务内部交互接口类
 * add by wuxw 2019-09-19
 */
@FeignClient(name = "store-service", configuration = {FeignConfiguration.class})
@RequestMapping("/storeApi")
public interface IStoreInnerServiceSMO {
    public List<StoreDto> getStores(StoreDto storeDto);
    @RequestMapping(value = "/getStores", method = RequestMethod.POST)
    public List<StoreDto> getStores(@RequestBody StoreDto storeDto);
}