From c678894e37d15cca116d962eba5c107c99176945 Mon Sep 17 00:00:00 2001 From: lisy <linlangsur163@163.com> Date: 星期四, 20 七月 2023 17:39:05 +0800 Subject: [PATCH] 开始上课的主页中课包列表展示;bmi工具类匹配对应的身体状态 --- cloud-server-account/src/main/java/com/dsh/account/service/TAppUserService.java | 125 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 123 insertions(+), 2 deletions(-) diff --git a/cloud-server-account/src/main/java/com/dsh/account/service/TAppUserService.java b/cloud-server-account/src/main/java/com/dsh/account/service/TAppUserService.java index a4ea4d4..6dc643d 100644 --- a/cloud-server-account/src/main/java/com/dsh/account/service/TAppUserService.java +++ b/cloud-server-account/src/main/java/com/dsh/account/service/TAppUserService.java @@ -1,8 +1,19 @@ package com.dsh.account.service; -import com.dsh.account.entity.TAppUser; -import com.dsh.account.model.vo.classDetails.classInsVo.ClassInfoVo; import com.baomidou.mybatisplus.extension.service.IService; +import com.dsh.account.entity.TAppUser; +import com.dsh.account.model.AddAppUserVo; +import com.dsh.account.model.JoinPlayPaiVo; +import com.dsh.account.model.LoginSMSCodeVo; +import com.dsh.account.model.LoginWeChatVo; +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 org.springframework.web.multipart.MultipartFile; + +import javax.servlet.http.HttpServletRequest; +import java.util.List; /** * <p> @@ -15,4 +26,114 @@ 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); + + /** + * 获取用户账单列表 + * @param yearMonth 年月 + * @param recordId 记录 + * @return + */ + BillingDetailsVo queryUserBillingDetails(String yearMonth, Integer recordId,Integer appUserId); + + /** + * 注销账号 + * @param appUserId + */ + void cancellation(Integer appUserId); + + List<RechargeCentVo> getSysRechargeConfig(Integer appUserId); + + PointMallDetailsResponse queryAppUserIntegral(MallRequest request, Integer userIdFormRedis); + + ResultUtil uploadAppUserHeadImg(Integer appUserId, MultipartFile file, HttpServletRequest request); + + ProductDetailsVo productDetails(Integer goodId, Integer goodsType ); + + StuAndStoreResponse queryAppUserDefaultStuAndStore(Integer userIdFormRedis ,Integer pointsMerId, String lat, String lon,Integer isCourse); + + ResultUtil productRedemptionOperation(Integer userIdFormRedis, Integer goodId, Integer goodsType,Integer nums,Integer exchangeType,Integer payType,List<Integer> stuIds); + + 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); } -- Gitblit v1.7.1