chuangjian

This commit is contained in:
苏尹岚
2020-11-26 11:41:15 +08:00
parent 6835d01ee1
commit 8e4e1e8a4c

View File

@@ -689,20 +689,28 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
}
name := filterSensitiveWord(storeSku.Name)
wareSaveParam = &jdshopapi.WareSaveParam{
Title: name,
CategoryID: int(storeSku.VendorVendorCatID),
VenderID: jdshopapi.VendorID2,
Length: 200,
Wide: 200,
Height: 100,
Weight: "1",
BrandID: jdshopapi.BrandIdNO,
WareStatus: 8, //上架待审核
ShopCategorys: []int{vendorCatID},
PromiseID: 0,
MultiCateProps: []interface{}{},
PropsSet: []interface{}{},
SaleAttrs: []interface{}{},
WareID: 0,
Title: name,
CategoryID: int(storeSku.VendorVendorCatID),
LastCategoryID: int(storeSku.VendorVendorCatID),
VenderID: jdshopapi.VendorID2,
Length: 200,
Wide: 200,
Height: 100,
Weight: "1",
BrandID: jdshopapi.BrandIdNO,
WareStatus: 8, //上架待审核,没用,建好了都要再上架一次
ShopCategorys: []int{vendorCatID},
PromiseID: 0,
MultiCateProps: []interface{}{},
PropsSet: []interface{}{},
SaleAttrs: []interface{}{},
TransparentImageAudit: []interface{}{},
OptionType: 1,
AvailableFeatures: []interface{}{},
CharacteristicService: []interface{}{},
ExtendFeatures: []interface{}{},
TempID: "10569615110055200", //必须要这个东西,不知道是啥
}
createSkuParamWare = &jdshopapi.CreateSkuParamWare{
Title: name,