fix bug
This commit is contained in:
parent
e4ccc9a3df
commit
c922476602
|
|
@ -52,7 +52,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<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">
|
||||
<input name="headUrl" type="text" hidden>
|
||||
<div class="file-loading">
|
||||
|
|
|
|||
|
|
@ -117,9 +117,9 @@
|
|||
},
|
||||
{
|
||||
field: 'headUrl',
|
||||
title: '头部图',
|
||||
title: '头图',
|
||||
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/>'}
|
||||
}
|
||||
},
|
||||
|
|
@ -127,6 +127,10 @@
|
|||
field: 'detailTag',
|
||||
title: '文章标签'
|
||||
},
|
||||
{
|
||||
field: 'createTime',
|
||||
title: '发布时间'
|
||||
},
|
||||
{
|
||||
field: 'remark',
|
||||
title: '备注',
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<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">
|
||||
<input name="headUrl" th:field="*{headUrl}" type="text" hidden="hidden">
|
||||
<div class="file-loading">
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ public class PlayletPublicDetail extends BaseEntity
|
|||
@ApiModelProperty(value = "图片")
|
||||
private String imgUrl;
|
||||
|
||||
@ApiModelProperty(value = "头部图片")
|
||||
@ApiModelProperty(value = "头图")
|
||||
private String headUrl;
|
||||
|
||||
@ApiModelProperty(value = "精选文章 01.普通 02.精选")
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
and remark is null
|
||||
</if>
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectPublicDetailCommentById" parameterType="Long" resultMap="PublicDetailCommentResult">
|
||||
|
|
|
|||
Loading…
Reference in New Issue