|
|
@ -68,8 +68,9 @@ class GitsController < ApplicationController
|
|
|
|
end
|
|
|
|
end
|
|
|
|
else
|
|
|
|
else
|
|
|
|
uid_logger_error("shixun is not exist")
|
|
|
|
uid_logger_error("shixun is not exist")
|
|
|
|
# result = false
|
|
|
|
# 找TPI的版本库是不是自己
|
|
|
|
result = true # 为了测试跳出
|
|
|
|
myshixun = Myshixun.find_by(repo_name: repo_name)
|
|
|
|
|
|
|
|
result = (myshixun.present? && system_user&.id == myshixun.user_id ? true : false)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|