推送代码

This commit is contained in:
尹吉欢
2018-03-15 11:58:48 +08:00
parent 7f97d5cb71
commit 1d7328d603
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ document.addEventListener("plusready", function() {
});
} else if (payload.type == "2") {
plus.ui.alert(title+"\n"+content,function(){
openUrl(basePath+'/message/openView?url='+payload.url);
openUrl(BASE_PATH+'/message/openView?url='+payload.url);
});
}
} else {
@@ -59,7 +59,7 @@ document.addEventListener("plusready", function() {
});
} else if (payload.type == "2") {
plus.ui.alert(title+"\n"+content,function(){
openUrl(basePath+'/message/openView?url='+payload.url);
openUrl(BASE_PATH+'/message/openView?url='+payload.url);
});
}
}, false);
+1
View File
@@ -29,6 +29,7 @@
</nav>
<script src="js/mui.min.js"></script>
<script src="config.js"></script>
<script src="js/push-common.js"></script>
<script type="text/javascript" charset="utf-8">
document.getElementById("quotations").setAttribute("href", BASE_PATH + '/quotations/index');
document.getElementById("selfInfo").setAttribute("href", BASE_PATH + '/selfInfo/index');