change site page response

This commit is contained in:
呱呱呱 2023-08-17 17:30:29 +08:00
parent cc6f85939c
commit bfa5c18304
2 changed files with 6 additions and 1 deletions

View File

@ -1 +0,0 @@
json.partial! 'info', locals: {page: @page}

View File

@ -0,0 +1,6 @@
json.status 0
json.message "success"
json.data {
json.partial! 'info', locals: {page: @page}
}