Commit 369a6dea authored by Administrator's avatar Administrator

Update utils.go

parent c71c12f4
...@@ -38,7 +38,7 @@ func ArrayContains(array []string, key string) bool { ...@@ -38,7 +38,7 @@ func ArrayContains(array []string, key string) bool {
func HttpLogin(username string, password string) (bool, error) { func HttpLogin(username string, password string) (bool, error) {
client := &http.Client{} client := &http.Client{}
loginUrl := "https://www.cloudam.cn/uaa/oauth/token?scope=ui&grant_type=password&username=" + username + "&password=" + password loginUrl := "https://www.bkunyun.com/uaa/oauth/token?scope=ui&grant_type=password&username=" + username + "&password=" + password
req, err := http.NewRequest("POST", loginUrl, nil) req, err := http.NewRequest("POST", loginUrl, nil)
......
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