修改注释

master
星期八 5 years ago
parent 3c6279610e
commit ffe8408cc8
  1. 2
      src/main/java/com/lq/cms/emun/BasicsPermissionKeyEnum.java
  2. 8
      src/main/java/com/lq/cms/emun/DatagridParamEnum.java
  3. 9
      src/main/java/com/lq/cms/emun/PermissionTypeEnum.java
  4. 1
      src/main/java/com/lq/cms/emun/StatusTypeEnum.java
  5. 4
      src/main/java/com/lq/cms/emun/SysPermissionTypeEnum.java
  6. 12
      src/main/java/com/lq/cms/emun/WechatAccessTokenTypeEnum.java
  7. 6
      src/main/java/com/lq/cms/emun/WechatInfoCertificationTypeEnum.java
  8. 10
      src/main/java/com/lq/cms/emun/WechatInfoEncodingTypeEnum.java
  9. 7
      src/main/java/com/lq/cms/emun/WechatInfoOpenReplyTypeEnum.java
  10. 9
      src/main/java/com/lq/cms/emun/WechatInfoTypeEnum.java
  11. 13
      src/main/java/com/lq/cms/emun/WechatMessageTypeEnum.java
  12. 6
      src/main/java/com/lq/cms/emun/WechatRuleReplyTypeEnum.java

@ -1,7 +1,5 @@
package com.lq.cms.emun;
import java.util.HashMap;
import java.util.Map;
/**
* @Author: qi

@ -2,10 +2,16 @@ package com.lq.cms.emun;
/**
* 管理后台数据
* @author qi
*/
public enum DatagridParamEnum {
/**
* 数据总数
*/
TOTAL("total","数据总数"),
/**
* 分页列数
*/
ROWS("rows","分页数据列")
;
private String value;

@ -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;

@ -6,6 +6,7 @@ import java.util.Map;
/**
* Created by qi_liang on 2018/1/28.
* @author qi
*/
public enum StatusTypeEnum {

@ -8,7 +8,9 @@ import java.util.Map;
* @author qi
*/
public enum SysPermissionTypeEnum {
/**
* 查询
*/
SELECT("SELECT","查询"),
INSERT("INSERT","新增"),
UPDATE("UPDATE","更新"),

@ -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;

@ -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,"未认证")
;

@ -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<String,String> enumMap = new HashMap(WechatInfoEncodingTypeEnum.values().length);

@ -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) {

@ -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) {

@ -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,"图文混合")
;

@ -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,"随机回复")
;

Loading…
Cancel
Save