diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 1cdb24ef7..04c1fa96e 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1644,7 +1644,9 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { AddName: store.Address, AddCode3: store.JdsCode, CategoryID1: 34, - QualificationRequests: []*jdshopapi.QualificationRequests{ + } + if url2 != "" { + param.QualificationRequests = []*jdshopapi.QualificationRequests{ &jdshopapi.QualificationRequests{ QualificationID: 41, QualificationName: "营业执照", @@ -1654,7 +1656,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { EndingTime: ex, Time: []string{utils.Time2Str(utils.Str2Time(store.LicenceValid)), ex}, }, - }, + } } if store.JdsStreetCode != 0 { param.AddCode3 = store.JdsStreetCode