Merge branch 'develop' into standalone_develop

This commit is contained in:
yystopf 2022-05-18 11:03:47 +08:00
commit 6dc2f0b062
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ class OwnersController < ApplicationController
end
def show
return render_not_found unless @user.present?
@owner = Owner.find_by(login: params[:id]) || Owner.find_by(id: params[:id])
return render_ok(type: 'User') unless @owner.present?
# 组织