MenuClient.java 1.25 KB
package com.glsx.common.feign.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.alibaba.fastjson.JSONObject;
import com.glsx.common.config.FeignConfig;

/**
 * 
 * @Title MenuClient.java
 * @Package com.glsx.common.feign.client
 * @Description TODO 菜单相关feign客户端
 * @author zhanghj
 * @date 2019年2月14日 下午9:06:13
 * @version 1.0.0
 */
@FeignClient(name="car-service-usercenter", configuration=FeignConfig.class)
public interface MenuClient {

	/**
	 * 
	 * @author zhanghj 
	 * @Title: getUserPermissionAllMenuList  
	 * @Description: TODO 获取该用户所拥有的权限菜单列表
	 * @return
	 * JSONObject
	 *
	 */
	@RequestMapping(method = RequestMethod.GET, value = "/carservice/usercenter/sysMenu/getUserPermissionAllMenuList")
	JSONObject getUserPermissionAllMenuList();
	
	/**
	 * 
	 * @author zhanghj 
	 * @Title: getAllMenuList  获取所有菜单列表
	 * @Description: TODO 
	 * @return
	 * JSONObject
	 *
	 */
	@RequestMapping(method = RequestMethod.GET, value = "/carservice/usercenter/sysMenu/getAllMenuList")
	JSONObject getAllMenuList();
}