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,