This commit is contained in:
邹宗楠
2025-04-28 11:38:13 +08:00
parent 40e8c79ff1
commit ed5e52628a
2 changed files with 12 additions and 12 deletions

View File

@@ -649,10 +649,9 @@ func BatchInitSkuMT2TT(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, fromS
}
// 是否支持七天无理由
if toApi.GetProductUpdateRule(param.CategoryLeafId) {
param.Supply7dayReturn = 1
} else {
param.Supply7dayReturn = 0
isAfterSale, rule := toApi.GetProductUpdateRule(param.CategoryLeafId)
if isAfterSale {
param.AfterSaleService = map[string]string{"supply_day_return_selector": fmt.Sprintf("%s", rule)}
}
// weight_unit 目前抖音只支持g和kg两种