Merge pull request 'page_migrate增加返回值' (#106) from KingChan/forgeplus:chenjing into standalone_develop

This commit is contained in:
KingChan 2023-08-17 14:15:18 +08:00
commit 7e7b8407f2
1 changed files with 4 additions and 1 deletions

View File

@ -127,7 +127,10 @@ class ProjectsController < ApplicationController
page = Page.new page_site_params
page.user = current_user
page.project = @project
page.save
end
if page.save
render json: page
end
rescue Exception => e
uid_logger_error(e.message)