修改查询腾讯docker镜像接口,检查最新版本的接口
This commit is contained in:
@@ -4,7 +4,7 @@ using dy.net.model.dto;
|
||||
using dy.net.model.entity;
|
||||
using dy.net.service;
|
||||
using dy.net.utils;
|
||||
using dy.sync.lib;
|
||||
using jzc.http.lib;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Newtonsoft.Json;
|
||||
@@ -406,7 +406,7 @@ namespace dy.net.Controllers
|
||||
|
||||
private static async Task<IActionResult> GetDockerTagVersions()
|
||||
{
|
||||
var data = await DouyinHttpHelper.GetTenImage(Appsettings.Get("tagName"));
|
||||
var data = await JianZhiChuHttpHelper.GetTenImage(Appsettings.Get("tagName"));
|
||||
if (data.IsSuccessStatusCode)
|
||||
{
|
||||
var content = await data.Content.ReadAsStringAsync();
|
||||
|
||||
+2
-2
@@ -104,8 +104,8 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="dy.sync.lib">
|
||||
<HintPath>lib\dy.sync.lib.dll</HintPath>
|
||||
<Reference Include="jzc.http.lib">
|
||||
<HintPath>lib\jzc.http.lib.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user