| | |
| | | import cn.flightfeather.thirdappmodule.util.GlobalConfig; |
| | | import cn.flightfeather.thirdappmodule.util.crashreport.MyCrashHandler; |
| | | import cn.flightfeather.thirdappmodule.util.notification.MyNotificationChannel; |
| | | import cn.flightfeather.thirdappmodule.util.push.PushService; |
| | | import cn.flightfeather.thirdappmodule.util.tbs.Tbs; |
| | | import retrofit2.Retrofit; |
| | | import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory; |
| | |
| | | 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 final String ROOT_URL ="http://192.168.0.146:8080/"; |
| | | public final String ROOT_URL_IMAGE ="http://192.168.0.146:8080/images/"; |
| | | public String ROOT_URL ="http://192.168.0.146:8080/"; |
| | | public String ROOT_URL_IMAGE ="http://192.168.0.146:8080/images/"; |
| | | |
| | | public String ROOT_URL_RELEASE = "http://47.100.191.150:9005/"; |
| | | public String ROOT_URL_RELEASE_IMAGE = ROOT_URL_RELEASE + "images/"; |
| | |
| | | MyNotificationChannel.Companion.init(this); |
| | | |
| | | //初始化移动推送 |
| | | PushService.Companion.init(this); |
| | | // PushService.Companion.init(this); |
| | | |
| | | if (instance == null) { |
| | | instance = this; |