| | |
| | | */ |
| | | |
| | | public class Api { |
| | | private static final boolean IS_TEST = false; |
| | | private static final boolean IS_TEST = true; |
| | | //内网可外部访问 |
| | | public static final String BASE_URL = IS_TEST ? "http://221.182.45.100:7894/driver/" : "https://ride.cbyzx.com/driver/"; |
| | | public static final String SOCKET_SERVER = IS_TEST ? "221.182.45.100" : "115.159.101.223"; |
| | | public static final String BASE_URL = IS_TEST ? "http://192.168.110.111:5000/driver/" : "https://ride.cbyzx.com/driver/"; |
| | | public static final String SOCKET_SERVER = IS_TEST ? "192.168.110.111" : "115.159.101.223"; |
| | | public static final int SOCKET_PORT = 9999; |
| | | |
| | | public static final String strShare = IS_TEST ? "http://221.182.45.100:8443/share/shareIndex.html" : "https://ride.cbyzx.com/share/shareIndex.html"; |
| | |
| | | public static String queryNewData = "api/version/queryNewData"; //api/version/queryNewData 获取最新版本数据 |
| | | public static String updatePhone = "api/driver/updatePhone"; //api/driver/updatePhone 修改手机号码 |
| | | public static String updatePassword = "api/driver/updatePassword"; //api/driver/updatePassword 修改密码 |
| | | public static String queryLastWithdrawal = "api/withdrawal/queryLastWithdrawal"; //api/withdrawal/queryLastWithdrawal 查询上一次提现参数 |
| | | public static String withdrawal = "api/withdrawal/withdrawal"; //api/withdrawal/withdrawal 账户余额提现 |
| | | public static String queryActivityIncome = "api/driver/queryActivityIncome"; //api/driver/queryActivityIncome 获取收益明细 (我的奖励) |
| | | public static String queryWithdrawal = "api/withdrawal/queryWithdrawal"; //api/withdrawal/queryWithdrawal 获取历史提现数据 |