aa
This commit is contained in:
@@ -154,11 +154,11 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
|
||||
if storeDetail.IDCardFront != "" {
|
||||
data2, _, _ := jxutils.DownloadFileByURL(storeDetail.IDCardFront)
|
||||
fileName := storeDetail.IDCardFront[strings.LastIndex(storeDetail.IDCardFront, "/")+1 : len(storeDetail.IDCardFront)]
|
||||
url3, _ = api.JdShop2API.UploadImageNew(data2, fileName)
|
||||
url3, _ = api.JdShopAPI.UploadImageNew(data2, fileName)
|
||||
} else {
|
||||
data2, _, _ := jxutils.DownloadFileByURL("http://image.jxc4.com/image/a9bfc170a950ab9a4c76bd10b48b222b.tem.jpg")
|
||||
fileName := "a9bfc170a950ab9a4c76bd10b48b222b.tem.jpg"
|
||||
url3, _ = api.JdShop2API.UploadImageNew(data2, fileName)
|
||||
url3, _ = api.JdShopAPI.UploadImageNew(data2, fileName)
|
||||
}
|
||||
if storeDetail.IDCode == "" {
|
||||
idCode = "610126198012230014"
|
||||
|
||||
Reference in New Issue
Block a user