Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
pingan-marathon
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a77784c3
authored
Nov 15, 2019
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
e1d81348
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
24 deletions
+26
-24
Application/Admin/Controller/ReportController.class.php
+1
-1
Application/Common/Conf/config.php
+3
-3
Application/Common/Conf/db.php
+19
-19
Application/Home/View/default/Index_index.tpl
+2
-0
Application/Home/View/default/layout.tpl
+1
-1
No files found.
Application/Admin/Controller/ReportController.class.php
View file @
a77784c3
...
@@ -13,7 +13,7 @@ class ReportController extends AdminController
...
@@ -13,7 +13,7 @@ class ReportController extends AdminController
if
(
!
$channel
)
{
if
(
!
$channel
)
{
$channel
=
'__all__'
;
$channel
=
'__all__'
;
}
}
$url
=
"https://api2.izhida.cn/tongjiV2/report?app_stat_key=
n85JRQBY6sGfDapr&app_stat_secret=HaTfef4k5rzN6Qnj
"
;
$url
=
"https://api2.izhida.cn/tongjiV2/report?app_stat_key=
PbAMtat8xPmjCcbX&app_stat_secret=fTQ4amWpNJ7asiGi
"
;
$content
=
file_get_contents
(
$url
);
$content
=
file_get_contents
(
$url
);
$data
=
json_decode
(
$content
,
true
);
$data
=
json_decode
(
$content
,
true
);
$data_list
=
$data
[
'data'
];
$data_list
=
$data
[
'data'
];
...
...
Application/Common/Conf/config.php
View file @
a77784c3
...
@@ -13,8 +13,8 @@ return array(
...
@@ -13,8 +13,8 @@ return array(
'AUTH_CLIENT_ID'
=>
'zhida_app'
,
'AUTH_CLIENT_ID'
=>
'zhida_app'
,
'AUTH_CLIENT_PASSWORD'
=>
'izhida'
,
'AUTH_CLIENT_PASSWORD'
=>
'izhida'
,
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
// '__CDN__' => 'https://static3.izhida.cn/cdn1/nex3-avatar/v1.0.9
',
'__CDN__'
=>
'https://static3.izhida.cn/cdn1/pingan-marathon/v1.0.0
'
,
'__CDN__'
=>
'/Public/static'
,
// @readme <-- 上线时修改这里
//
'__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL'
=>
3
,
'URL_MODEL'
=>
3
,
'STORAGE_PATH'
=>
WEB_ROOT_PATH
.
'/Data/Storage'
,
'STORAGE_PATH'
=>
WEB_ROOT_PATH
.
'/Data/Storage'
,
'DEFAULT_FILTER'
=>
''
,
// 默认参数过滤方法 用于I函数...。注意这块不能修改!!!!
'DEFAULT_FILTER'
=>
''
,
// 默认参数过滤方法 用于I函数...。注意这块不能修改!!!!
...
@@ -23,7 +23,7 @@ return array(
...
@@ -23,7 +23,7 @@ return array(
'ERROR_PAGE'
=>
'/50x.html'
,
'ERROR_PAGE'
=>
'/50x.html'
,
'SITE_URL'
=>
'https://'
.
(
isset
(
$_SERVER
[
'HTTP_HOST'
])
?
$_SERVER
[
'HTTP_HOST'
]
:
'moli.gnhj.izhida.cn'
),
'SITE_URL'
=>
'https://'
.
(
isset
(
$_SERVER
[
'HTTP_HOST'
])
?
$_SERVER
[
'HTTP_HOST'
]
:
'moli.gnhj.izhida.cn'
),
'PUBLISH_MODE'
=>
'
development
'
,
// development,test,production
'PUBLISH_MODE'
=>
'
production
'
,
// development,test,production
...
...
Application/Common/Conf/db.php
View file @
a77784c3
<?php
<?php
// return array(
// 'DB_TYPE' => 'mysql',
// 'DB_HOST' => 'izhidaicbc2.mysql.rds.aliyuncs.com',
// 'DB_PORT' => '3306',
// 'DB_NAME' => '', // <--- 修改这里
// 'DB_USER' => 'zhida', // <--- 修改这里
// 'DB_PWD' => 'zhida_app_1212', // <--- 修改这里
// 'DB_PREFIX' => '',
// 'DB_CHARSET' => 'utf8mb4',
// );
return
array
(
return
array
(
'DB_TYPE'
=>
'mysql'
,
'DB_TYPE'
=>
'mysql'
,
'DB_HOST'
=>
'localhost
'
,
'DB_HOST'
=>
'izhidaicbc2.mysql.rds.aliyuncs.com
'
,
'DB_PORT'
=>
'3306'
,
'DB_PORT'
=>
'3306'
,
'DB_NAME'
=>
'dev_pingan_20191111
_marathon'
,
// <--- 修改这里
'DB_NAME'
=>
'project_pingan_20191115
_marathon'
,
// <--- 修改这里
'DB_USER'
=>
'dev
'
,
// <--- 修改这里
'DB_USER'
=>
'zhida
'
,
// <--- 修改这里
'DB_PWD'
=>
'1q2w3e
'
,
// <--- 修改这里
'DB_PWD'
=>
'zhida_app_1212
'
,
// <--- 修改这里
'DB_PREFIX'
=>
''
,
'DB_PREFIX'
=>
''
,
'DB_CHARSET'
=>
'utf8mb4'
,
'DB_CHARSET'
=>
'utf8mb4'
,
);
);
// return array(
// 'DB_TYPE' => 'mysql',
// 'DB_HOST' => 'localhost',
// 'DB_PORT' => '3306',
// 'DB_NAME' => 'dev_pingan_20191111_marathon', // <--- 修改这里
// 'DB_USER' => 'dev', // <--- 修改这里
// 'DB_PWD' => '1q2w3e', // <--- 修改这里
// 'DB_PREFIX' => '',
// 'DB_CHARSET' => 'utf8mb4',
// );
Application/Home/View/default/Index_index.tpl
View file @
a77784c3
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
// body 主题部分
// body 主题部分
{:block name="body"}
{:block name="body"}
<div
class=
"page-1986 page1 page animated"
><div
class=
"res-26992 bg"
></div><div
class=
"res-26993 hide copywriting2"
></div><div
class=
"res-26994 hide btn-tocreate"
></div><div
class=
"res-26995 btn-tocreate"
><input
name=
"btn-tocreate"
type=
"file"
accept=
"image/*"
/></div><div
class=
"res-27045 copywriting1"
></div><div
class=
"res-26997 subtitle"
></div><div
class=
"res-26998 title"
></div><div
class=
"res-26999 logo-top"
></div><div
class=
"res-27000 logo-bottom"
></div><div
class=
"res-27043 music"
></div></div><div
class=
"page-1987 upload-page page animated"
><div
class=
"res-27015 hd"
></div><div
class=
"res-27001 btn-back"
></div><div
class=
"res-27002 tip"
></div><div
class=
"res-27003 hand"
></div><div
class=
"res-27004 btn-toposter"
></div><div
class=
"res-27005 btn-toheadimg"
></div><div
class=
"res-27006 btn-slideleft"
></div><div
class=
"res-27007 btn-slideright"
></div><div
class=
"res-27008 customize"
><input
name=
"customize"
type=
"text"
/></div><div
class=
"res-27014 canvas-block"
></div><div
class=
"res-27044 hide template5 template"
></div><div
class=
"res-27010 hide template4 template"
></div><div
class=
"res-27011 hide template3 template"
></div><div
class=
"res-27012 hide template2 template"
></div><div
class=
"res-27013 template1 template"
></div><div
class=
"res-27016 hammer-block"
></div></div><div
class=
"page-1989 headimg-page page animated"
><div
class=
"res-27034 hd"
></div><div
class=
"res-27031 btn-back"
></div><div
class=
"res-27032"
></div><div
class=
"res-27033"
></div><div
class=
"res-27035 headimg-canvas-block"
></div></div><div
class=
"page-1990 poster-page page animated"
><div
class=
"res-27041 hd"
></div><div
class=
"res-27036 btn-share"
></div><div
class=
"res-27037"
></div><div
class=
"res-27038 btn-back"
></div><div
class=
"res-27042 hide hd share-block"
><div
class=
"res-27039 share-arrow"
></div></div><div
class=
"res-27040 poster-canvas-block"
></div></div>
{:/block}
{:/block}
//js 文件导入
//js 文件导入
{:block name="js"}
{:block name="js"}
...
...
Application/Home/View/default/layout.tpl
View file @
a77784c3
...
@@ -118,7 +118,7 @@
...
@@ -118,7 +118,7 @@
};
};
</script>
</script>
<script
type=
"text/javascript"
<script
type=
"text/javascript"
src=
"https://api2.izhida.cn/wechat_js_config?app_id=wx4c3c856ab83a946b&v=1.2.1&api_list=all&app_stat_key="
></script>
src=
"https://api2.izhida.cn/wechat_js_config?app_id=wx4c3c856ab83a946b&v=1.2.1&api_list=all&app_stat_key=
PbAMtat8xPmjCcbX
"
></script>
<script
src=
"__CDN__/js/jquery-2.1.3.min.js"
></script>
<script
src=
"__CDN__/js/jquery-2.1.3.min.js"
></script>
<script
src=
"__CDN__/js/jquery-notify.min.js"
></script>
<script
src=
"__CDN__/js/jquery-notify.min.js"
></script>
<script
src=
"__CDN__/js/hammer.min.js"
></script>
<script
src=
"__CDN__/js/hammer.min.js"
></script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment