| | |
| | | return AjaxResult.success(protocol.getContent()); |
| | | } |
| | | } |
| | | @PostMapping("/agreement1/{type}") |
| | | @ApiOperation(value = "协议", tags = {"家长端/学习端-获取协议"}) |
| | | public R<String> agreement1(@PathVariable("type") Integer type) { |
| | | TProtocol protocol = protocolService.getOne(new QueryWrapper<TProtocol>() |
| | | .eq("type",type)); |
| | | |
| | | return R.ok(protocol.getContent()); |
| | | |
| | | } |
| | | @PostMapping("/useGuide") |
| | | @ApiOperation(value = "使用指南-列表查询", tags = {"后台-使用指南"}) |
| | | public AjaxResult<PageInfo<TUseGuide>> agreement(String title, Integer pageNumber, Integer pageSize) { |