stateOf()方法一直返回1,大家有遇到么
public static SeckillStatEnum stateOf(int index){ for (SeckillStatEnum state : values()){ if (state.getState() == index){ return state; } } return null;}
检查这个方法有没有错