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 |
|
eaf26c
|
19 |
int limitRead = 8;//限制最多读取已读评论条数 |
I |
20 |
String msgTitle = "碎碎念"; |
|
21 |
|
ba780f
|
22 |
List<String> myIds = new ArrayList(3) {{ |
I |
23 |
add(MyConstant.inleft); |
|
24 |
add("阿墨"); |
|
25 |
add("笔墨"); |
|
26 |
}}; |
|
27 |
|
bd3bc1
|
28 |
interface AuthStatus { |
I |
29 |
int publicCode = 1; |
|
30 |
int privateCode = 2; |
|
31 |
int authCode = 3; |
|
32 |
} |
88f419
|
33 |
|
I |
34 |
|
|
35 |
/** |
|
36 |
* 留言类型 1:留言板 2:日志评论 |
|
37 |
*/ |
|
38 |
interface CommentType { |
|
39 |
int type_1 = 1; |
|
40 |
int type_2 = 2; |
|
41 |
} |
0613f2
|
42 |
} |