mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-18 18:55:56 +08:00
测试gitea的git——params
This commit is contained in:
@@ -28,6 +28,7 @@ class Gitea::ClientService < ApplicationService
|
||||
end
|
||||
|
||||
def get(url, params={})
|
||||
Rails.logger.info("##########__________get_params__________########{params}")
|
||||
auth_token = authen_params(params[:token])
|
||||
conn(auth_token).get do |req|
|
||||
req.url full_url(url)
|
||||
|
||||
Reference in New Issue
Block a user