lisy
2023-07-07 942bd1345a126d6c088ad5c89f58856f9c172ce5
cloud-server-other/src/main/java/com/dsh/other/controller/ProtocolController.java
@@ -29,7 +29,7 @@
    @ApiImplicitParams({
            @ApiImplicitParam(value = "类型(1=用户协议,2=隐私协议,3=运动安全公告书)", name = "type", dataType = "int", required = true)
    })
    public ResultUtil<String> queryProtocol(@RequestBody Integer type){
    public ResultUtil<String> queryProtocol( Integer type){
        try {
            Protocol protocol = protocolService.getBaseMapper().selectOne(new QueryWrapper<Protocol>().eq("type", type));
            return ResultUtil.success(protocol.getContent());