inleft
2022-07-29 ba780fb8c047c665f8d85c013b02e47f8269451d
commit | author | age
0613f2 1 package vip.xiaonuo.core.consts;
I 2
ba780f 3 import java.util.ArrayList;
I 4 import java.util.List;
5
0613f2 6 public interface MyConstant {
88f419 7     Integer No = 0;
0613f2 8     Integer Yes = 1;
ba780f 9     String limit = " limit 1 ";
bd3bc1 10
42b7d0 11
I 12     String privateComment = "(悄悄话已隐藏)******";
13     String checkComment = "(未审核消息)******";
ba780f 14     String inleft = "inleft";
f639b5 15     String email = "inleft@qq.com";
I 16     String url_1 = "http://blog.inleft.com/comment#%d";
17     String url_2 = "http://blog.inleft.com/mdDetail?id=%d#%d";
42b7d0 18
ba780f 19     List<String> myIds = new ArrayList(3) {{
I 20         add(MyConstant.inleft);
21         add("阿墨");
22         add("笔墨");
23     }};
24
bd3bc1 25     interface AuthStatus {
I 26         int publicCode = 1;
27         int privateCode = 2;
28         int authCode = 3;
29     }
88f419 30
I 31
32     /**
33      * 留言类型 1:留言板 2:日志评论
34      */
35     interface CommentType {
36         int type_1 = 1;
37         int type_2 = 2;
38     }
0613f2 39 }