京东商城建商品
This commit is contained in:
@@ -403,7 +403,7 @@ func GetStoreSkus2(db *DaoDB, vendorID, storeID int, skuIDs []int, mustDirty boo
|
||||
t3.id name_id, t3.prefix, t3.name, t3.unit, t3.upc, t3.status name_status, t3.ex_prefix, t3.ex_prefix_begin, t3.ex_prefix_end, t3.category_id name_category_id, t3.yb_name_suffix,
|
||||
IF(t11.%s <> '', t11.%s, t3.img) img,
|
||||
IF(t12.%s <> '', t12.%s, t3.img2) img2,
|
||||
t13.%s desc_img,
|
||||
IF(t13.%s <> '', t13.%s, t3.desc_img) desc_img,
|
||||
t4.%s_category_id vendor_vendor_cat_id,
|
||||
ts.name store_name`
|
||||
fmtParams := []interface{}{
|
||||
|
||||
@@ -312,7 +312,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
|
||||
JdPrice: int(storeSku.UnitPrice) / 100,
|
||||
MarketPrice: int(storeSku.UnitPrice) / 100,
|
||||
}
|
||||
desc = "<img src=\"" + jdshopapi.JdsImgURL + storeSku.DescImg + "\" style=\"width: auto; height: auto; max-width: 100%;\">"
|
||||
desc = "<img src=\"" + jdshopapi.JdsImgURL + "jfs/t1/123931/34/1429/184963/5ebb9b63E45411990/f2030df3fab57928.jpg" + "\" style=\"width: auto; height: auto; max-width: 100%;\">"
|
||||
createSkuParamWare.MobileDesc = desc
|
||||
createSkuParamWare.Introduction = desc
|
||||
//上传京东图片 start
|
||||
|
||||
Reference in New Issue
Block a user