23 lines
544 B
Java
23 lines
544 B
Java
package top.baogutang.music.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import top.baogutang.music.dao.entity.UserEntity;
|
|
import top.baogutang.music.domain.req.user.UserRegisterAndLoginReq;
|
|
import top.baogutang.music.domain.res.user.UserLoginRes;
|
|
|
|
/**
|
|
*
|
|
* @description:
|
|
*
|
|
* @author: N1KO
|
|
* @date: 2024/12/13 : 16:41
|
|
*/
|
|
public interface IUserService extends IService<UserEntity> {
|
|
|
|
void register(UserRegisterAndLoginReq req);
|
|
|
|
UserLoginRes login(UserRegisterAndLoginReq req);
|
|
|
|
void logout(Long id);
|
|
}
|