Commit 504f9026 by doszhang

dos

parent 5ca132f6
......@@ -13,7 +13,7 @@ return array(
'AUTH_CLIENT_ID' => 'third',
'AUTH_CLIENT_PASSWORD' => 'zhida_third_oauth',
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
'__CDN__' => 'https://static3.izhida.cn/cdn1/maf/v1.0.5',
'__CDN__' => 'https://static3.izhida.cn/cdn1/maf/v1.0.6',
// '__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL' => 3,
'STORAGE_PATH' => WEB_ROOT_PATH . '/Data/Storage',
......
......@@ -398,6 +398,7 @@ function createPoster(callback) {
let posterImg = new Image();
posterImg.src = 'https://maf.izhida.cn/Public/static/image2/poster' + resultType + '.png';
posterImg.onload = function () {
setTimeout(function () {
posterCtx.drawImage(posterImg, 0, 0, posterCanvas.width, posterCanvas.height);
let headimg = new Image();
headimg.src = window.getImageUrl + '?url=' + encodeURI(user_header_url);
......@@ -412,6 +413,8 @@ function createPoster(callback) {
$('.dialog').hide();
callback();
}
}, 500);
}
}, 2000);
}
......
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 sign in to comment