This commit is contained in:
Liang Ding 2023-05-05 23:28:50 +08:00
parent a219cf52f5
commit 2d559a943d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 49 additions and 6 deletions

View file

@ -36,8 +36,9 @@ func getBazaarPackageREAME(c *gin.Context) {
repoURL := arg["repoURL"].(string)
repoHash := arg["repoHash"].(string)
packageType := arg["packageType"].(string)
ret.Data = map[string]interface{}{
"html": model.GetPackageREADME(repoURL, repoHash),
"html": model.GetPackageREADME(repoURL, repoHash, packageType),
}
}