Merge branch 'dev_trustie' of http://gitea.trustie.net/jasder/forgeplus into dev_trustie

This commit is contained in:
Jasder 2020-05-29 17:35:13 +08:00
commit a239025a94
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ class JournalsController < ApplicationController
end
# @issue.project_trends.create(user_id: current_user.id, project_id: @project.id, action_type: "journal")
normal_status(0, "评论成功")
render :json => { status: 0, message: "评论成功", id: journal.id}
# normal_status(0, "评论成功")
else
normal_status(-1, "评论失败")
end