Commit 5d3142e4 by renyizhao

动态规格(未完成)

parent ccbdbc30
......@@ -26,6 +26,9 @@ export interface ResourceSpu {
sliderPicUrls?: string; // 商品轮播图地址,以逗号分隔,最多15张
sales?: number; // 商品销量
status?: number; // 状态(0 下架,1 上架,2 回收)
specConfigIds?: number[]; // 规格配置项 ID 列表(关联 compute_resource_config.id)
specMap?: Record<string, string>; // 规格展示 Map(key=configCategory, value=configOption)
specConfigIdsByCategory: Record<string, number[]>; // 前端辅助字段:按 configCategory 分组的多选绑定(提交时扁平化为 specConfigIds)
}
// 算力资源SPU表(基础配置信息) API
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment