Commit 94dac08e authored by huangwenjie's avatar huangwenjie

1

parent 77893eeb
......@@ -97,7 +97,7 @@
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [2, 2, 2]
window['bulletNum'] = [5, 7, 10]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
......
......@@ -24,8 +24,8 @@ class TuiaAutoUpload {
var _this = this;
this.client = new OSS({
region: 'oss-cn-hangzhou',
accessKeyId: 'LTAIdGi1IOap7fkF',
accessKeySecret: 'SKrOOp6EVtDGEV47yn0t2h97gyNioQ',
accessKeyId: 'LTAIqO2wblIxQvwc',
accessKeySecret: '4brsaSRbRpjxw3oDIxJi6bNMcndIR6',
bucket: _this.type === 'prod' ? 'duiba' : 'daily-duiba'
});
this.bar = new ProgressBar(chalk.yellow(` 文件上传中 [:bar] :current/${this.files().length} :percent :elapseds`), {
......@@ -57,8 +57,8 @@ class TuiaAutoUpload {
var filedir = path.join(filePath, filename);
//根据文件路径获取文件信息,返回一个fs.Stats对象
var stats = fs.statSync(filedir);
var isFile = stats.isFile();//是文件
var isDir = stats.isDirectory();//是文件夹
var isFile = stats.isFile(); //是文件
var isDir = stats.isDirectory(); //是文件夹
if (isFile) {
var sep = '/';
if ('win32' == process.platform)
......@@ -68,7 +68,7 @@ class TuiaAutoUpload {
_this._files.push(newDirArr.join('/'));
}
if (isDir) {
fileDisplay(filedir);//递归,如果是文件夹,就继续遍历该文件夹下面的文件
fileDisplay(filedir); //递归,如果是文件夹,就继续遍历该文件夹下面的文件
}
});
......@@ -146,4 +146,4 @@ const autoupload = new TuiaAutoUpload({
originDir: `/db_games/${config.type}/${config.name}/${version}/`
}, "prod")
autoupload.start()
autoupload.start()
\ No newline at end of file
......@@ -449,7 +449,7 @@ export default class GameScene extends Scene {
offAngle = 40;
}
let endAngle = offAngle + Math.floor(100 * Math.random());
let time = 1000;
let time = window['speedTime'] ? window['speedTime'] : 1200//1000;
// if (this.isMPBank()) {
// time = 1000;
// } else {
......
......@@ -67,7 +67,7 @@ export default class OutWinPanel extends Panel {
NetManager.ins.clickLog(exposure);
setTimeout(() => {
window.location.href = window['MPBankGiftLink'] + '&wechatid=' + DataManager.ins.getInfoData.uid + '&shareid=' + DataManager.ins.getInfoData.uid;
window.location.href = window['MPBankGiftLink'] + '&wechatid=' + DataManager.ins.getInfoData.uid;
}, 200)
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment