下载权限控制

pre_develop
jingquan huang 6 years ago
parent b426ee47a0
commit 73128415d7

@ -95,7 +95,7 @@ class GamesService
end
end
if myshixun_manager
if st == 0 && shixun.status == 2 && myshixun_manager
zip_path = Gitlab.endpoint.to_s + "/projects/" + myshixun.gpid.to_s + "/repository/archive?&private_token=" + Gitlab.private_token.to_s
container = container.merge(:zip_path => zip_path)
end

Loading…
Cancel
Save