package studio.baxia.fo.common; /** * Created by Pan on 2016/10/13. */ public class CommonConstant { public static final int AUTHOR_ID =1;//设定作者在数据库中的id为1 public static final int ACTICLE_STATUS_DRAFT = 0; public static final int ACTICLE_STATUS_BLOG = 1; public static final String OPERATE_SUCCESS_MESSAGE = "操作成功"; public static final String OPERATE_FAIL_MESSAGE = "操作失败"; public static final String ACTICLE_STATUS_DRAFT_NAME = "草稿"; public static final String ACTICLE_STATUS_BLOG_NAME = "博客"; /** * 类别不展示 */ public static final boolean CATEGORY_ALL = false; /** * 类别展示 */ public static final boolean CATEGORY_SHOW = true; public static final boolean PROJECT_ALL = false; public static final boolean PROJECT_PUBLIC = true; public static final int USER_TYPE_GUEST = 0; public static final int USER_TYPE_AUTHOR = 1; public static final int CORRECT_ORDER = 0; public static final int REVERSE_ORDER = 1; public static final int MESSAGE_DEFAULT_PARENT_ID = 0; public static final Integer MESSAGE_NULL_PARENT_ID=null; public static final int CATEGORY_DEFAULT_PARENT_ID = 0; public static final int SUCCESS_CODE = 1; public static final int FAIL_CODE=0; public static final String USER_IS_NO_EXIST = "用户不存在!"; public static final String NEW_NO_NAME_CATEGORY = "默认分类"; public static final String ARCHIVE_TYPE_YEAR = "%Y年"; public static final String ARCHIVE_TYPE_YEAR_MONTH = "%Y-%m"; public static final int USER_TIME_OUT = 30*60*1000; }
最近下载更多
xiaopengzep LV1
3月25日
1481917707 LV4
2022年12月31日
邬松桥 LV11
2022年11月16日
微信网友_6164511365238784 LV7
2022年10月10日
Pojem2222 LV2
2022年6月5日
wanglinddad LV54
2022年4月17日
Haggiii LV1
2021年12月28日
longtaolee LV11
2021年12月22日
暮江吟 LV8
2021年10月10日
15966848095 LV22
2021年9月27日
最近浏览更多
xiaopengzep LV1
3月24日
yxzzxy LV3
2月18日
khhuyvhgcd LV1
1月26日
abcdmly12 LV1
1月13日
随手一个用户名 LV1
2023年11月1日
eirghiueitgerofh
2023年10月26日
暂无贡献等级
zhaobing_g LV3
2023年8月28日
zhaokai0224 LV14
2023年6月29日
shuidajiao
2023年6月18日
暂无贡献等级
19137715150 LV1
2023年6月18日