1
This commit is contained in:
@@ -193,9 +193,6 @@ func (p *PurchaseHandler) getOrder(vendorOrgCode, vendorOrderID, vendorStoreID s
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 用户保密信息脱敏
|
// 用户保密信息脱敏
|
||||||
// ConsigneeName: result.MaskPostReceiver,
|
|
||||||
// ConsigneeMobile: result.MaskPostTel,
|
|
||||||
// ConsigneeAddress: result.MaskPostAddr.Detail,
|
|
||||||
name, tel, address, _ := api.OrderUserInfoDecrypt(vendorOrderID, result.EncryptPostReceiver, result.EncryptPostTel, result.PostAddr.EncryptDetail)
|
name, tel, address, _ := api.OrderUserInfoDecrypt(vendorOrderID, result.EncryptPostReceiver, result.EncryptPostTel, result.PostAddr.EncryptDetail)
|
||||||
order.ConsigneeName = name
|
order.ConsigneeName = name
|
||||||
order.ConsigneeMobile = tel
|
order.ConsigneeMobile = tel
|
||||||
|
|||||||
@@ -294,11 +294,15 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
|||||||
}
|
}
|
||||||
param.Pic = img
|
param.Pic = img
|
||||||
// 商品详情图
|
// 商品详情图
|
||||||
img2, err := GetTiktokImgList(utils.Int2Str(storeSku.StoreID), storeDetail.VendorOrgCode, storeSku.DescImg)
|
if storeSku.DescImg == "" {
|
||||||
if err != nil {
|
param.Description = img
|
||||||
return nil, err
|
} else {
|
||||||
|
img2, err := GetTiktokImgList(utils.Int2Str(storeSku.StoreID), storeDetail.VendorOrgCode, storeSku.DescImg)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
param.Description = img2
|
||||||
}
|
}
|
||||||
param.Description = img2
|
|
||||||
|
|
||||||
// weight_unit 目前抖音只支持g和kg两种
|
// weight_unit 目前抖音只支持g和kg两种
|
||||||
switch storeSku.Unit {
|
switch storeSku.Unit {
|
||||||
|
|||||||
Reference in New Issue
Block a user