fix(shop): 修复多规格SKU会员价保存失败问题

- 后端 ShopGoodsSku 实体类添加 buyingPrice 字段,解决数据丢失
- 前端接口定义增加 buyingPrice,保证数据完整同步
- mp-java 后端模块同步添加 buyingPrice 字段实现数据一致
- 需手动执行 SQL 新增数据库表 shop_goods_sku 的 buying_price 列
This commit is contained in:
2026-08-11 10:55:51 +08:00
parent 706db16337
commit 9de1df84ca
2 changed files with 10 additions and 0 deletions
+2
View File
@@ -18,6 +18,8 @@ export interface ShopGoodsSku {
salePrice?: string;
// 成本价
cost?: string;
// 会员价
buyingPrice?: string;
// 库存
stock?: number;
// sku编码