| | |
| | | package cn.iocoder.yudao.module.system.api.user; |
| | | |
| | | import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils; |
| | | import cn.iocoder.yudao.module.system.api.user.dto.AdminUserCreateReqDTO; |
| | | import cn.iocoder.yudao.module.system.api.user.dto.AdminUserRespDTO; |
| | | |
| | | import java.util.Collection; |
| | |
| | | * @author 芋道源码 |
| | | */ |
| | | public interface AdminUserApi { |
| | | |
| | | /** |
| | | * 创建用户 |
| | | * |
| | | * @param createReqDTO 用户创建信息 |
| | | * @return 用户编号 |
| | | */ |
| | | Long createUser(AdminUserCreateReqDTO createReqDTO); |
| | | |
| | | /** |
| | | * 通过用户 ID 查询用户 |
| | |
| | | List<AdminUserRespDTO> getUserListByPostIds(Collection<Long> postIds); |
| | | |
| | | /** |
| | | * 根据昵称模糊搜索用户 |
| | | * |
| | | * @param nickname 昵称关键词 |
| | | * @return 用户列表 |
| | | */ |
| | | List<AdminUserRespDTO> getUserListByNickname(String nickname); |
| | | |
| | | /** |
| | | * 获得用户 Map |
| | | * |
| | | * @param ids 用户编号数组 |