ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/enums/ShopStatus.java
New file @@ -0,0 +1,18 @@ package com.ruoyi.other.enums; import lombok.Getter; @Getter public enum ShopStatus { SHOP_STATUS_NORMAL(1, "正常"), SHOP_STATUS_FREEZE(2, "冻结"); private final Integer code; private final String message; ShopStatus(Integer code, String message) { this.code = code; this.message = message; } }