Commit 5df338f4 by doszhang

dos

parent 390fb88f
......@@ -13,7 +13,7 @@ return array(
'AUTH_CLIENT_ID' => 'zhida_app',
'AUTH_CLIENT_PASSWORD' => 'izhida',
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
'__CDN__' => 'https://static3.izhida.cn/cdn1/chinaamc-2020flag/v1.1.4',
'__CDN__' => 'https://static3.izhida.cn/cdn1/chinaamc-2020flag/v1.1.5',
// '__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL' => 3,
'STORAGE_PATH' => WEB_ROOT_PATH . '/Data/Storage',
......
......@@ -481,7 +481,7 @@ function createPoster() {
let decorate = new Image();
decorate.src = checkedDecorate;
decorate.onload = function () {
// posterCtx.drawImage(decorate, pxToRem(170 * 2), pxToRem(305 * 2), pxToRem(300 * 2), pxToRem(150 * 2));
posterCtx.drawImage(decorate, pxToRem(170 * 2), pxToRem(305 * 2), pxToRem(300 * 2), pxToRem(150 * 2));
flagTextDraw(posterCtx, signature, pxToRem(40 * 2), '#222222', pxToRem(230 * 2), (bottomHalfTop + pxToRem(103)) * 2, 'font');
flagTextDraw(posterCtx, getTime(), pxToRem(20 * 2), '#222222', pxToRem(230 * 2), (bottomHalfTop + pxToRem(136)) * 2);
setTimeout(function () {
......
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