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 {