From f323968b8c4e55ad897d17dcf9fb5b4d3b1e7f8d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 30 Oct 2024 14:50:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/svc/svc_finance_center_agent.go | 2 +- app/svc/svc_finance_center_medium.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/svc/svc_finance_center_agent.go b/app/svc/svc_finance_center_agent.go index 2c6e352..c8d20bf 100644 --- a/app/svc/svc_finance_center_agent.go +++ b/app/svc/svc_finance_center_agent.go @@ -145,7 +145,7 @@ func FinanceCenterAgentDetail(c *gin.Context, req md.CommDetailReq) md.FinanceCe if tmpAgent["account"] != "" { tmp.Account = tmpAgent["account"] } - tmp.DownUrl = "http://" + c.Request.Host + "/api/medium/settle/file/down?id=" + utils.IntToStr(data.Id) + tmp.DownUrl = "http://" + c.Request.Host + "/api/agent/settle/file/down?id=" + utils.IntToStr(data.Id) res := md.FinanceCenterDataAgentDetailRes{ Data: tmp, diff --git a/app/svc/svc_finance_center_medium.go b/app/svc/svc_finance_center_medium.go index 1fda704..904fb29 100644 --- a/app/svc/svc_finance_center_medium.go +++ b/app/svc/svc_finance_center_medium.go @@ -148,7 +148,7 @@ func FinanceCenterMediumDetail(c *gin.Context, req md.CommDetailReq) md.FinanceC if tmpMedium["account"] != "" { tmp.Account = tmpMedium["account"] } - tmp.DownUrl = "http://" + c.Request.Host + "/api/agent/settle/file/down?id=" + utils.IntToStr(data.Id) + tmp.DownUrl = "http://" + c.Request.Host + "/api/medium/settle/file/down?id=" + utils.IntToStr(data.Id) res := md.FinanceCenterDataDetailRes{ Data: tmp, InvoiceCate: md.InvoiceCate,