This commit is contained in:
六如
2024-12-01 13:10:32 +08:00
parent 09330a7431
commit c0cfdbafd9
22 changed files with 1584 additions and 513 deletions

View File

@@ -78,6 +78,7 @@ public class DocInfoSyncService {
docInfo.setDocTitle(tornaDocInfoDTO.getName());
docInfo.setDocCode("");
if (YesOrNo.yes(tornaDocInfoDTO.getIsFolder())) {
docInfo.setIsPublish(YesOrNo.YES);
docInfo.setDocName(tornaDocInfoDTO.getName());
}
docInfo.setDocId(tornaDocInfoDTO.getId());

View File

@@ -25,7 +25,7 @@ public class TornaDocInfoViewDTO {
private String description;
/**
* 0:http,1:dubbo
* 0:http,1:dubbo,2:富文本,3:Markdown
*/
private Byte type;

View File

@@ -169,7 +169,7 @@ public class TornaDocInfoViewVO {
private List<TornaDocInfoViewVO> children = Collections.emptyList();
public String getDocName() {
return name;
return url;
}
public String getDocTitle() {