| | |
| | | @ApiOperation(value = "修改状态") |
| | | @GetMapping(value = "/changeStatus") |
| | | @Log(title = "小程序用户-修改状态", businessType = BusinessType.UPDATE) |
| | | public R pageList(Integer id) { |
| | | public R pageList(@RequestParam String id) { |
| | | TAppUser appUser = appUserService.getById(id); |
| | | appUser.setStatus(appUser.getStatus()==1?2:1); |
| | | appUserService.updateById(appUser); |
| | |
| | | } |
| | | @ApiOperation(value = "查看详情") |
| | | @GetMapping(value = "/detail") |
| | | public R<TAppUser> detail(Integer id) { |
| | | public R<TAppUser> detail(@RequestParam String id) { |
| | | return R.ok(appUserService.getById( id)); |
| | | } |
| | | } |