| | |
| | | // app.API_URL_HEADER_BACK = "http://mes.nb-biyi.com:5637/api"; |
| | | |
| | | // app.API_URL = "http://localhost:27611/"; |
| | | // app.API_URL_BACK = "http://localhost:27611/"; |
| | | // app.API_URL_BACK = "http://localhost:27611/"; |
| | | // app.API_URL_HEADER = "http://localhost:27611/api"; |
| | | // app.API_URL_HEADER_BACK = "http://localhost:27611/api"; |
| | | |
| | | // app.API_URL = "http://192.168.4.105:27611"; |
| | | // app.API_URL_BACK = "http://192.168.4.105:27611"; |
| | | // app.API_URL_HEADER = "http://192.168.4.105:27611/api"; |
| | | // app.API_URL_HEADER_BACK = "http://192.168.4.105:27611/api"; |
| | | // app.API_URL = "http://192.168.0.104:27611"; |
| | | // app.API_URL_BACK = "http://192.168.0.104:27611"; |
| | | // app.API_URL_HEADER = "http://192.168.0.104:27611/api"; |
| | | // app.API_URL_HEADER_BACK = "http://192.168.0.104:27611/api"; |
| | | |
| | | // app.API_URL = "http://192.168.1.198:8081/MESAPP"; |
| | | // app.API_URL_BACK = "http://192.168.1.198:8081/MESAPP"; |
| | | // app.API_URL_HEADER = "http://192.168.1.198:8081/MESAPP/api"; |
| | | // app.API_URL_HEADER_BACK = "http://192.168.1.198:8081/MESAPP/api"; |
| | | |
| | | app.API_URL = "http://192.168.1.198:8081/MESAPP"; |
| | | app.API_URL_BACK = "http://192.168.1.198:8081/MESAPP"; |
| | | app.API_URL_BACK = "http://211.140.38.18:8081/MESAPP"; |
| | | app.API_URL_HEADER = "http://192.168.1.198:8081/MESAPP/api"; |
| | | app.API_URL_HEADER_BACK = "http://192.168.1.198:8081/MESAPP/api"; |
| | | app.API_URL_HEADER_BACK = "http://211.140.38.18:8081/MESAPP/api"; |
| | | |
| | | // app.API_URL = "http://211.140.38.18:8081/MESAPP"; |
| | | // app.API_URL_BACK = "http://211.140.38.18:8081/MESAPP"; |
| | |
| | | // app.API_URL_HEADER_BACK = "http://211.140.38.18:8081/MESAPP/api"; |
| | | |
| | | |
| | | |
| | | // app.API_URL = "http://192.168.1.250:8089/MESAPP/"; |
| | | // app.API_URL_BACK = "http://192.168.1.250:8089/MESAPP/"; |
| | | // app.API_URL_HEADER = "http://192.168.1.250:8089/MESAPP/api"; |
| | | // app.API_URL_HEADER_BACK = "http://192.168.1.250:8089/MESAPP/api"; |
| | | |
| | | |
| | | |
| | | // app.API_URL = "http://182.105.131.80:8089/MESAPP/"; |
| | | // app.API_URL_BACK = "http://182.105.131.80:8089/MESAPP/"; |
| | |
| | | }; |
| | | |
| | | app.init = function(callback, firstRun) { |
| | | |
| | | |
| | | //检查网络连接 |
| | | if (plus.networkinfo.getCurrentType() == plus.networkinfo.CONNECTION_NONE) { |
| | | plus.nativeUI.alert("没有网络连接,请开启网络连接后再使用。", function() { |
| | | |
| | | plus.runtime.quit(); |
| | | }, app.APP_NAME_CN); |
| | | } |