From 9db6b6eaa3c9ec56d26f5bd9a36ec0bfa34fc498 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 9 Oct 2024 16:21:28 +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/md/medium.go | 1 + app/svc/svc_medium.go | 1 + 2 files changed, 2 insertions(+) diff --git a/app/md/medium.go b/app/md/medium.go index 86fcc1a..d6b3b68 100644 --- a/app/md/medium.go +++ b/app/md/medium.go @@ -21,4 +21,5 @@ type MediumListData struct { LegalRepresentative string `json:"legal_representative" example:"法定代表人"` Account string `json:"account" example:"媒体账号"` BusinessLicenseAddress string `json:"business_license_address" example:"营业执照地址"` + BusinessLicenseImg string `json:"business_license_img" example:"营业执照"` } diff --git a/app/svc/svc_medium.go b/app/svc/svc_medium.go index 28e2576..b52e216 100644 --- a/app/svc/svc_medium.go +++ b/app/svc/svc_medium.go @@ -39,6 +39,7 @@ func MediumList(c *gin.Context) { Memo: v.MediumList.Memo, LegalRepresentative: v.MediumList.LegalRepresentative, BusinessLicenseAddress: v.MediumList.BusinessLicenseAddress, + BusinessLicenseImg: v.MediumList.BusinessLicenseImgUrl, } medium := NewMediumDb.GetSuperAdmin(v.AgentWithMedium.MediumId) if medium != nil {