游戏接口调整
This commit is contained in:
@@ -46,6 +46,7 @@ public interface GameErrorCodeConstants {
|
||||
ErrorCode GAME_USER_BEEHIVE_NOT_EXISTS = new ErrorCode(2_001_110_013, "用户蜂箱不存在");
|
||||
|
||||
ErrorCode GAME_USER_PROPS_NOT_EXISTS = new ErrorCode(2_001_110_014, "用户道具不存在");
|
||||
ErrorCode NO_HAVE_PROPS = new ErrorCode(2_001_110_014, "道具不足");
|
||||
ErrorCode NO_HAVE_PROPS = new ErrorCode(2_001_110_114, "道具不足");
|
||||
ErrorCode USE_LIMITED = new ErrorCode(2_001_110_214, "今日该道具已使用上限");
|
||||
|
||||
}
|
||||
|
@@ -11,7 +11,8 @@ import java.util.Arrays;
|
||||
public enum TaskType implements ArrayValuable<Integer> {
|
||||
LOGIN(1, "登录"),
|
||||
PURCHASE(2, "购买"),
|
||||
SHARE(3, "分享");
|
||||
SHARE(3, "分享"),
|
||||
USE_PROPS(4, "使用道具");
|
||||
|
||||
|
||||
public static final Integer[] ARRAYS = Arrays.stream(values()).map(TaskType::getType).toArray(Integer[]::new);
|
||||
|
Reference in New Issue
Block a user