This commit is contained in:
呱呱呱 2025-11-14 10:34:05 +08:00
parent 52d40e477e
commit 0614692196
1 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,7 @@ module HuaweiCloud
end
def issue_status(task_id,body)
url = "ttps://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-status"
url = "https://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-status"
body["taskId"] = task_id
resp = RestClient.post(url, body.to_json, @headers)
JSON.parse(resp.body)
@ -121,7 +121,7 @@ module HuaweiCloud
end
def issue_list_by_filter(task_id,body)
url = "ttps://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-list-by-filter"
url = "https://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-list-by-filter"
body["taskId"] = task_id
resp = RestClient.post(url, body.to_json, @headers)
JSON.parse(resp.body)
@ -131,7 +131,7 @@ module HuaweiCloud
end
def issue_filter(task_id,body)
url = "ttps://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-filter"
url = "https://codecheck-ext.#{@region}.myhuaweicloud.com/v1/defect/issue-filter"
body["taskId"] = task_id
resp = RestClient.post(url, body.to_json, @headers)
JSON.parse(resp.body)