From 113d6458dc1c5a6e68be4b8857aba0389edbc9f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 3 Dec 2020 14:24:56 +0800 Subject: [PATCH] aa --- business/jxstore/tempop/tempop.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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