feat : sts

This commit is contained in:
2025-05-16 10:46:20 +08:00
parent 4c16e25a46
commit f259a8a3cc

View File

@@ -153,7 +153,7 @@ class OptionalListService extends BaseService
'category_name' => $this->configCache->getConfigValueByKey(ConfigCode::ONE_CLICK_SHOPPING_FOR_CATEGORY_NAME), 'category_name' => $this->configCache->getConfigValueByKey(ConfigCode::ONE_CLICK_SHOPPING_FOR_CATEGORY_NAME),
'category_image' => $this->getOssObjectById((int)$this->configCache->getConfigValueByKey(ConfigCode::ONE_CLICK_SHOPPING_FOR_CATEGORY_IMAGE)), 'category_image' => $this->getOssObjectById((int)$this->configCache->getConfigValueByKey(ConfigCode::ONE_CLICK_SHOPPING_FOR_CATEGORY_IMAGE)),
'category_type' => GoodCode::SPU_TYPE_PURCHASE, 'category_type' => GoodCode::SPU_TYPE_PURCHASE,
'category_id' => CategoryCode::, 'category_id' => CategoryCode::PURCHASE,
'spu_list' => $purchaseData 'spu_list' => $purchaseData
]); ]);
} }
@@ -167,7 +167,7 @@ class OptionalListService extends BaseService
'category_name' => $this->configCache->getConfigValueByKey(ConfigCode::SPECIALS_CATEGORY_NAME), 'category_name' => $this->configCache->getConfigValueByKey(ConfigCode::SPECIALS_CATEGORY_NAME),
'category_image' => $this->configCache->getConfigValueByKey(ConfigCode::SPECIALS_CATEGORY_IMAGE), 'category_image' => $this->configCache->getConfigValueByKey(ConfigCode::SPECIALS_CATEGORY_IMAGE),
'category_type' => GoodCode::SPU_TYPE_FAVORABLE, 'category_type' => GoodCode::SPU_TYPE_FAVORABLE,
'category_id' => 99, 'category_id' => CategoryCode::SECKILL,
'spu_list' => $favorable 'spu_list' => $favorable
]); ]);
} }