com.nepxion.permission.api.UserResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of permission-api Show documentation
Show all versions of permission-api Show documentation
Nepxion Permission is a permission system based on Redis with Nepxion Matrix AOP framework and Aquarius framework
package com.nepxion.permission.api;
/**
* Title: Nepxion Permission
* Description: Nepxion Permission
* Copyright: Copyright (c) 2017-2050
* Company: Nepxion
* @author Haojun Ren
* @version 1.0
*/
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.nepxion.permission.entity.UserEntity;
@FeignClient(value = "${permission.service.name}")
public interface UserResource {
@RequestMapping(path = "/user/getUser/{token}", method = RequestMethod.GET)
UserEntity getUser(@PathVariable(value = "token") String token);
}