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