👽 更改显示评论的逻辑,即评论之后需审核通过之后才能显示,并提升了用户体验。

pull/18/head
ruibaby 2018-05-23 23:39:11 +08:00
parent 1b065a4214
commit 490375eaf6
1 changed files with 3 additions and 3 deletions

View File

@ -356,9 +356,9 @@
url: '/admin/posts/new/autoPush', url: '/admin/posts/new/autoPush',
async: false, async: false,
data: { data: {
<#--<#if post??>--> <#if post??>
<#--'postId': $('#postId').val(),--> 'postId': $('#postId').val(),
<#--</#if>--> </#if>
'postStatus': 1, 'postStatus': 1,
'postTitle': Title, 'postTitle': Title,
'postUrl' : $('#postUrl').html().toString(), 'postUrl' : $('#postUrl').html().toString(),