1
dd
2025-11-29 9437600612eb0243a3371ff1e4fa3689cce8c83a
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/BasicSetupController.java
@@ -52,6 +52,9 @@
        configServiceById.setLegalInstitution(vo.getLegalInstitution());
        configServiceById.setCopyrightInfo(vo.getCopyrightInfo());
        configServiceById.setCodeUrl(vo.getCodeUrl());
        configServiceById.setCustomerServiceUrl(vo.getCustomerServiceUrl());
        configServiceById.setAboutUs(vo.getAboutUs());
        configServiceById.setPaymentSwitch(vo.getPaymentSwitch());
        groupWelcomeConfigService.updateById(configServiceById);
        return AjaxResult.success("保存成功!");
    }
@@ -71,14 +74,14 @@
     */
//    @PreAuthorize("@ss.hasPermi('im:group:list')")
    @GetMapping("/list")
    public TableDataInfo list(@RequestParam(value = "keyword", required = false) String keyword)
    public TableDataInfo list(@RequestParam(value = "keywords", required = false) String keywords)
    {
        // 创建查询条件包装器
        LambdaQueryWrapper<IpBlacklist> queryWrapper = new LambdaQueryWrapper<>();
        // 只有当 keyword 不为空时才添加 OR 条件
        if (ObjectUtil.isNotEmpty(keyword)) {
            queryWrapper.and(wrapper -> wrapper.eq(IpBlacklist::getIpAddress,keyword)
        if (ObjectUtil.isNotEmpty(keywords)) {
            queryWrapper.and(wrapper -> wrapper.eq(IpBlacklist::getIpAddress,keywords)
            );
        }