This commit is contained in:
clunt 2024-07-04 19:00:01 +08:00
parent e4ccc9a3df
commit c922476602
6 changed files with 10 additions and 5 deletions

View File

@ -52,7 +52,7 @@
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">图:</label> <label class="col-sm-3 control-label">头图:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="headUrl" type="text" hidden> <input name="headUrl" type="text" hidden>
<div class="file-loading"> <div class="file-loading">

View File

@ -117,9 +117,9 @@
}, },
{ {
field: 'headUrl', field: 'headUrl',
title: '头图', title: '头图',
formatter: function(value) { formatter: function(value) {
if (value != null && value !== ''){return '<a target="_blank" href="' + value+ '" download="false"><a/>';} if (value != null && value !== ''){return '<a target="_blank" href="' + value+ '" download="false">头图<a/>';}
else {return '<a><a/>'} else {return '<a><a/>'}
} }
}, },
@ -127,6 +127,10 @@
field: 'detailTag', field: 'detailTag',
title: '文章标签' title: '文章标签'
}, },
{
field: 'createTime',
title: '发布时间'
},
{ {
field: 'remark', field: 'remark',
title: '备注', title: '备注',

View File

@ -39,7 +39,7 @@
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">图:</label> <label class="col-sm-3 control-label">头图:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="headUrl" th:field="*{headUrl}" type="text" hidden="hidden"> <input name="headUrl" th:field="*{headUrl}" type="text" hidden="hidden">
<div class="file-loading"> <div class="file-loading">

View File

@ -74,7 +74,7 @@ public class PlayletPublicDetail extends BaseEntity
@ApiModelProperty(value = "图片") @ApiModelProperty(value = "图片")
private String imgUrl; private String imgUrl;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private String headUrl; private String headUrl;
@ApiModelProperty(value = "精选文章 01.普通 02.精选") @ApiModelProperty(value = "精选文章 01.普通 02.精选")

View File

@ -39,6 +39,7 @@
and remark is null and remark is null
</if> </if>
</where> </where>
order by create_time desc
</select> </select>
<select id="selectPublicDetailCommentById" parameterType="Long" resultMap="PublicDetailCommentResult"> <select id="selectPublicDetailCommentById" parameterType="Long" resultMap="PublicDetailCommentResult">

0
run.sh Normal file → Executable file
View File