| | |
| | | * @since 2024-12-09 |
| | | */ |
| | | @RestController |
| | | @Api(tags = "用户管理") |
| | | @Api(tags = "小程序用户管理") |
| | | @RequestMapping("/t-app-user") |
| | | public class TAppUserController { |
| | | |
| | |
| | | return ApiResult.success(tAppUserVO); |
| | | } |
| | | @ApiOperation(value = "用户详情-查看优惠券") |
| | | @GetMapping(value = "/getCouponDetailById") |
| | | @PostMapping(value = "/getCouponDetailById") |
| | | public ApiResult<PageInfo<TAppUserCouponVO>> getCouponDetailById(@RequestBody TAppUserCouponQuery query) { |
| | | PageInfo<TAppUserCouponVO> appUserVOPageInfo = couponReceiveService.pageList(query); |
| | | return ApiResult.success(appUserVOPageInfo); |
| | | } |
| | | |
| | | @ApiOperation(value = "用户信息修改") |
| | | @PostMapping(value = "/updateUser") |
| | | public ApiResult<String> updateUser(@RequestBody TAppUser appUser) { |
| | | appUserService.updateById(appUser); |
| | | return ApiResult.success(); |
| | | } |
| | | |
| | | } |
| | | |