| | |
| | | TAppUser appUser = appUserService.getById(id); |
| | | return R.ok(appUser); |
| | | } |
| | | @PostMapping(value = "/user/getAllUser") |
| | | public R<List<TAppUser>> getAllUser(){ |
| | | return R.ok(appUserService.list(null)); |
| | | } |
| | | |
| | | |
| | | /** |
| | |
| | | return R.ok(result3); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | // String reqStr1 = MsgUtil.codeMsg("19983174515", "123456"); |
| | | // String result1 = HttpUtils.post(MsgConstants.SEND_URL, reqStr1); |
| | | |
| | | String reqStr3 = MsgUtil.faultMsg("18398968484", "长河服务区充电站(遂", "123"); |
| | | String result3 = HttpUtils.post(MsgConstants.SEND_URL, reqStr3); |
| | | System.err.println(result3); |
| | | } |
| | | @PostMapping(value = "/user/logOut") |
| | | @ApiOperation(value = "退出登录", tags = {"小程序-个人中心"}) |
| | | public AjaxResult logOut(){ |