| | |
| | | */ |
| | | |
| | | public class CommonApplication extends Application { |
| | | // public final String ROOT_URL ="http://192.168.0.200:8080/"; |
| | | // public final String ROOT_URL_IMAGE ="http://192.168.0.200:8080/images/"; |
| | | public String ROOT_URL ="http://192.168.0.146:8081/"; |
| | | public String ROOT_URL_IMAGE ="http://192.168.0.146:8081/images/"; |
| | | |
| | | public String ROOT_URL_RELEASE = "http://47.100.191.150:9005/"; |
| | | // public String ROOT_URL_RELEASE = "http://47.100.191.150:9005/"; |
| | | public String ROOT_URL_RELEASE = "https://fyami.com.cn:447/"; |
| | | public String ROOT_URL_RELEASE_IMAGE = ROOT_URL_RELEASE + "images/"; |
| | | |
| | | public String ROOT_URL ="http://192.168.0.103:9001/"; |
| | | // public String ROOT_URL_IMAGE = ROOT_URL + "images/"; |
| | | public String ROOT_URL_IMAGE = ROOT_URL_RELEASE + "images/"; |
| | | |
| | | // 飞羽环境系统后端接口ip |
| | | // public String ROOT_URL_RELEASE_2 = "http://47.100.191.150:9006/"; |
| | | public String ROOT_URL_RELEASE_2 = "https://fyami.com.cn/"; |
| | | public String ROOT_URL_RELEASE_IMAGE_2 = ROOT_URL_RELEASE_2 + "images/"; |
| | | |
| | | |
| | | private Retrofit retrofit; |
| | | private Retrofit retrofitImage; |
| | |
| | | public void onCreate() { |
| | | super.onCreate(); |
| | | |
| | | new MyCrashHandler(this).init(); |
| | | |
| | | //初始化网络请求 |
| | | RetrofitFactory.init(this); |
| | | |
| | | new MyCrashHandler(this).init(); |
| | | |
| | | //x5内核初始化 |
| | | Tbs.Companion.init(this); |
| | | |