mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-25 00:15:06 +08:00
mall:价格计算的 API 简单实现
This commit is contained in:
@ -1,23 +1,23 @@
|
||||
package cn.iocoder.yudao.module.trade.enums.enums;
|
||||
package cn.iocoder.yudao.module.trade.enums;
|
||||
|
||||
import cn.iocoder.yudao.framework.common.exception.ErrorCode;
|
||||
|
||||
/**
|
||||
* Trade-Order 错误码 Core 枚举类
|
||||
* <p>
|
||||
* Trade-Order 系统,使用 1-011-000-000 段
|
||||
* 交易 错误码枚举类
|
||||
* 交易系统,使用 1-011-000-000 段
|
||||
*
|
||||
* @author LeeYan9
|
||||
* @since 2022-08-26
|
||||
*/
|
||||
public interface ErrorCodeConstants {
|
||||
|
||||
/**
|
||||
* ========== Order 模块 1-011-000-000 ==========
|
||||
*/
|
||||
// ========== Order 模块 1-011-000-000 ==========
|
||||
ErrorCode ORDER_SKU_NOT_FOUND = new ErrorCode(1011000001, "商品不存在");
|
||||
ErrorCode ORDER_SPU_NOT_SALE = new ErrorCode(1011000002, "商品不可售卖");
|
||||
ErrorCode ORDER_SKU_NOT_SALE = new ErrorCode(1011000003, "商品Sku不可售卖");
|
||||
ErrorCode ORDER_SKU_STOCK_NOT_ENOUGH = new ErrorCode(1011000004, "商品库存不足");
|
||||
|
||||
// ========== Cart 模块 1-011-001-000 ==========
|
||||
ErrorCode CARD_ITEM_NOT_FOUND = new ErrorCode(1001001000, "购物车项不存在");
|
||||
|
||||
}
|
Reference in New Issue
Block a user