add status for retur

This commit is contained in:
nigel007 2019-05-26 13:45:52 +08:00
parent a01fa6ab00
commit 8fe2589baa
1 changed files with 1 additions and 1 deletions
app/api/mobile/apis

View File

@ -91,7 +91,7 @@ module Mobile
if project
g = Gitlab.client # 用于通过gitlab api进行查询
diff_result = g.commit_diff(project.id, params[:oldHash])
Rails.logger.info diff_result[0].diff
{status:0, diff_result:diff_result}
else
Rails.logger.info "project not found"
end