回复问题

dev_local_scyd
daiao 5 years ago
parent a4c4d6857f
commit 592bf629a5

@ -1,7 +1,7 @@
json.partial! "commons/success"
json.data do
json.id @reply.id
json.content content_safe(@reply.content)
json.content content_safe(@reply.message_detail&.content)
json.author do
json.partial! "users/user_simple", user: @reply.author
end

@ -1,4 +1,4 @@
json.status 0
json.message "success"
json.id @message.id
json.content content_safe(@message.content)
json.content content_safe(@message.message_detail&.content)
Loading…
Cancel
Save