Commit b614c13d by kubisk

dos

parent ceea778b
......@@ -67,7 +67,7 @@ class OAuthHelperV3
'xauth' => $this->xauth,
);
$qs = http_build_query($form);
$url = 'https://third.izhida.cn/api/oauth?' . $qs;
$url = 'https://third.iacode.cn/api/oauth?' . $qs;
return $url;
}
......
......@@ -11,7 +11,7 @@
// );
return array(
'DB_TYPE' => 'mysql',
'DB_TYPE' => 'mysqli',
'DB_HOST' => 'localhost',
'DB_PORT' => '3306',
'DB_NAME' => 'dev_citic_20200420_mdrt', // <--- 修改这里
......@@ -19,5 +19,5 @@ return array(
'DB_PWD' => '1q2w3e', // <--- 修改这里
'DB_PREFIX' => '',
'DB_CHARSET' => 'utf8mb4',
);
<?php
return array(
// 额外配置文件
'LOAD_EXT_CONFIG' => 'db,route',
// cookie签名使用,防止用户伪造
'COOKIE_SIGN' => 'your_cookie_sign_used_in_singed_cookie',
// 微信授权,通过key、token调用智达接口并验证智达返回数据
'AUTH_SUPPORT_FAKE_OPENID' => true,
'AUTH_APP_ID' => 'wx3d1fe32645ff9e8d',
'AUTH_CLIENT_ID' => 'zhida_app',
'AUTH_CLIENT_PASSWORD' => 'iacode',
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
// '__CDN__' => 'https://static3.iacode.cn/cdn1/pingan-promise/v1.0.2',
'__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL' => 3,
'STORAGE_PATH' => WEB_ROOT_PATH . '/Data/Storage',
'DEFAULT_FILTER' => '', // 默认参数过滤方法 用于I函数...。注意这块不能修改!!!!
'MODULE_ALLOW_LIST' => array('Home', 'Cli', 'Api', 'Admin'),
'SHOW_PAGE_TRACE' => false,
'ERROR_PAGE' =>'/50x.html',
'SITE_URL' => 'https://' . (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'moli.gnhj.iacode.cn'),
'PUBLISH_MODE' => 'development', // development,test,production
// 'UPLOAD_SITEIMG_QINIU' => array(
// 'maxSize' => 5 * 1024 * 1024,//文件大小
// 'rootPath' => './',
// 'saveName' => array('uniqid', ''),
// 'driver' => 'Qiniu',
// 'driverConfig' => array(
// 'accessKey' => 'ggMPohY9_87Q69nDYUMwvR7XqlLYAREH-btbJG3U',
// 'secrectKey' => 'OPzIqCWVMDs7tAYjPi9Hn7JkxBj2CtHARCCEnrdd',
// 'domain' => 'geely-cdn.iacode.cn',
// 'bucket' => 'geelyauto',
// // 'domain' => '7xjtzd.com2.z0.glb.qiniucdn.com',
// // 'bucket' => 'zhida-yingxiaoyi',
// ),
// ),
);
\ No newline at end of file
......@@ -72,8 +72,8 @@
}
</script>
<title>{:block name='title'}中信保诚2019年度MDRT百万圆桌精英荣誉海报{:/block}</title>
{:if $projectId && strpos( $smarty.server.HTTP_HOST , 'dev.izhida.cn') !== false}
<link rel="stylesheet" type="text/css" href="http://projectx.dev.izhida.cn/api/css/rem/{:$rem}/id/{:$projectId}?version={:$version}"
{:if $projectId && strpos( $smarty.server.HTTP_HOST , 'dev.iacode.cn') !== false}
<link rel="stylesheet" type="text/css" href="http://projectx.dev.iacode.cn/api/css/rem/{:$rem}/id/{:$projectId}?version={:$version}"
media="all"/>
{:else}
<link rel="stylesheet" type="text/css" href="__CDN__/css/main.min.css" media="all"/>
......@@ -87,8 +87,8 @@
<body>
<div class="wrap">
<div class="wrap-inner">
{:if $projectId && strpos( $smarty.server.HTTP_HOST , 'dev.izhida.cn') !== false}
{:"http://projectx.dev.izhida.cn/api/html/id/`$projectId`"|file_get_contents}
{:if $projectId && strpos( $smarty.server.HTTP_HOST , 'dev.iacode.cn') !== false}
{:"http://projectx.dev.iacode.cn/api/html/id/`$projectId`"|file_get_contents}
{:else}
{:block name='body'}{:/block}
{:/if}
......
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