Commit 37cea01a authored by liugaoling's avatar liugaoling

update authUrl

parent b30ae2b3
......@@ -66,7 +66,7 @@ func HttpLogin(username string, password string) (bool, error) {
func HttpAuth(authReqInfo authz.AuthRequestInfo) bool {
client := &http.Client{}
authUrl := "http://47.75.104.171/c3ce/dockerimage/authorization"
authUrl := "https://www.cloudam.cn/c3ce/dockerimage/authorization"
bytesData, _ := json.Marshal(authReqInfo)
fmt.Println(string(bytesData))
req, _ := http.NewRequest("POST", authUrl, bytes.NewReader(bytesData))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment