|
@@ -4,7 +4,6 @@ import cn.newfeifan.mall.framework.common.exception.ErrorCode;
|
|
|
|
|
|
/**
|
|
/**
|
|
* Product 错误码枚举类
|
|
* Product 错误码枚举类
|
|
- *
|
|
|
|
* product 系统,使用 1-008-000-000 段
|
|
* product 系统,使用 1-008-000-000 段
|
|
*/
|
|
*/
|
|
public interface ErrorCodeConstants {
|
|
public interface ErrorCodeConstants {
|
|
@@ -52,5 +51,6 @@ public interface ErrorCodeConstants {
|
|
// ========== 商品 收藏 1-008-008-000 ==========
|
|
// ========== 商品 收藏 1-008-008-000 ==========
|
|
ErrorCode FAVORITE_EXISTS = new ErrorCode(1_008_008_000, "该商品已经被收藏");
|
|
ErrorCode FAVORITE_EXISTS = new ErrorCode(1_008_008_000, "该商品已经被收藏");
|
|
ErrorCode FAVORITE_NOT_EXISTS = new ErrorCode(1_008_008_001, "商品收藏不存在");
|
|
ErrorCode FAVORITE_NOT_EXISTS = new ErrorCode(1_008_008_001, "商品收藏不存在");
|
|
|
|
+ ErrorCode HIGH_PRECISION_PRICE_NOT_ENOUGH = new ErrorCode(1_008_008_002, "结算价不能大于成本价");
|
|
|
|
|
|
}
|
|
}
|