nickchange
2023-11-09 c036557db88c6297b9a626a892dce35c14ab8ee5
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
package com.dsh.account.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.dsh.account.dto.BindDto;
import com.dsh.account.dto.SelectDto;
import com.dsh.account.dto.UpdateInfoDto;
import com.dsh.account.dto.UserInfoQueryDTO;
import com.dsh.account.entity.TAppUser;
import com.dsh.account.model.*;
import com.dsh.account.model.query.appUserQuery.QueryAppUser;
import com.dsh.account.model.vo.DetailsListVo;
import com.dsh.account.model.vo.QueryAppUserVO;
import com.dsh.account.model.vo.classDetails.CourseVenue;
import com.dsh.account.model.vo.classDetails.classInsVo.ClassInfoVo;
import com.dsh.account.model.vo.userBenefitDetail.*;
import com.dsh.account.util.ResultUtil;
import com.dsh.account.vo.GroupCityInfoVO;
import com.dsh.account.vo.entity.DayData;
import com.dsh.account.vo.entity.MonthData;
import com.dsh.account.vo.entity.WeekData;
import com.dsh.account.vo.entity.YearData;
import org.springframework.web.multipart.MultipartFile;
 
import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 用户信息 服务类
 * </p>
 *
 * @author administrator
 * @since 2023-06-14
 */
public interface TAppUserService extends IService<TAppUser> {
 
    ClassInfoVo queryUserOfStus(Integer id);
 
 
    /**
     * 获取短信验证码
     * @param type
     * @param phone
     * @return
     * @throws Exception
     */
    ResultUtil getSMSCode(Integer type, String phone) throws Exception;
 
 
    /**
     * 注册账号
     * @return
     * @throws Exception
     */
    ResultUtil addAppUser(AddAppUserVo addAppUserVo) throws Exception;
 
 
    /**
     * 账号密码登录
     * @param phone
     * @param password
     * @return
     * @throws Exception
     */
    ResultUtil loginPassword(String phone, String password) throws Exception;
 
 
    /**
     * 验证码登录
     * @return
     * @throws Exception
     */
    ResultUtil loginSMSCode(LoginSMSCodeVo loginSMSCodeVo) throws Exception;
 
 
    /**
     * 微信登录
     * @return
     * @throws Exception
     */
    ResultUtil loginWechat(LoginWeChatVo loginWechatVo) throws Exception;
 
 
    /**
     * 修改密码
     * @param phone
     * @param code
     * @param password
     * @return
     * @throws Exception
     */
    ResultUtil updatePassword(String phone, String code, String password) throws Exception;
 
 
    /**
     * 定时任务修改到期会员的状态
     */
    void membershipEnd();
 
 
    /**
     * 获取加入玩湃首页数据
     * @param lon
     * @param lat
     * @return
     * @throws Exception
     */
    JoinPlayPaiVo queryJoinPlayPai(Integer uid, String lon, String lat) throws Exception;
 
    /**
     * 获取使用福利首页数据
     * @param appUserId
     * @return
     */
    IndexOfUserBenefirVo queryBenefitDetails(Integer appUserId,String lon,String lat);
 
    /**
     * 获取用户账单列表
     * @param yearMonth 年月
     * @param recordId 记录
     * @return
     */
    List<ConsumeDetail>  queryUserBillingDetails(String yearMonth, Integer recordId,Integer appUserId);
 
    /**
     * 注销账号
     * @param appUserId
     */
    void cancellation(Integer appUserId);
 
    List<RechargeCentVo> getSysRechargeConfig(Integer appUserId);
 
    List<Goods> queryAppUserIntegral(MallRequest request);
 
 
    ProductDetailsVo productDetails(Integer goodId, Integer goodsType );
 
    StuAndStoreResponse queryAppUserDefaultStuAndStore(Integer userIdFormRedis ,Integer pointsMerId, String lat, String lon,Integer isCourse);
 
    ResultUtil productRedemptionOperation(Integer userIdFormRedis, GoodsExchangeVo exchangeVo);
 
    ResultUtil exchangeAddPaymentCallback(String code, String orderNumber,Integer payType);
 
    List<StoreResponse> queryStoresOfExchange(Integer goodsType,Integer pointsMerId);
 
    List<CourseVenue> queryWeekOfCourseDetails(Integer appUserId ,Integer stuId, String time, String longitude, String latitude);
 
    List<QueryAppUserVO> listAll(QueryAppUser query);
 
    Map<String,Object> weeksOfCourseDetailsList(Integer appUserId, Integer stuId, String time, Integer storeId,String lon,String lat);
 
 
    List<SelectDto> getSelects(List<Integer> studentIds);
 
    Object changeState(AdvertisementChangeStateDTO dto);
 
    List<TAppUser> queryAPPUserByNameAndPhone(AppUserByNameAndPhoneDTO dto);
 
 
    List<YearData> getYearUserCount(UserInfoQueryDTO dto);
 
    List<MonthData> getMonthUserCount(UserInfoQueryDTO dto);
 
    WeekData getWeekUserCount4(UserInfoQueryDTO dto);
    WeekData getWeekUserCount3(UserInfoQueryDTO dto);
    WeekData getWeekUserCount2(UserInfoQueryDTO dto);
    WeekData getWeekUserCount1(UserInfoQueryDTO dto);
 
    List<DayData> getDayUserCount(UserInfoQueryDTO dto);
 
    List<GroupCityInfoVO> groupCityInfo(UserInfoQueryDTO dto);
 
    ProductDetailsVo goodsDetailsOne(Integer goodId);
 
 
    ResultUtil bind(BindDto dto);
 
 
    ResultUtil<String> updateInfo(UpdateInfoDto dto,Integer uid);
 
 
    List<QueryAppUserVO> listAll1(QueryAppUser query);
}