You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
976 B
40 lines
976 B
package com.example.demo.service.coin;
|
|
|
|
|
|
import com.example.demo.domain.vo.coin.ConsumeUser;
|
|
import com.example.demo.domain.vo.coin.Result;
|
|
import com.example.demo.domain.vo.coin.RoleVo;
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @program: gold-java
|
|
* @ClassName RoleService
|
|
* @description:
|
|
* @author: Double
|
|
* @create: 2025−07-15 11:29
|
|
* @Version 1.0
|
|
**/
|
|
|
|
public interface RoleService {
|
|
|
|
//查询频道
|
|
List<String> getChannel();
|
|
//新增角色
|
|
Result addRole(RoleVo roleVo);
|
|
//新增角色二期替补
|
|
Result addRole2(RoleVo roleVo);
|
|
//查找全部角色
|
|
Result selectAllRole();
|
|
//根据父级id查找下属角色
|
|
List<RoleVo> selectSubRole(Integer id);
|
|
|
|
//分页查找角色
|
|
PageInfo<RoleVo> selectBy(Integer pageNum, Integer pageSize, RoleVo roleVo);
|
|
|
|
//删除角色
|
|
Result deleteRole(RoleVo roleVo);
|
|
//获取当前角色的上级角色
|
|
RoleVo selectFather(Integer id);
|
|
}
|