Update UmsAdminController.java
This commit is contained in:
@@ -12,6 +12,7 @@ import com.macro.mall.service.UmsAdminService;
|
|||||||
import com.macro.mall.service.UmsRoleService;
|
import com.macro.mall.service.UmsRoleService;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
@@ -30,7 +31,8 @@ import java.util.stream.Collectors;
|
|||||||
* Created by macro on 2018/4/26.
|
* Created by macro on 2018/4/26.
|
||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@Api(tags = "UmsAdminController", description = "后台用户管理")
|
@Api(tags = "UmsAdminController")
|
||||||
|
@Tag(name = "UmsAdminController", description = "后台用户管理")
|
||||||
@RequestMapping("/admin")
|
@RequestMapping("/admin")
|
||||||
public class UmsAdminController {
|
public class UmsAdminController {
|
||||||
@Value("${jwt.tokenHeader}")
|
@Value("${jwt.tokenHeader}")
|
||||||
|
|||||||
Reference in New Issue
Block a user