无关风月
2024-07-04 88b7023e5de8ea4d0095368c6b1424b76f35f1a8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.ruoyi.study.service;
 
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.study.domain.TUser;
import com.ruoyi.study.dto.AppUserQuery;
import com.ruoyi.study.vo.AppUserVO;
 
import java.util.Date;
import java.util.List;
 
/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 无关风月
 * @since 2024-04-26
 */
public interface ITUserService extends IService<TUser> {
 
    List<AppUserVO> listAll(AppUserQuery query);
 
    /**
     * 发送手机验证码
     *
     * @param phone 手机号信息
     * @return 验证码发送结果
     */
    Boolean phoneCode(String phone) throws Exception;
 
    /**
     * 判断当前登录用户是否为vip
     *
     * @return 判断结果
     */
    Boolean isVip();
 
    void updateOne(Integer id, Date vipEndTime,Date vipPayTime);
}