帮助中心

This commit is contained in:
2026-03-13 14:10:47 +08:00
parent 9b4768f01e
commit cd437c221f
3 changed files with 36 additions and 3 deletions

View File

@@ -151,4 +151,10 @@ public class SysParamsServiceImpl extends ServiceImpl<SysParamsMapper, SysParams
}
return map;
}
@Cacheable(cacheNames = "params:paramType", key = "#paramType")
@Override
public CzgResult<List<SysParamsDTO>> getParamsByParamType(String paramType) throws CzgException {
return CzgResult.success(listAs(query().eq(SysParams::getParamType, paramType), SysParamsDTO.class));
}
}