All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.java2e.martin.common.api.resource.RemoteResource Maven / Gradle / Ivy

Go to download

Martin 内部接口调用服务,每个业务模块一个目录,本着架构最简原则,远程调用不允许传输自己模块的对象,要传输的对象统一放到martin-common-bean模块下

The newest version!
package com.java2e.martin.common.api.resource;

import com.java2e.martin.common.core.constant.ServiceNameConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 狮少
 * @version 1.0
 * @date 2019/7/30
 * @describtion RemoteResource, resource 模块对外提供的示例服务
 * @since 1.0
 */
@FeignClient(contextId = "remoteResource", name = ServiceNameConstants.MARTIN_BIZ_RESOURCE_SERVICE)
public interface RemoteResource {
    @GetMapping("/test")
    String test();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy