Optimize user management api
This commit is contained in:
@@ -7,6 +7,7 @@ import top.fatweb.api.param.authentication.UserDeleteParam
|
||||
import top.fatweb.api.param.authentication.UserGetParam
|
||||
import top.fatweb.api.param.authentication.UserUpdateParam
|
||||
import top.fatweb.api.vo.PageVo
|
||||
import top.fatweb.api.vo.permission.UserWithInfoVo
|
||||
import top.fatweb.api.vo.permission.UserWithPasswordRoleInfoVo
|
||||
import top.fatweb.api.vo.permission.UserWithPowerInfoVo
|
||||
import top.fatweb.api.vo.permission.UserWithRoleInfoVo
|
||||
@@ -18,7 +19,7 @@ import top.fatweb.api.vo.permission.UserWithRoleInfoVo
|
||||
* @since 1.0.0
|
||||
*/
|
||||
interface IUserService : IService<User> {
|
||||
fun getUserWithPower(username: String): User?
|
||||
fun getUserWithPowerByUsername(username: String): User?
|
||||
|
||||
fun getInfo(): UserWithPowerInfoVo?
|
||||
|
||||
@@ -26,7 +27,7 @@ interface IUserService : IService<User> {
|
||||
|
||||
fun getOne(id: Long): UserWithRoleInfoVo?
|
||||
|
||||
fun getList(): List<UserWithRoleInfoVo>
|
||||
fun getList(): List<UserWithInfoVo>
|
||||
|
||||
fun add(userAddParam: UserAddParam): UserWithPasswordRoleInfoVo?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user