| | |
| | | |
| | | @PostMapping("/agreement") |
| | | @ApiOperation(value = "协议", tags = {"后台-协议管理"}) |
| | | public AjaxResult agreement(@RequestBody AggrementDTO dto) { |
| | | public AjaxResult agreement( AggrementDTO dto) { |
| | | TProtocol protocol = protocolService.getById(dto.getType()); |
| | | if (StringUtils.hasLength(dto.getContent())) { |
| | | protocol.setContent(dto.getContent()); |
| | |
| | | @ApiImplicitParam(value = "每页显示条数", name = "pageSize", dataType = "Integer", required = true) |
| | | }) |
| | | public R<IPage<TIntegralRecord>> integralDetailParent(String time, |
| | | @RequestParam("pageNum") Integer pageNum, |
| | | @RequestParam("pageSize") Integer pageSize) { |
| | | Integer pageNum, |
| | | Integer pageSize) { |
| | | if (tokenService.getLoginUser1() == null) { |
| | | return R.tokenError("登录失效"); |
| | | } |