bug--修复首页虚拟销量和相关产品枚举处理

This commit is contained in:
taochengbo
2020-11-02 23:28:46 +08:00
parent cdd541a576
commit e3bb9f434d
6 changed files with 61 additions and 36 deletions

View File

@ -0,0 +1,24 @@
package co.yixiang.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* @author hupeng
* 产品类型枚举
*/
@Getter
@AllArgsConstructor
public enum ProductTypeEnum {
PINK("pink","拼团"),
SECKILL("seckill","秒杀"),
COMBINATION("combination","拼团产品");
private String value;
private String desc;
}