|
@@ -59,36 +59,8 @@ public class ApiCode extends AbstractApiCode {
|
|
public final static ApiCode DEVICE_ERROR = new ApiCode("没有相关deviceCode信息", _C_DEVICE_ERROR);
|
|
public final static ApiCode DEVICE_ERROR = new ApiCode("没有相关deviceCode信息", _C_DEVICE_ERROR);
|
|
public final static int _C_DATA_ERROR = 701;
|
|
public final static int _C_DATA_ERROR = 701;
|
|
public final static ApiCode DATA_ERROR = new ApiCode("数据异常", _C_DATA_ERROR);
|
|
public final static ApiCode DATA_ERROR = new ApiCode("数据异常", _C_DATA_ERROR);
|
|
-
|
|
|
|
- public final static int _C_UNIONID_ERROR = 703;
|
|
|
|
- public final static ApiCode UNIONID_ERROR = new ApiCode(" unionId为空", _C_UNIONID_ERROR);
|
|
|
|
-
|
|
|
|
- public final static int _C_AWARD_ERROR = 706;
|
|
|
|
- public final static ApiCode AWARD_ERROR = new ApiCode("自己不能打赏自己", _C_AWARD_ERROR);
|
|
|
|
-
|
|
|
|
- public final static int _C_VIDEO_ERROR = 707;
|
|
|
|
- public final static ApiCode VIDEO_ERROR = new ApiCode("视频地址错误", _C_VIDEO_ERROR);
|
|
|
|
-
|
|
|
|
- public final static int _C_BUY_TIME_ERROR = 708;
|
|
|
|
- public final static ApiCode BUY_TIME_ERROR = new ApiCode("购买时长不能超过12个月", _C_BUY_TIME_ERROR);
|
|
|
|
-
|
|
|
|
- public final static int _C_JOINED_GROUP_ERROR = 801;
|
|
|
|
- public final static ApiCode JOINED_GROUP_ERROR = new ApiCode("你已参加过当前团购", _C_JOINED_GROUP_ERROR);
|
|
|
|
-
|
|
|
|
- public final static int _C_GROUP_STATUS_ERROR = 802;
|
|
|
|
- public final static ApiCode GROUP_STATUS_ERROR = new ApiCode("当前团购已关闭", _C_GROUP_STATUS_ERROR);
|
|
|
|
-
|
|
|
|
- public final static int _C_GROUP_EXIST_ERROR = 803;
|
|
|
|
- public final static ApiCode GROUP_EXIST_ERROR = new ApiCode("您有未完成的团正在进行中", _C_GROUP_EXIST_ERROR);
|
|
|
|
-
|
|
|
|
- public final static int _C_GROUP_HEADCOUNT_ERROR = 804;
|
|
|
|
- public final static ApiCode GROUP_HEADCOUNT_ERROR = new ApiCode("此团参加人数已达上限", _C_GROUP_HEADCOUNT_ERROR);
|
|
|
|
-
|
|
|
|
- public final static int _C_GROUP_CREATE_ERROR = 805;
|
|
|
|
- public final static ApiCode GROUP_CREATE_ERROR = new ApiCode("您已购买过当前课文", _C_GROUP_CREATE_ERROR);
|
|
|
|
-
|
|
|
|
- public final static int _C_JOIN_SHARE_ERROR = 806;
|
|
|
|
- public final static ApiCode JOIN_SHARE_ERROR = new ApiCode("您当前没有助力资格", _C_JOIN_SHARE_ERROR);
|
|
|
|
|
|
+ public final static int _C_REPETITION_ERROR = 703;
|
|
|
|
+ public final static ApiCode REPETITION_ERROR = new ApiCode("名称重复", _C_REPETITION_ERROR);
|
|
|
|
|
|
protected ApiCode(String message, int code) {
|
|
protected ApiCode(String message, int code) {
|
|
super(code, message);
|
|
super(code, message);
|