Bladeren bron

知识库——子系统配置 OPT
更改数据结构,适配平台parameter.config.url的显示

hyq 1 jaar geleden
bovenliggende
commit
858036ee37

+ 5 - 1
cx-knowledge-base/cx-knowledge-base-common/src/main/java/com/rongwei/bscommon/sys/service/impl/SubConfigServiceImpl.java

@@ -2,6 +2,8 @@ package com.rongwei.bscommon.sys.service.impl;
 
 import cn.hutool.json.JSONObject;
 import cn.hutool.json.JSONUtil;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.rongwei.bscommon.sys.feign.RwAdminFeign;
 import com.rongwei.bscommon.sys.service.SubConfigService;
 import com.rongwei.bsentity.enums.InsttypeEnum;
@@ -65,7 +67,9 @@ public class SubConfigServiceImpl implements SubConfigService {
             return R.error("该菜单未配置编辑页或页编辑,请重新选择!");
         }
         // 查询页面展示的所有字段
-        return R.ok(getTableNameByData(pagePart));
+        IPage<KdSubsystemDetailVo> res = new Page<>();
+        res.setRecords(getTableNameByData(pagePart));
+        return R.ok(res);
     }