Files
Android-WaterProject/app/src/main/java/com/ckkj/water/AppConfig.java
fengjignqi 1b1575eb8a first
2026-05-16 16:19:39 +08:00

120 lines
5.5 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.ckkj.water;
public class AppConfig {
/**************************生产*******************************/
// public static String BASE_URL = "https://www.mingdengbazi.site/";//测试【http://114.55.12.112/】【https://www.mingdengbazi.site/】
// public static String BASE_URL_TWO = BASE_URL;//测试
// public static String BASE_URL_THREE = BASE_URL;//测试
// public static boolean IS_TEST_REQUEST = false;
/**************************测试*******************************/
// public static String BASE_URL = "http://47.106.83.229:8081/";//测试http://47.106.83.166:8001/
// public static String BASE_URL_TWO = BASE_URL;//测试
// public static String BASE_URL_THREE = BASE_URL;//测试
// public static boolean IS_TEST_REQUEST = true;
/**************************本地*******************************/
public static String BASE_URL = "http://192.168.1.67:8081/";//测试
public static String BASE_URL_TWO = BASE_URL;//测试
public static String BASE_URL_THREE = BASE_URL;//测试
public static boolean IS_TEST_REQUEST = true;
/**************************生产*******************************/
//
// public static String BASE_URL = "https://gw.dingdingche.net/";//测试
// public static String BASE_URL_TWO = "https://gw.dingdingche.net/";//测试
// public static String BASE_URL_THREE = "https://gw.dingdingche.net/";//测试
// public static String BASE_URL_LOCAL = "http://192.168.100.234:48080";//大宗测试
// public static String RONGCLOUD_APPKEY = "n19jmcy5nh7s9";//融云通信AppKey
// public static String KKFILE_PREVIEW_URL = "";//文件kkFile拼接预览
// public static String SERVICE_WEB_URL = "https://mro.jkmass.com/testService?token=";//测试
// public static boolean IS_TEST_REQUEST = false;
public static boolean USER_CONFIRM_UPDATE_APP = false;
//生成订单相关
/**************************生产******************************/
// public static String BASE_URL = "http://192.168.10.28:8083";//测试
////用于登录页面便捷切换账号
public final static boolean APP_TEST_FLAG = true;
//App权限验证码
public static String APP_ENTER_CODE = "";
public static String USER_TOKEN = "";
public static int MEMBER_ID = 0;
//是否登录
public static boolean USER_LOGIN = false;
//用户是否设置了生辰八字
public static boolean USER_SET_BIRTH_INFO = false;
//用户头像
public static String USER_INFO_AVATAR = "";
//手机号验证码登录
public static final int MEMBER_LOGIN = 2;
//缘份居 API 调用的 key
public static String YUANFENJU_API_KEY = "utEK5Kbx2JSkZqnlKypyuz1DK";//公司
// public static String YUANFENJU_API_KEY = "jLCpL92dL8pPh2C9F4rfBattZ";//个人
//密码校验正则/
public static final String PSD_REGEX = "^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]{8,20}$";
//高德地图 AppKey
public static String GAODE_MAP_APP_KEY = "a91364c6bbc2f5c773a949926fae7fb6";//个人
//友盟相关
public static String UMENG_APP_KEY = "6709d097667bfe33f3be702e";
/**************************支付宝相关******************************/
//支付宝Appid
public static final String ALIPAY_APPID = "9021000137698324";
//用于支付宝账户登录授权业务的入参 pid。
public static final String PID = "2088721037230300";
/**************************字典相关******************************/
//缓存商品单位的json
public static String PRODUCT_UNIT_JSON = "";
//缓存商品品牌的json
public static String PRODUCT_BRAND_JSON = "";
public static String WX_APPID = "wx66c35bc33549040a";
//融云回话token
public static String RONG_CLOUD_TALK_TOKEN = "";
//用户userID,,不可见
public static String USER_ID = "";
//用户融云ID
public static String USER_RONGCLOUD_ID = "";
//阿里云配置相关
public static String ALIYUN_ENDPOINT = "https://oss-cn-nanjing.aliyuncs.com";
public static String ALIYUN_BUCKETNAME = "mdbz";
//上传type
public static final int UPLOAD_TYPE_100 = 100;//暂用于头像
public static final int UPLOAD_TYPE_200 = 200;//暂用于车圈
public static final int UPLOAD_TYPE_300 = 300;//暂用于车圈
public static final int UPLOAD_TYPE_400 = 400;//暂用于反馈客服
//汽车品牌在阿里云的地址
public static String ALI_OSS_CAR_BRAND_LOGO = "https://oss.mingdengbazi.site/";
//验证码使用场景值
//登录
public static String SMS_CODE_TYPE_LOGIN = "login";
//注册
public static String SMS_CODE_TYPE_REGISTER = "1";
//修改手机号
public static String SMS_CODE_TYPE_CHANGE_PHONE = "modify";
//注销账号
public static String SMS_CODE_TYPE_LOG_OFF = "cancel";
//绑定支付宝
public static String SMS_CODE_TYPE_BIND_ALIPAY = "4";
//当前车圈筛选的值 0 全部 1 求购2 出售
public static String CURRENT_CAR_CIRCLE_OPTION_CODE = "0";
//邀请页面注册页面的 url
public static String INVITE_REGIST_URL = "https://esca.dingdingche.net/H5/index.html?";
//测试使用 token
public static String TEST_USER_ID = "1897194667309666304";
//用户协议
public static String USER_AGREEMENT = "https://sta.mingdengbazi.site/yhxy.html";
//隐私政策
public static String USER_PRIVACY = "https://sta.mingdengbazi.site/ysxy.html";
//用户分享链接
public static String USER_SHARE_URL = "https://sta.mingdengbazi.site/on/index.html?code=";
}