first
This commit is contained in:
118
app/src/main/java/com/ckkj/water/ConstantUtil.java
Normal file
118
app/src/main/java/com/ckkj/water/ConstantUtil.java
Normal file
@@ -0,0 +1,118 @@
|
||||
package com.ckkj.water;
|
||||
|
||||
/**
|
||||
* @author messi.mo
|
||||
* date:2019/7/30.
|
||||
* describe:常量池
|
||||
*/
|
||||
|
||||
public class ConstantUtil {
|
||||
//页面跳转来源
|
||||
public static final String ACTIVITY_NAVIGATE_FLAG = "activity_navigate_flag";
|
||||
|
||||
public static final String SHARE_PRE_NAME = "mingdengbazi_pre";
|
||||
public static final String FIRST_ENTER_APP_AGREEMENT_TIPS = "first_enter_app_agreement_tips";
|
||||
public static final String FIRST_ENTER_APP_FLAG = "first_enter_app_flag";
|
||||
public static final String USER_LOGIN = "user_login";
|
||||
public static final String USER_TOKEN = "user_token";
|
||||
public static final String USER_HAS_SET_BIRTH = "user_has_set_birth";
|
||||
public static final String USER_RONGCLOUD_TOKEN = "user_rongcloud_token";
|
||||
public static final String USER_ID = "user_id";
|
||||
public static final String USER_RONGCLOUD_ID = "user_rongcloud_id";
|
||||
public static final String USER_INFO_JSON_CONTENT = "user_info_json_content";
|
||||
public static final String SEARCH_HISTORY = "search_history";
|
||||
public static final String USER_CONFIRM_UPLOAD_INFO = "user_confirm_upload_info";
|
||||
public static final String GROUP_LAST_TIME = "group_last_time";
|
||||
//用户是否同意隐私政策
|
||||
public static final String PRIVACY_POLICY_AGREED = "privacy_policy_agreed";
|
||||
//App访问验证code
|
||||
public static final String APP_ENTER_CODE_VALUE = "app_enter_code_value";
|
||||
//用户是否允许定位授权
|
||||
public static final String USER_AUTH_LOCATION = "user_auth_location";
|
||||
//用户是否请求过定位权限
|
||||
public static final String USER_REQUEST_LOCATION_PERMISSION = "user_request_location_permission";
|
||||
//用户是否请求过文件访问权限
|
||||
public static final String USER_REQUEST_READ_WRITE_PERMISSION = "user_request_read_write_permission";
|
||||
//用户是否请求过麦克风权限
|
||||
public static final String USER_REQUEST_RECORD_AUDIO_PERMISSION = "user_request_record_audio_permission";
|
||||
//用户是否请求过相机权限
|
||||
public static final String USER_REQUEST_CAMERA_PERMISSION = "user_request_camera_permission";
|
||||
//用户当前定位省份
|
||||
public static final String USER_LOCATION_PROVICE_NAME = "user_location_provice_name";
|
||||
//用户当前定位城市
|
||||
public static final String USER_LOCATION_CITY_NAME = "user_location_city_name";
|
||||
//用户当前定位县区
|
||||
public static final String USER_LOCATION_COUNTY_NAME = "user_location_county_name";
|
||||
|
||||
public static final String USER_SELECT_PROVICE_NAME = "user_select_provice_name";
|
||||
//用户当前定位城市
|
||||
public static final String USER_SELECT_CITY_NAME = "user_select_city_name";
|
||||
//用户当前定位县区
|
||||
public static final String USER_SELECT_COUNTY_NAME = "user_select_county_name";
|
||||
//首页用户定位code
|
||||
public static final String INDEX_LOCATION_PROVINCE_CODE = "index_location_province_code";
|
||||
//用户当前定位县区
|
||||
public static final String INDEX_LOCATION_CITY_CODE = "index_location_city_code";
|
||||
//首页用户定位code
|
||||
public static final String INDEX_SELECT_PROVINCE_CODE = "index_select_province_code";
|
||||
//用户当前定位县区
|
||||
public static final String INDEX_SELECT_CITY_CODE = "index_select_city_code";
|
||||
//用户提交的企业会员认证结果
|
||||
public static final String USER_REVIEW_STATUS_CODE = "user_review_status_code";
|
||||
//用户是否为企业会员
|
||||
public static final String USER_IS_VIP_FLAG = "user_is_vip_flag";
|
||||
//用户资料中的个人手机号码
|
||||
public static final String USER_INFO_PHONE_NUMBER = "user_info_phone_number";
|
||||
//用户资料中头像
|
||||
public static final String USER_INFO_AVATAR = "user_info_avatar";
|
||||
//用户资料昵称
|
||||
public static final String USER_NICKNAME = "user_nickname";
|
||||
//企业名称
|
||||
public static final String USER_UPLOAD_COMPANY_NAME = "user_upload_company_name";
|
||||
//单位名称
|
||||
public static final String GOODS_UNIT_JSON = "goods_unit_json";
|
||||
//运费json
|
||||
public static final String TRANS_COST_JSON = "trans_cost_json";
|
||||
//品牌名称json
|
||||
public static final String GOODS_BRAND_JSON = "goods_brand_json";
|
||||
//所有字典
|
||||
public static final String MRO_BRAND_DICT_JSON = "mro_dict_json";
|
||||
/********************大宗相关*********************/
|
||||
public static final String DICT_DATAS_JSON = "dict_datas_json";
|
||||
//生成订单来自何处 100商品详情 200购物车
|
||||
public static final int CREAT_ORDER_FROM_PRODUCT_CODE = 100;
|
||||
public static final int CREAT_ORDER_FROM_SHOPCAR_CODE = 200;
|
||||
/********************订单相关*********************/
|
||||
public static final int ORDER_ALLCODE = -1;//全部
|
||||
public static final int ORDER_DAIZHIFU = 0;//待支付
|
||||
public static final int ORDER_WEIFAHUO = 1;//未发货
|
||||
public static final int ORDER_DAISHOUHUO = 2;//待收货
|
||||
public static final int ORDER_YIWANCHENG = 3;//已完成
|
||||
public static final int ORDER_CANCELED = 4;
|
||||
public static final int ORDER_SHOUHOU = 5;//待收货
|
||||
public static final int ORDER_BUFENFAHUO = 7;//待收货
|
||||
public static final int ORDER_DAIQUEREN = 8;//待确认
|
||||
public static final int ORDER_JIESUANZHONG = 9;//结算中
|
||||
public static final int ORDER_CHULIZHONG = 0;//处理中
|
||||
|
||||
/*******询价单********/
|
||||
public static final int XJ_BAOJIAZHONG_CODE = 0;//报价中
|
||||
public static final int XJ_YIBAOJIA_CODE = 1;//已报价
|
||||
public static final int XJ_YICHEXIAO_CODE = 2;//已撤销
|
||||
//权限申请请求
|
||||
public static final int PERMISSION_QUEST = 500;
|
||||
/***************权限相关*******************/
|
||||
//地址
|
||||
public static final int ACCESS_FINE_LOCATION = 1;
|
||||
//授权读取文件
|
||||
public static final int WRITE_FILE_PERMISSON_CPDE = 1001;
|
||||
//读取文件
|
||||
public static final int READ_EXTERNAL_STORAGE = 2;
|
||||
//相机权限
|
||||
public static final int CAMERA_AUTH_CODE = 1003;
|
||||
//快速下单,下载模板到手机
|
||||
public static final int DOWN_TEMPLATE_CODE = 1004;
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user