Update BaseNet.js

This commit is contained in:
guoqing.zhu 2022-05-31 17:06:03 +08:00
parent 1767ab9140
commit 389884a7dc

View File

@ -81,14 +81,17 @@ function getCommonParam() {
} else {
os = cc.sys.os;
}
let version = '';
return (
'_net=' +
encodeURIComponent(localStorage.getItem('currentNet')) +
'&_os=' +
encodeURIComponent(os) +
'&_version=' +
encodeURIComponent(version)
encodeURIComponent(mainConfig.version) +
'&_hotfixversion=' +
encodeURIComponent(mainConfig.hotfixVersion)+
'&_packageid=' +
encodeURIComponent(mainConfig.packageid)
);
}