Commit 2bb53c82 authored by 刘凯's avatar 刘凯

增加netty引入

parent 3b7f8f79
description = 'demo'
apply plugin: 'org.sonarqube'
buildscript { buildscript {
ext { ext {
springBootVersion = '2.0.6.RELEASE' springBootVersion = '1.5.14.RELEASE'
} }
repositories { repositories {
mavenLocal()
maven { url "http://nexus.dui88.com:8081/nexus/content/groups/public/" }
maven { url "https://plugins.gradle.org/m2/" } //sonarqube
maven { url 'http://repo.spring.io/plugins-release' }
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
classpath "io.spring.gradle:dependency-management-plugin:0.6.1.RELEASE"
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5' //sonarqube
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
} }
} }
apply plugin: 'maven'
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse' apply plugin: 'eclipse'
apply plugin: 'jacoco'
apply plugin: "io.spring.dependency-management"
apply plugin: 'org.springframework.boot' apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management' apply plugin: 'propdeps'
test {
ignoreFailures = true
}
group = 'com.example' group = 'cn.com.duiba'
version = '0.0.1-SNAPSHOT' version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8 sourceCompatibility = 1.8
targetCompatibility = 1.8
jar {
baseName = 'demo'
version = ''
}
configurations {
all*.exclude group: 'log4j', module: 'log4j'
all*.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
all*.exclude group: 'javax.servlet', module: 'servlet-api' //servlet 2.5
all*.exclude group: 'com.vaadin.external.google', module: 'android-json' //servlet 2.5
}
repositories { repositories {
mavenLocal()
maven { url "http://nexus.dui88.com:8081/nexus/content/groups/public/" }
maven { url "https://plugins.gradle.org/m2/" } //sonarqube
maven { url 'http://repo.spring.io/plugins-release' }
mavenCentral() mavenCentral()
} }
ext['hazelcast.version']='3.11'
dependencyManagement {
resolutionStrategy {
cacheChangingModulesFor 0, "seconds"
}
dependencies {
imports {
mavenBom 'cn.com.duiba.boot:spring-boot-ext-dependencies:1.2.249'
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Edgware.SR4'
}
}
}
dependencies { dependencies {
implementation('org.springframework.boot:spring-boot-starter-web') compile 'cn.com.duiba.boot:spring-boot-starter-perftest'
testImplementation('org.springframework.boot:spring-boot-starter-test') compile 'cn.com.duiba.boot:spring-boot-starter-cat'
compile 'cn.com.duiba.boot:spring-boot-starter-xss'
compile 'cn.com.duiba.boot:spring-boot-starter-accesslog'
compile 'cn.com.duiba.boot:spring-boot-starter-logger'
compile 'cn.com.duiba.boot:spring-boot-starter-redis'
compile 'cn.com.duiba.boot:spring-boot-starter-rocketmq'
compile("cn.com.duiba.boot:spring-boot-starter-velocity")
compile 'org.springframework.boot:spring-boot-starter-web'
compile "org.springframework.boot:spring-boot-starter-test"
compile 'org.springframework.boot:spring-boot-starter-actuator'
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-hystrix'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-ribbon'
compile 'org.springframework.cloud:spring-cloud-starter-openfeign'
compile ('cn.com.duiba.goods-center:goods-center-api:2.6.0-SNAPSHOT') {transitive=false}
compile 'cn.com.duiba.consumer-center:consumer-center-api:1.2.20'
compile 'cn.com.duiba.activity-comm-center:activity-common-api:1.1.37-SNAPSHOT'
compile ('cn.com.duiba.plugin-center:plugin-center-api:1.0.18-SNAPSHOT') { transitive = false }
compile ('cn.com.duiba.developer-center:developer-center-api:3.2.2-SNAPSHOT') { transitive = false }
compile('cn.com.duiba.activity-center:activity-center-api:2.9.11-SNAPSHOT')
compile('cn.com.duiba.activity-custom-center:activity-custom-center-api:0.1.8'){transitive = false}
compile ('cn.com.duiba:kvtable-service-api:1.3.21-SNAPSHOT')
compile ('cn.com.duiba.prize-center:prize-center-api:1.0.16-SNAPSHOT')
compile ('cn.com.duiba.odps-center:odps-center-api:1.0.12')
compile ('cn.com.duiba.trade-center:trade-center-api:2.1.22-SNAPSHOT'){ transitive = false }
compile('cn.com.duiba.thirdparty-service:thirdparty-service-api:1.0.15-SNAPSHOT')
compile ('cn.com.duiba.hdtool-center:hdtool-center-api:1.1.13-SNAPSHOT')
compile ("cn.com.duiba:dcommons-base:0.3") {transitive=false}
compile ("cn.com.duiba:dcommons-flowwork-client:1.3.1.coupon-SNAPSHOT") {transitive=false}
compile "cn.com.duiba.idmaker-service:idmaker-service-api:1.2.19"
compile 'cn.com.duiba:java-sdk:0.0.16'
compile 'cn.com.duiba:biz-tool:1.5.6'
compile 'cn.com.duiba:duiba-api:0.0.13'
compile ("com.101tec:zkclient:0.5") {transitive=false}
compile 'com.alibaba:fastjson:1.2.47'
compile 'com.google.guava:guava:18.0'
compile 'commons-io:commons-io:2.4'
compile("commons-validator:commons-validator:1.3.1")
compile 'org.apache.commons:commons-collections4:4.1'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'org.slf4j:log4j-over-slf4j:1.7.25'
compile 'org.slf4j:slf4j-api:1.7.25'
compile("org.aspectj:aspectjweaver:1.8.11")
compile("org.apache.zookeeper:zookeeper:3.4.8")
compile 'javax.validation:validation-api:1.1.0.Final'
compile 'io.springfox:springfox-swagger-ui:2.5.0'
compile 'io.springfox:springfox-swagger2:2.5.0'
//集卡
compile ('cn.com.duiba:collect-card-center-api:1.0.0-SNAPSHOT')
//阿里云文件上传
compile 'com.aliyun.oss:aliyun-sdk-oss:3.1.0'
compile 'com.aliyun:aliyun-java-sdk-cdn:2.6.0'
compile 'com.aliyun:aliyun-java-sdk-core:3.2.9'
compile('commons-fileupload:commons-fileupload:1.2.1')
compile("com.google.guava:guava:18.0") compile 'com.dangdang:elastic-job-core:1.0.6'
compile 'com.github.ben-manes.caffeine:caffeine:2.6.2' compile 'com.dangdang:elastic-job-spring:1.0.6'
compile("cn.com.duiba:biz-tool:1.5.1") //腾讯
compile("cn.xsshome:taip:4.2.2")
//工行sdk
compile('com.icbc:icbc-api-sdk-cop:1.0')
// 招行sdk
compile('com.cmb:auth-sdk:20180917')
//netty
compile group: 'io.netty', name: 'netty-all', version: '4.1.32.Final'
compile('com.dyuproject.protostuff:protostuff-core:1.0.8')
compile('com.dyuproject.protostuff:protostuff-runtime:1.0.8')
compile('org.apache.zookeeper:zookeeper:3.4.8')
compile('org.objenesis:objenesis:2.1')
// compile fileTree(dir: 'lib', includes: ['*.jar'])
// compile files('lib/icbc-api-sdk-cop.jar')
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
install {//
enabled = false
}
uploadArchives {//
enabled = false
}
uploadArchives {
repositories {
mavenDeployer {
snapshotRepository(url: "http://nexus.dui88.com:8081/nexus/content/repositories/snapshots/") {
authentication(userName: "admin", password: "admin123")
}
repository(url: "http://nexus.dui88.com:8081/nexus/content/repositories/releases/") {
authentication(userName: "admin", password: "admin123")
}
pom.project {
name project.name
packaging 'jar'
description project.name
url 'www.duiba.com.cn'
scm {
url ''
connection ''
developerConnection ''
}
licenses {
license {
name 'No License'
url 'http://www.duiba.com.cn'
distribution 'repo'
}
}
developers {
developer {
id 'xuhengfei'
name 'Hengfei Xu'
}
}
}
}
}
}
task listJars(description: 'Display all compile jars.') << {
configurations.compile.each { File file -> println file.name }
} }
#Tue Feb 06 12:27:20 CET 2018 #Tue Mar 12 13:48:23 CST 2019
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-all.zip
package com.example.demo.designModel;
/**
* @author liukai
* @Description: TODO
* @date 2019/2/2711:02 AM
*/
public interface AccordService {
/**
* 处理请求
* @param chain
* @return
*/
public ErrorCode dealwith(Chain chain);
interface Chain{
/**
* 获取请求BO对象
* @return
*/
ErrorCode getAppItemVerificateBo();
/**
* 转发请求
* @param test
* @return
*/
ErrorCode proceed(String test);
}
}
package com.example.demo.designModel;
/**
* 此类描述的是:简版后台错误码<br>
* 错误码组成:AABCCCC
* <ul>
* AA:模块编号
* <li>01:模块共用</li>
* <li>02:活动模块</li>
* <li>03:奖品模块</li>
* <li>04:订单数据模块</li>
* </ul>
* <ul>
* B:内外部错误码标志
* <li>0:内部错误码</li>
* <li>1:外部错误码</li>
* </ul>
* <ul>
* <ul>
* CCCC:具体错误码 举例
* <li>通用的成功状态码:0000000</li>
* <li>通用的未知错误码:9999999</li>
* </ul>
*
* @author: zp
*/
public enum ErrorCode {
/***** 通用异常 ******/
/** 成功 */
E0000000("0000000", "成功"),
/** 请先登录 */
E0100000("0100000", "请先登录"),
/** 无权访问该兑换项 */
E0100001("0100001", "无权访问该兑换项"),
/** 无权访问该批次 */
E0100002("0100002", "无权访问该批次"),
/** 无权访问该活动 */
E0100003("0100003", "无权访问该活动"),
/** Cookie获取开发者信息失败 */
E0100004("0100004", "Cookie获取开发者信息失败"),
/** 无效的参数输入 */
E0100005("0100005", "无效的参数输入"),
/** url编码失败 */
E0100006("0100006", "url编码失败"),
/** 参数不能为空 */
E0100007("0100007", "参数不能为空"),
/** 二维码制作失败 */
E0100008("0100008", "二维码制作失败"),
/** 删除成功 */
E0100009("0100009", "删除成功"),
/** 开发者无权访问该APP */
E0100010("0100010", "开发者无权访问该APP"),
/** 该应用不是独立活动工具下App应用 */
E0100011("0100011", "该应用不是独立活动工具下App应用"),
/** 没有配置活动工具对接接口 */
E0100013("0100013", "没有配置活动工具对接接口"),
/** 该APP不存在 */
E0100014("0100014", "该APP不存在"),
/** 验证码发送失败 */
E0100016("0100016", "验证码发送失败"),
/** 60秒内不能重复获取 */
E0100015("0100015", "60秒内不能重复获取"),
/***** 活动模块异常 ******/
/** 查询活动列表数据异常 */
E0200001("0200001", "查询活动列表数据异常"),
/**查询待选库活动数据异常*/
E0200002("0200002", "查询待选库活动数据异常"),
/**删除活动失败*/
E0200003("0200003", "删除活动失败"),
/**关闭活动失败*/
E0200004("0200004", "关闭活动失败"),
/**该活动中包含虚拟商品不可用,无法开启*/
E0200005("0200005", "该活动中包含虚拟商品不可用,无法开启"),
/**关闭活动失败*/
E0200006("0200006", "开启活动失败"),
/**已过关闭时间,无法开启*/
E0200007("0200007", "已过关闭时间,无法开启"),
/**活动在黑名单中,无法参与*/
E0200008("0200008", "活动在黑名单中,无法参与"),
/**该活动为定向活动,无法参与*/
E0200009("0200009", "该活动为定向活动,无法参与"),
/**该活动为活动专用,无法参与*/
E0200010("0200010", "该活动为活动专用,无法参与"),
/**活动配置模版名称不能为空*/
E0200011("0200011", "活动配置模版名称不能为空"),
/**查询模版数据内容为空*/
E0200012("0200012", "查询模版数据内容为空"),
/**活动标题不能为空*/
E0200013("0200013", "活动标题不能为空"),
/**首页banner图或缩略图不能为空*/
E0200014("0200014", "首页banner图或缩略图不能为空"),
/**奖项必须添加一个谢谢参与*/
E0200015("0200015", "奖项必须添加一个谢谢参与"),
/**支付宝面值不能超过200元!*/
E0200016("0200016", "支付宝面值不能超过200元!"),
/**奖项图片不能为空*/
E0200017("0200017", "奖项图片不能为空"),
/**奖项丢失*/
E0200018("0200018", "奖项丢失"),
/**不得有两个奖品使用相同默认图片*/
E0200019("0200019", "不得有两个奖品使用相同默认图片"),
/**抽奖次数不可为空,且必须大于0*/
E0200020("0200020", "抽奖次数不可为空,且必须大于0"),
/**活动id不能为空*/
E0200021("0200021", "活动id不能为空"),
/**活动id不可用*/
E0200022("0200022", "活动id不可用"),
/**用户数据不能为空*/
E0200023("0200023", "用户数据不能为空"),
/**消耗积分不能为空*/
E0200024("0200024", "消耗积分不能为空"),
/**消耗积分输入不正确*/
E0200025("0200025", "消耗积分输入不正确"),
/**用户数据不能为空*/
E0200026("0200026", "用户数据不能为空"),
/**题目不能为空*/
E0200027("0200027", "题目不能为空"),
/**题目数不能大于总题数*/
E0200028("0200028", "题目数不能大于总题数"),
/***** 奖品模块异常 ******/
/**奖品数据异常*/
E0300001("0300001", "奖品数据异常"),
/**自有优惠券商品保存失败*/
E0300002("0300002", "自有优惠券商品保存失败"),
/**该奖品不是优惠券*/
E0300003("0300003", "该奖品不是优惠券"),
/**该奖品不是自有优惠券*/
E0300004("0300004", "该奖品不是自有优惠券"),
/**券码信息不能为空*/
E0300005("0300005", "券码信息不能为空"),
/**库存值输入过大*/
E0300006("0300006", "库存值输入过大"),
/**库存不能为空*/
E0300007("0300007", "库存不能为空"),
/**库存不能小于1*/
E0300008("0300008", "库存不能小于1"),
/**券码长度不能超过255*/
E0300009("0300009", "券码长度不能超过255"),
/**密码长度不能超过255*/
E0300010("0300010", "密码长度不能超过255"),
/**链接长度不能超过255*/
E0300011("0300011", "链接长度不能超过255"),
/**链接不符合协议规范*/
E0300012("0300012", "链接不符合协议规范"),
/**按钮文案长度不能超过8*/
E0300013("0300013", "按钮文案长度不能超过8"),
/**不支持该券码类型的导入*/
E0300014("0300014", "不支持该券码类型的导入"),
/**券码文件路径缺失*/
E0300015("0300015", "券码文件路径缺失"),
/**导入失败*/
E0300016("0300016", "导入失败"),
/**不是商品中心优惠券*/
E0300017("0300017", "不是商品中心优惠券"),
// E0300018("0300018", "添加数量超过上限"),
/**券码条数不能超过30000条*/
E0300018("0300018", "券码条数不能超过30000条"),
/**虚拟商品接口,无权操作*/
E0300019("0300019", "虚拟商品接口,无权操作"),
/**虚拟商品接口,无权操作*/
E0300020("0300020", "虚拟商品接口未配置,请先配置"),
E0200050("0200050", "活动已结束,不可开启"),
E0200051("0200051", "活动已开始,不可再次开启"),
/**发生系统错误*/
E9999999("9999999", "发生系统错误"),
//签到活动异常
E0400001("0400001", "查询可选的签到活动失败"),
E0400002("0400002", "查询可选的签到活动皮肤失败"),
E0400003("0400003", "选择的当前活动没有可选的皮肤,创建失败"),
E0400004("0400004", "创建失败"),
E0400005("0400005", "皮肤id出错"),
E0400006("0400006", "未找到相应的活动"),
E0400007("0400007", "获取签到配置失败"),
E0400008("0400008", "保存签到配置失败"),
E0400009("0400009", "获取链接前,请先配置免登陆接口"),
//秒杀
E0500001("0500001", "秒杀即将开始或者正在进行中,不能编辑"),
E0500002("0500002", "秒杀活动正在进行中,不可删除"),
//SAAS权限控制
E0600001("0600001", "未付费"),
E0600002("0600002", "订单状态异常"),
E0600003("0600003", "权限开通未成功"),
E0600004("0600004","账户余额不足"),
E0600005("0600005","订单未处理"),
E0600006("0600006", "请输入正确的邀请码"),
E0600007("0600007", "该邀请码已被使用,请重新输入"),
E0600008("0600008", "您的邀请码已失效"),
E0600009("0600009", "至尊版专享"),
E0600010("0600010", "您的版本已到期,需先订购版本才能订购此工具"),
E0600011("0600011", "您所订购的次数已超过限制,不能再次购买!"),
E0600012("0600012", "您已能使用该服务"),
E0600013("0600013", "您版本处于试用期,需先订购版本才能订购此工具"),
// wechat授权
E0700001("0700001", "公众号已有授权应用"),
// 积分商城服务
E0800001("0800001", "不支持服务降级"),
//零元支付 支付成功标志
E0900001("0900001", "零元支付"),
//登录
E0900019("0900019", "登录令牌已失效"),
E0900002("0900002", "账号格式错误"),
E0900003("0900003", "验证码校验不通过"),
E0900004("0900004", "账号被禁用"),
E0900005("0900005", "账号不存在"),
E0900006("0900006", "请使用邮箱登录"),
E0900007("0900007", "加密出错"),
E0900008("0900008", "账号或密码错误"),
E0900009("0900009", "子账号不存在"),
E0900010("0900010", "主账号不存在"),
E0900011("0900011", "主账号被禁用"),
E0900012("0900012", "无权限,请联系主账户配置权限"),
E0900013("0900013", "开发者实体不存在,无法获取访问标记"),
E0900014("0900014", "请输入正确的手机号"),
E0900015("0900015", "短信验证码过期"),
E0900016("0900016", "验证码错误,请重新输入"),
E0900017("0900017", "此手机号已注册,请直接登录"),
E0900018("0900018", "code为空"),
E0900020("0900020", "您的手机号绑定了多个邮箱账号,请使用邮箱找回密码"),
E0900021("0900021", "子账号功能已经停止使用"),
E0900022("0900022", "没有权限操作"),
E0900023("0900023", "该手机号未在兑吧注册,请先注册"),
E0900024("0900024", "该手机号被多个兑吧邮箱账号绑定,请使用邮箱账号"),
E0900025("0900025", "该邮箱未在兑吧注册,请先注册"),
E0900026("0900026", "无权设置该员工"),
E0900027("0900027", "员工不存在"),
E0900028("0900028", "该账号作为高级管理员的应用已达十个上限,无法转让"),
E0900029("0900029", "验证码已过期,请重新发送"),
E0900030("0900030", "不能转让给自己"),
E0900031("0900031", "角色配置有误"),
E0900032("0900032", "员工已存在"),
E0900033("0900033", "账号校验不通过"),
E0901001("0901001", "瓜分红包时,需配置钱包,请联系管理员配置"),
E0901002("0901002", "数据不存在"),
E0901003("0901003", "无权操作"),
E0901004("0901004", "首页只允许存在一个"),
E0901007("0901007", "查询时间跨度不得超过三个月"),
E0901006("0901006", "remote接口报错,查询用户积分失败"),
E0901005("0901005", "首页不可删除"),
E0901010("0901010", "活动分组最多20个"),
E0901011("0901011", "获取皮肤失败"),
E0901012("0901012", "操作过于频繁或同时操作"),
E0901013("0901013","批量发货失败"),
E0901015("0901015", "pK赛列表不能为空"),
E0901016("0901016", "pK赛题目不超过6个"),
E0901017("0901017", "结算时间至少在当前时间五分钟后"),
E0901018("0901018", "10点至14点之间不能开奖哦"),
E0901019("0901019", "瓜分额度应该大于0"),
E0901020("0901020", "瓜分奖励应该大于等于每人实际可瓜分额度"),
E0901021("0901021", "每人实际可瓜分额度应该大于0"),
E0901022("0901022", "每人实际可瓜分额度应该大于0"),
E0901023("0901023", "活动不存在或者已经删除"),
E0901024("0901024", "有进行中的pk赛不能删除"),
E0901025("0901025", "必填参数错误"),
E0901026("0901026", "选项内容不能为空"),
E0901027("0901027", "活动类型错误"),
E0901028("0901028", "瓜分类型为红包时, 每人可瓜分金额不能为空!"),
E0901029("0901029", "app尚不支持加积分请求"),
E0901030("0901030", "尚未配置红包运营工具"),
E0901031("0901031", "仅VIP才能使用该活动工具哦,请与您的商务联系~"),
E0901032("0901032", "仅旗舰版、至尊版、尊贵版才能使用该活动工具哦,请与您的商务联系~"),
E0909033("0909033", "pk结算时间应在活动周期内"),
E0909034("0909034", "pk活动周期结束时间应大于活动周期开始时间"),
E0909035("0909035", "pk活动金额上限为999999.99"),
E0909036("0909036", "请填写金额上限"),
E0909037("0909037", "请填写中奖用户数"),
E0909038("0909038", "pk活动中奖用户数上限为999999"),
E0909039("0909039", "活动保存临时凭证已时效,请从确认链接重新进入"),
E0909040("0909040", "新建活动时,请先确认预算"),
E0909041("0909041", "非法保存,请先确认预算"),
E0909042("0909042", "周期加入失败"),
E0909043("0909043", "退出周期失败"),
E0909044("0909044", "该活动周期范围不能与存在活动的周期范围存在交叉"),
E0909045("0909045", "红包预算不可编辑"),
E0909046("0909046", "活动周期不可编辑"),
E0909047("0909047", "红包预算,活动周期不可编辑"),
E0909048("0909048", "活动保存临时凭证异常,请从确认链接重新进入"),
E0909049("0909049", "凭证校验失败,请从确认链接重新进入"),
E0909050("0909050", "请不要重复提交"),
E0909051("0909051", "每人实际瓜分金额不能大于单人提现金额"),
E0909052("0909052", "保存后积分模式无法切换到红包模式"),
E0909053("0909053", "周期时间天数,请与原先保持一致"),
E0901033("0901033", "卡券库已关联商品,无法删除"),
E0901034("0901034", "卡券库已部分发放,无法删除"),
E0901050("0901050", "搬砖活动暂未开发使用哦,请与您的商务联系~"),
E0901051("0901051", "目前最多只支持配置两期活动"),
E0901052("0901052", "积分不足赚积分链接未配置"),
E0901053("0901053","还未去积分商城总账户确认预算请去确认"),
E0901054("0901054","数据解析失败"),
//红包广场相关错误提示
E0902001("0902001", "首次分享奖励配置不完整"),
E0902002("0902002", "请配置预算相关字段"),
E0902003("0902003", "活动已结束"),
E0902004("0902004", "活动已发放预算超过当前配置预算"),
E0902005("0902005", "请配置梯度奖励"),
E0902006("0902006", "请配置提现规则"),
E0902007("0902007", "请配置提现金额"),
E0902008("0902008", "开始时间和结束时间不能在当前时间之前!"),
E0902009("0902009", "活动进行中,不可修改开始时间!"),
E0902010("0902010", "请输入首次分享奖励金额"),
E0902011("0902010", "请输入新人奖励金额"),
E0902012("0902012", "预算预警值需小于总预算金额"),
E0902013("0902013", "请输入未登陆/未授权提示文案"),
E0902014("0902014", "请先配置免登接口"),
E0902015("0902015", "请先配置加积分接口"),
E0902016("0902016", "请先前往进行微信授权"),
E0902017("0902017", "请先填写分享代码"),
;
private String errorCode;
private String desc;
private ErrorCode(String errorCode, String desc) {
this.errorCode = errorCode;
this.desc = desc;
}
/**
* errorCode.
*
* @return the errorCode
*/
public String getErrorCode() {
return errorCode;
}
/**
* desc.
*
* @return the desc
*/
public String getDesc() {
return desc;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment