package com.ruoyi.system.api.service;
|
|
import com.ruoyi.common.core.constant.ServiceNameConstants;
|
import com.ruoyi.system.api.factory.RemoteUserFallbackFactory;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
/**
|
* 用户服务
|
*
|
* @author jqs
|
*/
|
@FeignClient(contextId = "remoteSysStaffService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteUserFallbackFactory.class)
|
public interface RemoteSysStaffService
|
{
|
|
@RequestMapping(value = "/staff/isLeader", method = RequestMethod.POST)
|
public Boolean isLeader() ;
|
|
}
|