feat : sts

This commit is contained in:
2025-05-16 10:45:48 +08:00
parent 6d35fec834
commit 4c16e25a46
2 changed files with 11 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ use App\Cache\Redis\Api\ApiRedisKey;
use App\Cache\Redis\Api\GoodCache;
use App\Cache\Redis\Api\SiteCache;
use App\Cache\Redis\RedisCache;
use App\Constants\Common\CategoryCode;
use App\Constants\Common\GoodCode;
use App\Constants\ConfigCode;
use App\Exception\ErrException;
@@ -152,7 +153,7 @@ class OptionalListService extends BaseService
'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_type' => GoodCode::SPU_TYPE_PURCHASE,
'category_id' => 99,
'category_id' => CategoryCode::,
'spu_list' => $purchaseData
]);
}