Browse Source

更新

master
huangjiajun 2 months ago
parent
commit
9db6b6eaa3
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      app/md/medium.go
  2. +1
    -0
      app/svc/svc_medium.go

+ 1
- 0
app/md/medium.go View File

@@ -21,4 +21,5 @@ type MediumListData struct {
LegalRepresentative string `json:"legal_representative" example:"法定代表人"` LegalRepresentative string `json:"legal_representative" example:"法定代表人"`
Account string `json:"account" example:"媒体账号"` Account string `json:"account" example:"媒体账号"`
BusinessLicenseAddress string `json:"business_license_address" example:"营业执照地址"` BusinessLicenseAddress string `json:"business_license_address" example:"营业执照地址"`
BusinessLicenseImg string `json:"business_license_img" example:"营业执照"`
} }

+ 1
- 0
app/svc/svc_medium.go View File

@@ -39,6 +39,7 @@ func MediumList(c *gin.Context) {
Memo: v.MediumList.Memo, Memo: v.MediumList.Memo,
LegalRepresentative: v.MediumList.LegalRepresentative, LegalRepresentative: v.MediumList.LegalRepresentative,
BusinessLicenseAddress: v.MediumList.BusinessLicenseAddress, BusinessLicenseAddress: v.MediumList.BusinessLicenseAddress,
BusinessLicenseImg: v.MediumList.BusinessLicenseImgUrl,
} }
medium := NewMediumDb.GetSuperAdmin(v.AgentWithMedium.MediumId) medium := NewMediumDb.GetSuperAdmin(v.AgentWithMedium.MediumId)
if medium != nil { if medium != nil {


Loading…
Cancel
Save