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