k94314517
2024-09-19 4df9fdf92a0a3461d53a08d797a63145af48e0c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
package com.doumee.core.wx;
 
import com.doumee.core.utils.Constants;
 
import java.math.BigDecimal;
import java.net.URLDecoder;
import java.util.Arrays;
import java.util.List;
 
public class MeetConstants extends Constants {
    public static final String PROJECTS = "PROJECTS";
    public static final String QR_OPENROOM_VALIDTIME = "QR_OPENROOM_VALIDTIME" ;
    //开门时间有效期(分钟)
    public static final String QR_OPENBOOK_VALIDTIME="QR_OPENBOOK_VALIDTIME";
    public static final String ADVANCE_IN="ADVANCE_IN";
    //发送会议开始  定时提前多少分钟发送
    public static final String NOTICE_TIME = "NOTICE_TIME";
    public static final String SYSTEM ="SYSTEM";
    public static final String EARLY_START = "EARLY_START";
    public static final String SOON_START = "SOON_START";
    public static final String MEET_CODE_PREFIX = "MEET_CODE_PREFIX";
 
 
 
 
    public interface  UserRelObjType{
        int objTypeRoom = 0;
        int objTypeBook = 1;
    }
    public interface  RoomRecordObjType{
        int objTypeRoom = 0;//管理员开门
        int objTypeBook_in = 1;//参会人员开门
        int objTypeBook_out = 2;//访客开门
    }
    public static void main(String[] args) {
        String t = URLDecoder.decode("https://lsqw.gtja.com/qwcos/v-index.html#/loginforProperty?corpId=ww4b7aefafeb430e4b&corpId=ww4b7aefafeb430e4b&agentId=1000005&agentId=1000005&fromRoute=&userCode=013561&userCode=&userId=zz&userId=&encryptUserCode=&custQwId=wmIUuSDgAAR8MhtVY8w90EyKltvoK5fA&custCode=&openId=op1wZwD1dKuBQywmWWS5957zUOJI&name=%E8%B9%84%E8%B9%84&headUrl=http%3A%2F%2Fwx.qlogo.cn%2Fmmhead%2FQ3auHgzwzM4QlibSOAvYcvRMdsoyF3Ua7duLOYSJfB3dsGsYxIYonBw%2F0&dbHeadUrl=https%3A%2F%2Ftgf.gtja.com%2Ff%2F%2Fqwoms%2F2022512%2Fqwoms_1652332606613_8.jpg");
        System.out.println(t);
    }
 
    /**
     * 数据状态枚举
     *
     */
    public enum Status {
 
        /** 用户启用禁用枚举值*/
        ENABLE(0,"正常"),
        DISABLE(1,"禁用");
 
        private  Integer value;
        private  String des;
 
 
        Status(Integer value, String des) {
            this.value = value;
            this.des = des;
        }
 
        public Integer getValue() {
            return value;
        }
 
        public void setValue(Integer value) {
            this.value = value;
        }
 
        public String getDes() {
            return des;
        }
 
        public void setDes(String des) {
            this.des = des;
        }
    }
 
 
 
 
 
    /**
     * 标签类型
     */
    public  enum LabelsType {
        GOODSTYPE(0, "商品分类", "商品分类"),
        GOODSBRAND(1, "商品品牌", "商品品牌"),
        BUSNESSLABEL(2, "商家标签", "商家标签"),
        EXPRESSDELIVERY(3, "快递", "快递"),
        RETURNOPTIONS(4, "退货选项", "退货选项"),
        EXCHANGEOPTIONS(5, "换货选项", "换货选项"),
        REFUNDOPTIONS(6, "退款选项", "退款选项"),
        CANCELORDEROPTIONS(7, "取消订单选项", "取消订单选项"),
        COFFERBEANTYPE(8, "咖啡百科分类", "咖啡百科分类"),
        INFOTYPE(9, "咨询分类", "咨询分类"),
        ACTIVITYMATCHTYPE(10, "活动赛事分类", "活动赛事分类"),
        DARENTANDIANTYPE(11, "达人探店分类", "达人探店分类"),
        HOMEZHUANQU(12, "首页专区", "首页专区"),
 
        ;
        // 成员变量
        private String name;
        private int key;
        private String noteinfo;// 描述
 
        // 构造方法
        LabelsType(int key, String name, String noteinfo) {
            this.name = name;
            this.key = key;
            this.noteinfo = noteinfo;
        }
 
        // 普通方法
        public static String getName(int index) {
            for (LabelsType c : LabelsType.values()) {
                if (c.getKey() == index) {
                    return c.name;
                }
            }
            return null;
        }
 
        // 普通方法
        public static String getInfo(int index) {
            for (LabelsType c : LabelsType.values()) {
                if (c.getKey() == index) {
                    return c.noteinfo;
                }
            }
            return null;
        }
 
        // get set 方法
        public String getName() {
            return name;
        }
 
        public void setName(String name) {
            this.name = name;
        }
 
        public int getKey() {
            return key;
        }
 
        public void setKey(int key) {
            this.key = key;
        }
 
        public String getNoteinfo() {
            return noteinfo;
        }
 
    }
 
 
    /**
     * 活动类型
     */
    public  enum ActivityType {
 
        SHOPACTIVITY(0, "商家活动", "商家活动"),
        PLATACTIVITY(1, "平台活动", "平台活动"),
        TANDIAN(2, "探店", "探店"),
        CONSULT(3, "资讯", "资讯"),
 
        ;
        // 成员变量
        private String name;
        private int key;
        private String noteinfo;// 描述
 
        // 构造方法
        ActivityType(int key, String name, String noteinfo) {
            this.name = name;
            this.key = key;
            this.noteinfo = noteinfo;
        }
 
        // 普通方法
        public static String getName(int index) {
            for (ActivityType c : ActivityType.values()) {
                if (c.getKey() == index) {
                    return c.name;
                }
            }
            return null;
        }
 
        // 普通方法
        public static String getInfo(int index) {
            for (ActivityType c : ActivityType.values()) {
                if (c.getKey() == index) {
                    return c.noteinfo;
                }
            }
            return null;
        }
 
        // get set 方法
        public String getName() {
            return name;
        }
 
        public void setName(String name) {
            this.name = name;
        }
 
        public int getKey() {
            return key;
        }
 
        public void setKey(int key) {
            this.key = key;
        }
 
        public String getNoteinfo() {
            return noteinfo;
        }
 
    }
}