完善了用户登录
This commit is contained in:
parent
98187e3f26
commit
e0a4ea8db4
|
@ -108,8 +108,7 @@ public class CategoryController {
|
||||||
* @return 商品类别列表
|
* @return 商品类别列表
|
||||||
*/
|
*/
|
||||||
@PostMapping("/list")
|
@PostMapping("/list")
|
||||||
@Operation(summary = "Web端管理员查询商品类别", description = "参数:无,权限:管理员(admin, boss),方法名:listCategory")
|
@Operation(summary = "Web端管理员查询商品类别", description = "参数:无,权限:所有人,方法名:listCategory")
|
||||||
// @AuthCheck(mustRole = UserConstant.ADMIN_ROLE)
|
|
||||||
public BaseResponse<List<Category>> listCategory() {
|
public BaseResponse<List<Category>> listCategory() {
|
||||||
List<Category> list = categoryService.list();
|
List<Category> list = categoryService.list();
|
||||||
return ResultUtils.success(list);
|
return ResultUtils.success(list);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user