From 7c61eb220a99744c93a62f7705943e8dae56037a Mon Sep 17 00:00:00 2001 From: devad Date: Sat, 7 Oct 2023 09:24:04 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=9B=A0grampus.openi.org.cn?= =?UTF-8?q?=E8=AF=81=E4=B9=A6=E8=BF=87=E6=9C=9F,https=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E4=B8=BAhttp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: devad Former-commit-id: 6ba1ceae48f0fda9e4ef290ae7716830f502e5b8 --- api/internal/logic/core/jobtotallogic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/internal/logic/core/jobtotallogic.go b/api/internal/logic/core/jobtotallogic.go index a9e89a7e..c8f62259 100644 --- a/api/internal/logic/core/jobtotallogic.go +++ b/api/internal/logic/core/jobtotallogic.go @@ -43,7 +43,7 @@ func NewJobTotalLogic(ctx context.Context, svcCtx *svc.ServiceContext) *JobTotal func (l *JobTotalLogic) JobTotal() (resp *types.JobTotalResp, err error) { // 获取任务时间信息 resp = &types.JobTotalResp{} - bytes, err := httputils.HttpGet("GET", "https://grampus.openi.org.cn/openapi/v1/sharescreen/computepower/alljobinfo") + bytes, err := httputils.HttpGet("GET", "http://grampus.openi.org.cn/openapi/v1/sharescreen/computepower/alljobinfo") if err != nil { return nil, err } @@ -51,7 +51,7 @@ func (l *JobTotalLogic) JobTotal() (resp *types.JobTotalResp, err error) { // 获取其他任务信息 jobs := &Job{} - jobBytes, err := httputils.HttpGet("GET", "https://grampus.openi.org.cn/openapi/v1/sharescreen/trainjob?pageIndex=1&pageSize=10") + jobBytes, err := httputils.HttpGet("GET", "http://grampus.openi.org.cn/openapi/v1/sharescreen/trainjob?pageIndex=1&pageSize=10") if err != nil { return nil, err }