diff --git a/Bootstrap.Admin/Controllers/Api/GiteeController.cs b/Bootstrap.Admin/Controllers/Api/GiteeController.cs
index f1b027dd..65678864 100644
--- a/Bootstrap.Admin/Controllers/Api/GiteeController.cs
+++ b/Bootstrap.Admin/Controllers/Api/GiteeController.cs
@@ -77,13 +77,14 @@ namespace Bootstrap.Admin.Controllers.Api
///
///
///
+ ///
///
///
///
- public async Task Builds([FromServices]IHttpClientFactory httpClientFactory, [FromQuery]string userName = "ArgoZhang", [FromQuery]string projName = "bootstrapadmin", [FromQuery]string label = "custom badge", [FromQuery]string color = "orange")
+ public async Task Builds([FromServices]IHttpClientFactory httpClientFactory, [FromQuery]string userName = "ArgoZhang", [FromQuery]string projName = "bootstrapadmin", [FromQuery]string branchName = "master", [FromQuery]string label = "custom badge", [FromQuery]string color = "orange")
{
var client = httpClientFactory.CreateClient();
- var content = await client.GetAsJsonAsync($"https://ci.appveyor.com/api/projects/{userName}/{projName}");
+ var content = await client.GetAsJsonAsync($"https://ci.appveyor.com/api/projects/{userName}/{projName}/branch/{branchName}");
return new JsonResult(new { schemaVersion = 1, label, message = content.Build.Version, color });
}