8.14
This commit is contained in:
parent
c93be562ea
commit
bdc6e97379
@ -27,6 +27,8 @@ public class NewTreeSelect{
|
||||
|
||||
/** 栏目模板 */
|
||||
private String temp;
|
||||
/** 图标 */
|
||||
private String iconUrl;
|
||||
|
||||
/** 子节点 */
|
||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||
@ -43,6 +45,7 @@ public class NewTreeSelect{
|
||||
this.label = category.getCategoryName();
|
||||
this.jumpUrl = category.getCategoryUrl();
|
||||
this.temp = category.getTemp();
|
||||
this.iconUrl = category.getIconUrl();
|
||||
this.children = category.getChildren().stream().map(NewTreeSelect::new).collect(Collectors.toList());
|
||||
}
|
||||
}
|
||||
|
@ -49,6 +49,9 @@ public class CmsCategory extends BaseEntity
|
||||
/** 是否显示(0:显示,1:不显示,默认0) */
|
||||
@Excel(name = "是否显示(0:显示,1:不显示,默认0)")
|
||||
private String isDisable;
|
||||
/** 栏目名称 */
|
||||
@Excel(name = "图标")
|
||||
private String iconUrl;
|
||||
|
||||
/** 逻辑删除0未删除1真删除 */
|
||||
private Integer delFlag;
|
||||
|
@ -16,7 +16,7 @@ ruoyi:
|
||||
# 开发环境配置
|
||||
server:
|
||||
# 服务器的HTTP端口,默认为8080
|
||||
port: 8080
|
||||
port: 8089
|
||||
servlet:
|
||||
# 应用的访问路径
|
||||
context-path: /
|
||||
|
@ -18,10 +18,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="iconUrl" column="icon_url" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectCmsCategoryVo">
|
||||
select id, category_name, category_sort, category_url, parent_id, temp, is_disable, remark, del_flag, create_time, create_by, update_time, update_by from cms_category
|
||||
select id, category_name, category_sort, category_url, parent_id, temp, is_disable, remark, del_flag, create_time, create_by, update_time, update_by, icon_url from cms_category
|
||||
</sql>
|
||||
|
||||
<select id="selectCmsCategoryList" parameterType="CmsCategory" resultMap="CmsCategoryResult">
|
||||
@ -59,6 +60,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="iconUrl != null">icon_url,</if>
|
||||
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
@ -74,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="iconUrl != null">#{iconUrl},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@ -92,6 +96,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="iconUrl != null">icon_url = #{iconUrl},</if>
|
||||
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
@ -16,7 +16,7 @@ ruoyi:
|
||||
# 开发环境配置
|
||||
server:
|
||||
# 服务器的HTTP端口,默认为8080
|
||||
port: 8080
|
||||
port: 8089
|
||||
servlet:
|
||||
# 应用的访问路径
|
||||
context-path: /
|
||||
@ -95,7 +95,9 @@ token:
|
||||
# 令牌密钥
|
||||
secret: abcdefghijklmnopqrstuvwxyz
|
||||
# 令牌有效期(默认30分钟)
|
||||
expireTime: 30
|
||||
expireTime: 999999999
|
||||
|
||||
|
||||
|
||||
## MyBatis配置
|
||||
#mybatis:
|
||||
|
@ -18,10 +18,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="iconUrl" column="icon_url" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectCmsCategoryVo">
|
||||
select id, category_name, category_sort, category_url, parent_id, temp, is_disable, remark, del_flag, create_time, create_by, update_time, update_by from cms_category
|
||||
select id, category_name, category_sort, category_url, parent_id, temp, is_disable, remark, del_flag, create_time, create_by, update_time, update_by, icon_url from cms_category
|
||||
</sql>
|
||||
|
||||
<select id="selectCmsCategoryList" parameterType="CmsCategory" resultMap="CmsCategoryResult">
|
||||
@ -59,6 +60,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="iconUrl != null">icon_url,</if>
|
||||
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
@ -74,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="iconUrl != null">#{iconUrl},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@ -92,6 +96,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="iconUrl != null">icon_url = #{iconUrl},</if>
|
||||
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
@ -17,6 +17,7 @@
|
||||
<result property="author" column="author"/>
|
||||
<result property="editor" column="editor"/>
|
||||
<result property="summary" column="summary"/>
|
||||
<result property="tagName" column="tag_name"/>
|
||||
<result property="status" column="status"/>
|
||||
<result property="publishDate" column="publish_date"/>
|
||||
<result property="offlineDate" column="offline_date"/>
|
||||
@ -53,6 +54,7 @@
|
||||
author,
|
||||
editor,
|
||||
summary,
|
||||
tag_name,
|
||||
status,
|
||||
publish_date,
|
||||
offline_date,
|
||||
@ -111,6 +113,7 @@
|
||||
content_img,
|
||||
source,
|
||||
source_url,
|
||||
tag_name,
|
||||
original,
|
||||
author,
|
||||
editor,
|
||||
@ -170,6 +173,7 @@
|
||||
<if test="original != null and original != ''">original,</if>
|
||||
<if test="author != null and author != ''">author,</if>
|
||||
<if test="editor != null and editor != ''">editor,</if>
|
||||
<if test="tagName != null and tagName != ''">tag_name,</if>
|
||||
<if test="summary != null and summary != ''">summary,</if>
|
||||
<if test="status != null and status != ''">status,</if>
|
||||
<if test="publishDate != null">publish_date,</if>
|
||||
@ -199,6 +203,7 @@
|
||||
<if test="original != null and original != ''">#{original},</if>
|
||||
<if test="author != null and author != ''">#{author},</if>
|
||||
<if test="editor != null and editor != ''">#{editor},</if>
|
||||
<if test="tagName != null and tagName != ''">#{tagName},</if>
|
||||
<if test="summary != null and summary != ''">#{summary},</if>
|
||||
<if test="status != null and status != ''">#{status},</if>
|
||||
<if test="publishDate != null">#{publishDate},</if>
|
||||
@ -236,6 +241,7 @@
|
||||
source_url = #{sourceUrl},
|
||||
original = #{original},
|
||||
author = #{author},
|
||||
tag_name = #{tagName},
|
||||
editor = #{editor},
|
||||
summary = #{summary},
|
||||
status = #{status},
|
||||
|
@ -4,6 +4,6 @@ VUE_APP_TITLE = 虚拟仿真实验教学中心
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
# 若依管理系统/开发环境
|
||||
VUE_APP_BASE_API = 'https://f382b38516.zicp.fun'
|
||||
VUE_APP_BASE_API = 'http://192.168.31.72:8089'
|
||||
# 路由懒加载
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
|
Loading…
Reference in New Issue
Block a user