feat: http 仓库添加时增加授信操作

This commit is contained in:
ssongliu
2022-10-10 16:47:05 +08:00
committed by ssongliu
parent 2cb1b57069
commit f98f9a5872
14 changed files with 140 additions and 61 deletions

View File

@@ -94,7 +94,7 @@ func (b *BaseApi) UpdateRepo(c *gin.Context) {
upMap := make(map[string]interface{})
upMap["download_url"] = req.DownloadUrl
upMap["repo_name"] = req.RepoName
upMap["protocol"] = req.Protocol
upMap["username"] = req.Username
upMap["password"] = req.Password
upMap["auth"] = req.Auth