forgeplus/app/views/issues/copy.json.jbuilder

8 lines
146 B
Plaintext
Raw Normal View History

2020-03-09 00:40:16 +08:00
if @status > 0
json.status 0
json.message "复制成功"
json.issue_id @new_issue.id
else
json.status -1
json.message "复制失败"
end