【新增】教程增加知识库地址
This commit is contained in:
@@ -37,6 +37,11 @@ public class Tutorial implements Serializable {
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 知识库地址
|
||||
*/
|
||||
private String knowledgeUrl;
|
||||
|
||||
/**
|
||||
* 查看次数
|
||||
*/
|
||||
|
||||
@@ -25,6 +25,11 @@ public class TutorialVO {
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 知识库地址
|
||||
*/
|
||||
private String knowledgeUrl;
|
||||
|
||||
/**
|
||||
* 查看次数
|
||||
*/
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<result column="recommend_status" property="recommendStatus"/>
|
||||
<result column="status" property="status"/>
|
||||
<result column="lang" property="lang"/>
|
||||
<result column="knowledge_url" property="knowledgeUrl"/>
|
||||
<result column="category_title" property="categoryTitle"/>
|
||||
<result column="category_id" property="categoryId"/>
|
||||
<result column="create_time" property="createTime"/>
|
||||
|
||||
@@ -440,6 +440,13 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label">知识库</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" v-model="addOrEditDto.knowledgeUrl"
|
||||
placeholder="请输入知识库地址(优先级最高)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label">是否推荐</label>
|
||||
<div class="col-sm-10">
|
||||
@@ -520,6 +527,7 @@
|
||||
recommendStatus: 1,
|
||||
lang: 'zh',
|
||||
categoryId: 0,
|
||||
knowledgeUrl: null,
|
||||
},
|
||||
// 教程分类
|
||||
categoryTableData: [], // 表格数据源
|
||||
|
||||
Reference in New Issue
Block a user