|
@@ -29,6 +29,10 @@
|
|
//APP检查更新
|
|
//APP检查更新
|
|
function checkAppUpdate() {
|
|
function checkAppUpdate() {
|
|
var updateUrl = "http://upgrade.app.rltest.cn/czapp_apk/version.xml";
|
|
var updateUrl = "http://upgrade.app.rltest.cn/czapp_apk/version.xml";
|
|
|
|
+ if(window.AppVersion){
|
|
|
|
+ var version = window.AppVersion.version;
|
|
|
|
+ console.log('********* current version:'+version+' ************');
|
|
|
|
+ }
|
|
console.log('********* checkAppUpdate start ************');
|
|
console.log('********* checkAppUpdate start ************');
|
|
if(window.AppUpdate){
|
|
if(window.AppUpdate){
|
|
window.AppUpdate.checkAppUpdate(onSuccess, onFail, updateUrl);
|
|
window.AppUpdate.checkAppUpdate(onSuccess, onFail, updateUrl);
|