init
This commit is contained in:
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.ruoyi.cai.domain.UserMember;
|
||||
import com.ruoyi.cai.dto.admin.vo.UserMemberAdminVo;
|
||||
import com.ruoyi.cai.dto.app.vo.user.MemberInfoVo;
|
||||
import com.ruoyi.cai.enums.UserMemberTypeEnum;
|
||||
import com.ruoyi.common.core.domain.PageQuery;
|
||||
|
||||
/**
|
||||
@@ -21,7 +22,12 @@ public interface UserMemberService extends IService<UserMember> {
|
||||
|
||||
UserMember getByUserIdAndType(Long userId, Integer type);
|
||||
|
||||
UserMember getNormalMember(Long userId);
|
||||
/**
|
||||
* 判断用户是否为会员
|
||||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
UserMemberTypeEnum checkUserMember(Long userId);
|
||||
|
||||
void relieveMember(Long id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user