diff --git a/src/main/java/com/lq/cms/emun/BasicsPermissionKeyEnum.java b/src/main/java/com/lq/cms/emun/BasicsPermissionKeyEnum.java index d2a19a6..31a46fe 100644 --- a/src/main/java/com/lq/cms/emun/BasicsPermissionKeyEnum.java +++ b/src/main/java/com/lq/cms/emun/BasicsPermissionKeyEnum.java @@ -1,7 +1,5 @@ package com.lq.cms.emun; -import java.util.HashMap; -import java.util.Map; /** * @Author: qi diff --git a/src/main/java/com/lq/cms/emun/DatagridParamEnum.java b/src/main/java/com/lq/cms/emun/DatagridParamEnum.java index f5524e3..59d3a17 100755 --- a/src/main/java/com/lq/cms/emun/DatagridParamEnum.java +++ b/src/main/java/com/lq/cms/emun/DatagridParamEnum.java @@ -2,10 +2,16 @@ package com.lq.cms.emun; /** * 管理后台数据 + * @author qi */ public enum DatagridParamEnum { - + /** + * 数据总数 + */ TOTAL("total","数据总数"), + /** + * 分页列数 + */ ROWS("rows","分页数据列") ; private String value; diff --git a/src/main/java/com/lq/cms/emun/PermissionTyepEnum.java b/src/main/java/com/lq/cms/emun/PermissionTypeEnum.java old mode 100755 new mode 100644 similarity index 88% rename from src/main/java/com/lq/cms/emun/PermissionTyepEnum.java rename to src/main/java/com/lq/cms/emun/PermissionTypeEnum.java index 3e93df2..285b687 --- a/src/main/java/com/lq/cms/emun/PermissionTyepEnum.java +++ b/src/main/java/com/lq/cms/emun/PermissionTypeEnum.java @@ -5,9 +5,12 @@ import java.util.Map; /** * Created by qi_liang on 2018/2/3. + * @author qi */ -public enum PermissionTyepEnum { - +public enum PermissionTypeEnum { + /** + * 权限类型 + */ SELECT(1L,"查询","SELECT"), INSERT(2L,"新增","INSERT"), DELETE(3L,"删除","DELETE"), @@ -26,7 +29,7 @@ public enum PermissionTyepEnum { private String desc; private String constant; - PermissionTyepEnum(Long value, String desc,String constant) { + PermissionTypeEnum(Long value, String desc, String constant) { this.value = value; this.desc = desc; this.constant = constant; diff --git a/src/main/java/com/lq/cms/emun/StatusTypeEnum.java b/src/main/java/com/lq/cms/emun/StatusTypeEnum.java index 718c080..2f54bb2 100755 --- a/src/main/java/com/lq/cms/emun/StatusTypeEnum.java +++ b/src/main/java/com/lq/cms/emun/StatusTypeEnum.java @@ -6,6 +6,7 @@ import java.util.Map; /** * Created by qi_liang on 2018/1/28. + * @author qi */ public enum StatusTypeEnum { diff --git a/src/main/java/com/lq/cms/emun/SysPermissionTypeEnum.java b/src/main/java/com/lq/cms/emun/SysPermissionTypeEnum.java index b49b51b..c65e810 100644 --- a/src/main/java/com/lq/cms/emun/SysPermissionTypeEnum.java +++ b/src/main/java/com/lq/cms/emun/SysPermissionTypeEnum.java @@ -8,7 +8,9 @@ import java.util.Map; * @author qi */ public enum SysPermissionTypeEnum { - + /** + * 查询 + */ SELECT("SELECT","查询"), INSERT("INSERT","新增"), UPDATE("UPDATE","更新"), diff --git a/src/main/java/com/lq/cms/emun/WechatAccessTokenTypeEnum.java b/src/main/java/com/lq/cms/emun/WechatAccessTokenTypeEnum.java index 2584d62..9073f35 100755 --- a/src/main/java/com/lq/cms/emun/WechatAccessTokenTypeEnum.java +++ b/src/main/java/com/lq/cms/emun/WechatAccessTokenTypeEnum.java @@ -9,9 +9,15 @@ import java.util.Map; * @Date: Create in 10:13 PM 2019/3/16 */ public enum WechatAccessTokenTypeEnum { - CURRENCY(1,"普通令牌"), - PAGE_AUTHORIZATION(2,"页面授权") - ; + /** + * 普通token + */ + CURRENCY(1,"普通令牌"), + /** + * 页面授权token + */ + PAGE_AUTHORIZATION(2,"页面授权") + ; WechatAccessTokenTypeEnum(Integer value, String desc) { this.value = value; diff --git a/src/main/java/com/lq/cms/emun/WechatInfoCertificationTypeEnum.java b/src/main/java/com/lq/cms/emun/WechatInfoCertificationTypeEnum.java index ee4f8a5..0feb8a7 100644 --- a/src/main/java/com/lq/cms/emun/WechatInfoCertificationTypeEnum.java +++ b/src/main/java/com/lq/cms/emun/WechatInfoCertificationTypeEnum.java @@ -9,7 +9,13 @@ import java.util.Map; * @Date: Create in 6:09 AM 2019/4/28 */ public enum WechatInfoCertificationTypeEnum { + /** + * 公众号认证状态-认证 + */ CERTIFICATION_YES(1,"认证"), + /** + * 公众号认证状态-未认证 + */ CERTIFICATION_NO(0,"未认证") ; diff --git a/src/main/java/com/lq/cms/emun/WechatInfoEncodingTypeEnum.java b/src/main/java/com/lq/cms/emun/WechatInfoEncodingTypeEnum.java index dad5e40..963dbeb 100755 --- a/src/main/java/com/lq/cms/emun/WechatInfoEncodingTypeEnum.java +++ b/src/main/java/com/lq/cms/emun/WechatInfoEncodingTypeEnum.java @@ -5,10 +5,20 @@ import java.util.Map; /** * Created by qi_liang on 2018/6/14. + * @author qi */ public enum WechatInfoEncodingTypeEnum { + /** + * 公众号加密方式-明文 + */ PLAINTEXT("PLAINTEXT","明文"), + /** + * 公众号加密方式-混合 + */ BLEND("BLEND","混合"), + /** + * 公众号加密方式-加密 + */ ENCRYPT("ENCRYPT","加密") ; private static Map enumMap = new HashMap(WechatInfoEncodingTypeEnum.values().length); diff --git a/src/main/java/com/lq/cms/emun/WechatInfoOpenReplyTypeEnum.java b/src/main/java/com/lq/cms/emun/WechatInfoOpenReplyTypeEnum.java index 6038d72..cc858b0 100644 --- a/src/main/java/com/lq/cms/emun/WechatInfoOpenReplyTypeEnum.java +++ b/src/main/java/com/lq/cms/emun/WechatInfoOpenReplyTypeEnum.java @@ -6,8 +6,13 @@ package com.lq.cms.emun; * @Date: Create in 11:20 AM 2019/5/11 */ public enum WechatInfoOpenReplyTypeEnum { - + /** + * 公众号回复状态-打开 + */ OPEN_YES(1,"打开"), + /** + * 公众号回复状态-关闭 + */ OPEN_ON(0,"关闭") ; WechatInfoOpenReplyTypeEnum(Integer value, String desc) { diff --git a/src/main/java/com/lq/cms/emun/WechatInfoTypeEnum.java b/src/main/java/com/lq/cms/emun/WechatInfoTypeEnum.java index 76c10ce..f02ce7b 100755 --- a/src/main/java/com/lq/cms/emun/WechatInfoTypeEnum.java +++ b/src/main/java/com/lq/cms/emun/WechatInfoTypeEnum.java @@ -9,8 +9,17 @@ import java.util.Map; * @Date: Create in 9:44 AM 2019/3/15 */ public enum WechatInfoTypeEnum { + /** + * 公众号类型-订阅号 + */ SUBSCRIBE(1,"订阅号"), + /** + * 公众号类型-服务号 + */ SERVICE(2,"服务号"), + /** + * 公众号类型-企业号 + */ ENTERPRISE(3,"企业号") ; WechatInfoTypeEnum(Integer value, String desc) { diff --git a/src/main/java/com/lq/cms/emun/WechatMessageTypeEnum.java b/src/main/java/com/lq/cms/emun/WechatMessageTypeEnum.java index a493db5..01a4952 100755 --- a/src/main/java/com/lq/cms/emun/WechatMessageTypeEnum.java +++ b/src/main/java/com/lq/cms/emun/WechatMessageTypeEnum.java @@ -3,9 +3,22 @@ package com.lq.cms.emun; import java.util.HashMap; import java.util.Map; +/** + * 公众号消息类型 + * @author qi + */ public enum WechatMessageTypeEnum { + /** + * 公众号消息类型-文本 + */ TEXT(1,"文本"), + /** + * 公众号消息类型-图片 + */ IMAGE(2,"图片"), + /** + * 公子号消息类型-图文混合 + */ IMAGE_TEXT(3,"图文混合") ; diff --git a/src/main/java/com/lq/cms/emun/WechatRuleReplyTypeEnum.java b/src/main/java/com/lq/cms/emun/WechatRuleReplyTypeEnum.java index f8367ca..200816f 100644 --- a/src/main/java/com/lq/cms/emun/WechatRuleReplyTypeEnum.java +++ b/src/main/java/com/lq/cms/emun/WechatRuleReplyTypeEnum.java @@ -9,7 +9,13 @@ import java.util.Map; * @Date: Create in 3:14 PM 2019/5/16 */ public enum WechatRuleReplyTypeEnum { + /** + * 公众号消息回复-全回复 + */ REPLY_ALL(1,"全回复"), + /** + * 公众号消息回复-随机回复 + */ REPLY_RANDOM(2,"随机回复") ;