mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-05-12 23:12:54 +00:00
@@ -101,7 +101,7 @@ public class AppProductSpuController {
|
|||||||
throw exception(SPU_NOT_EXISTS);
|
throw exception(SPU_NOT_EXISTS);
|
||||||
}
|
}
|
||||||
if (!ProductSpuStatusEnum.isEnable(spu.getStatus())) {
|
if (!ProductSpuStatusEnum.isEnable(spu.getStatus())) {
|
||||||
throw exception(SPU_NOT_ENABLE);
|
throw exception(SPU_NOT_ENABLE, spu.getName());
|
||||||
}
|
}
|
||||||
// 获得商品 SKU
|
// 获得商品 SKU
|
||||||
List<ProductSkuDO> skus = productSkuService.getSkuListBySpuId(spu.getId());
|
List<ProductSkuDO> skus = productSkuService.getSkuListBySpuId(spu.getId());
|
||||||
|
|||||||
Reference in New Issue
Block a user