This commit is contained in:
邹宗楠
2025-05-07 11:54:16 +08:00
parent a747df1357
commit 2c3b478b94
2 changed files with 20 additions and 0 deletions

View File

@@ -120,6 +120,16 @@ func (a *API) GetCatePropertyV2(categoryLeftId int64) (*product_getCatePropertyV
// CreateStoreCommodity (新增总部商品)
func (a *API) CreateStoreCommodity(skuParam *product_addV2_request.ProductAddV2Param) (*product_addV2_response.ProductAddV2Data, error) {
skuParam.AfterSaleServiceV2 = &product_addV2_request.AfterSaleServiceV2{
ThreeGuarantees: struct {
Duration int64 `json:"duration"`
ServiceType int64 `json:"service_type"`
}{
Duration: 7,
ServiceType: 1,
},
IsLargeProduct: 0,
}
qualityList := make([]product_addV2_request.QualityListItem, 0, 0)
switch a.accessTokenObj.ShopId {
case TiktokFloderKeyVegetableKey: // 京西速食