Merge branch 'develop' into standalone_develop

This commit is contained in:
2022-05-18 11:03:47 +08:00

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?
# 组织