| | |
| | | |
| | | @Autowired |
| | | private TAppGiftService appGiftService; |
| | | |
| | | /** |
| | | * 根据介绍有礼id查询当前活动参与次数 |
| | | */ |
| | |
| | | .size(); |
| | | return activityId1; |
| | | } |
| | | |
| | | /** |
| | | * 介绍有礼 -- 参与用户列表 |
| | | */ |
| | |
| | | public List<IntroduceUser> queryIntroduceAll(@RequestBody IntroduceUserQuery query){ |
| | | return appGiftService.queryIntroduceAll(query); |
| | | } |
| | | |
| | | /** |
| | | * 获取所有用户 |
| | | */ |
| | |
| | | public List<TAppUser> queryAPPUserByNameAndPhone(@RequestBody AppUserByNameAndPhoneDTO dto){ |
| | | return appUserService.queryAPPUserByNameAndPhone(dto); |
| | | } |
| | | |
| | | /** |
| | | * 根据用户id获取用户信息 |
| | | * |
| | | * @param appUserId |
| | | * @return |
| | | */ |
| | |
| | | TAppUser appUser = appUserService.getById(appUserId); |
| | | return appUser; |
| | | } |
| | | |
| | | /** |
| | | * 冻结/解冻 1=解冻 2=冻结 |
| | | */ |
| | |
| | | public Object changeState(@RequestBody AdvertisementChangeStateDTO dto){ |
| | | return appUserService.changeState(dto); |
| | | } |
| | | |
| | | /** |
| | | * 后台添加 |
| | | */ |
| | |
| | | |
| | | @Autowired |
| | | private TStudentService studentService; |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/appUser/logOff") |
| | | @ApiOperation(value = "注销", tags = {"注销"}) |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/appUser/loginSMSCode") |
| | | @ApiOperation(value = "短信验证码登录", tags = {"APP-登录注册"}) |
| | |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/appUser/bind") |
| | | @ApiOperation(value = "微信登录绑定手机号", tags = {"APP-登录注册"}) |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/api/appUser/updateInfo") |
| | | @ApiOperation(value = "修改个人信息", tags = {"APP-登录注册"}) |
| | |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/api/appUser/queryJoinPlayPai") |
| | | @ApiOperation(value = "获取加入玩湃首页数据", tags = {"APP-加入玩湃"}) |
| | |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 购买年度会员支付微信回调 |
| | | * |
| | | * @param request |
| | | * @param response |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 购买年度会员支付支付宝回调 |
| | | * |
| | | * @param request |
| | | * @param response |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 根据用户id获取用户信息 |
| | | * |
| | | * @param appUserId |
| | | * @return |
| | | */ |
| | |
| | | |
| | | @Autowired |
| | | private UserIntegralChangesService userIntegralChangesService; |
| | | |
| | | /** |
| | | * 修改用户信息 |
| | | * |
| | | * @param appUser |
| | | */ |
| | | @ResponseBody |
| | |
| | | |
| | | /** |
| | | * 根据名称模糊搜索用户 |
| | | * |
| | | * @param name |
| | | * @return |
| | | */ |
| | |
| | | public List<TAppUser> queryAppUserListByName(@RequestBody String name){ |
| | | return appUserService.list(new QueryWrapper<TAppUser>().eq("state", 1).like("name", name)); |
| | | } |
| | | |
| | | |
| | | |
| | | @PostMapping("/appUser/addCourseInfoRecord") |