| | |
| | | */ |
| | | |
| | | public class Api { |
| | | // public static final String BASE_URL = "https://igo.i-go.group/driver-server/"; |
| | | public static final String BASE_URL = "https://gopost.ci/driver-server/"; |
| | | // public static final String BASE_URL = "http://221.182.45.100:5000/driver-server/"; |
| | | |
| | | public static final String SOCKET_SERVER = "34.155.170.245"; |
| | | // public static final String SOCKET_SERVER = "221.182.45.100"; |
| | | public static final int SOCKET_PORT = 8888; |
| | | public static final boolean isTest = false; |
| | | public static final String BASE_URL_TEST = "http://192.168.110.111:5000/driver-server/"; |
| | | public static final String SOCKET_SERVER_TEST = "192.168.110.111"; |
| | | public static final int SOCKET_PORT_TEST = 9991; |
| | | public static final String BASE_URL = isTest ? BASE_URL_TEST : "https://gopost.ci/driver-server/"; |
| | | public static final String SOCKET_SERVER = isTest ? SOCKET_SERVER_TEST : "34.155.170.245"; |
| | | public static final int SOCKET_PORT = isTest ? SOCKET_PORT_TEST : 8888; |
| | | public static final int SUCCESS = 200; |
| | | // http://182.160.16.251:81/share/share/shareIndex.html?type=2&uid=2&language=1 |
| | | public static final String strShare = "https://igo.i-go.group/share/share/shareIndex%d.html?language=%d_2_%s" ; |
| | |
| | | public static String replaceCar = "api/driver/replaceCar"; //api/driver/replaceCar 更换车辆 |
| | | public static String queryPhoneAll = "api/driver/queryPhone"; //api/driver/queryPhone 获取客服电话 |
| | | public static String queryByType = "base/agreement/queryByType"; //base/agreement/queryByType 获取各种协议及H5页面 |
| | | public static String queryNewData = "api/version/queryNewData"; //api/version/queryNewData 获取最新版本数据 |
| | | public static String queryNewData = "base/version/queryNewData"; //api/version/queryNewData 获取最新版本数据 |
| | | public static String updatePhone = "api/driver/updatePhone"; //api/driver/updatePhone 修改手机号码 |
| | | |
| | | public static String updatePhone1 = "api/driver/updatePhone1"; //api/driver/updatePhone1 修改手机号码 |
| | |
| | | public static String completeOrder ="api/order/completeOrder";//手动确认订单完成 |
| | | |
| | | public static String companyList ="base/driver/companyList";//获取运营公司列表 |
| | | public static String saveLog ="api/appLog/save";//手机端日志记录 |
| | | |
| | | |
| | | |