Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web_index
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tufengqi
web_index
Commits
288fe6f6
Commit
288fe6f6
authored
Aug 30, 2018
by
tufengqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增ENVphp
parent
6d6f0db8
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
5 additions
and
25 deletions
+5
-25
.gitignore
.gitignore
+2
-7
VersionApp.php
VersionApp.php
+3
-0
common-basic.php
inner_site/cms_otc_api/common-basic.php
+0
-2
common-basic.php
inner_site/devops/common-basic.php
+0
-1
basic.php
package_sites/risk_sites/application/basic.php
+0
-2
basic.php
package_sites/risk_sites/backend/basic.php
+0
-2
common-basic.php
thrift_impl/market/common-basic.php
+0
-2
common-basic.php
thrift_impl/otc/common-basic.php
+0
-2
common-basic.php
thrift_impl/risk/common-basic.php
+0
-2
common-basic.php
user_site/inner_zhaobi/common-basic.php
+0
-2
common-basic.php
user_site/zhaobi/common-basic.php
+0
-2
zhaobi-broker-index.php
user_site/zhaobi_broker/zhaobi-broker-index.php
+0
-1
No files found.
.gitignore
View file @
288fe6f6
...
@@ -5,9 +5,4 @@
...
@@ -5,9 +5,4 @@
.DS_Store
.DS_Store
.idea
.idea
.vscode
.vscode
/inner_site/cms_otc_api/common-basic.php
Env.php
/inner_site/devops/common-basic.php
\ No newline at end of file
/thrift_impl/otc/common-basic.php
/thrift_impl/market/common-basic.php
/user_site/inner_zhaobi/common-basic.php
/user_site/zhaobi/common-basic.php
\ No newline at end of file
VersionApp.php
View file @
288fe6f6
<?php
<?php
$env
=
include
(
__DIR__
.
'/Env.php'
);
$env
=
trim
(
$env
);
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
$env
);
defined
(
'SERVICE_FORCE_VERSION_KEY'
)
||
define
(
'SERVICE_FORCE_VERSION_KEY'
,
'thrift_impl_version'
);
defined
(
'SERVICE_FORCE_VERSION_KEY'
)
||
define
(
'SERVICE_FORCE_VERSION_KEY'
,
'thrift_impl_version'
);
require_once
__DIR__
.
'/InitAppHelper.php'
;
require_once
__DIR__
.
'/InitAppHelper.php'
;
require
$app_package_path
.
'LoadConfig.php'
;
require
$app_package_path
.
'LoadConfig.php'
;
...
...
inner_site/cms_otc_api/common-basic.php
View file @
288fe6f6
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'inner_site/';
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'inner_site/';
$base_path
=
$origin_base_path
=
$index_root_path
.
'inner_site/cms_otc_api/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'inner_site/cms_otc_api/'
;
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'inner_site_otc_cms_api_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'inner_site_otc_cms_api_version'
);
$version_path
=
$index_root_path
.
'version/'
;
$version_path
=
$index_root_path
.
'version/'
;
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'test'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'cms_otc_api_main_web.php'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'cms_otc_api_main_web.php'
);
/* 需要修改的参数>> */
/* 需要修改的参数>> */
\ No newline at end of file
inner_site/devops/common-basic.php
View file @
288fe6f6
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'inner_site/';
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'inner_site/';
$base_path
=
$origin_base_path
=
$index_root_path
.
'inner_site/devops/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'inner_site/devops/'
;
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'inner_site_devops_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'inner_site_devops_version'
);
$version_path
=
$index_root_path
.
'version/'
;
$version_path
=
$index_root_path
.
'version/'
;
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'test'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'devops_main_web.php'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'devops_main_web.php'
);
/* 需要修改的参数>> */
/* 需要修改的参数>> */
package_sites/risk_sites/application/basic.php
View file @
288fe6f6
...
@@ -5,7 +5,6 @@ $app_package_path = $index_root_path . 'thrift_impl/';
...
@@ -5,7 +5,6 @@ $app_package_path = $index_root_path . 'thrift_impl/';
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/risk-sites/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/risk-sites/'
;
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'thrift_impl_risk_sites_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'thrift_impl_risk_sites_version'
);
$version_path
=
$index_root_path
.
'version/'
;
$version_path
=
$index_root_path
.
'version/'
;
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'local'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'thrift_impl_risk_sites_main_web.php'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'thrift_impl_risk_sites_main_web.php'
);
defined
(
'APP_FOLDER'
)
||
define
(
'APP_FOLDER'
,
basename
(
__DIR__
));
defined
(
'APP_FOLDER'
)
||
define
(
'APP_FOLDER'
,
basename
(
__DIR__
));
/* 需要修改的参数>> */
/* 需要修改的参数>> */
\ No newline at end of file
package_sites/risk_sites/backend/basic.php
View file @
288fe6f6
...
@@ -5,7 +5,6 @@ $app_package_path = $index_root_path . 'thrift_impl/';
...
@@ -5,7 +5,6 @@ $app_package_path = $index_root_path . 'thrift_impl/';
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/risk-sites/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/risk-sites/'
;
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'thrift_impl_risk_sites_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'thrift_impl_risk_sites_version'
);
$version_path
=
$index_root_path
.
'version/'
;
$version_path
=
$index_root_path
.
'version/'
;
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'local'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'thrift_impl_risk_sites_main_web.php'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'thrift_impl_risk_sites_main_web.php'
);
defined
(
'APP_FOLDER'
)
||
define
(
'APP_FOLDER'
,
basename
(
__DIR__
));
defined
(
'APP_FOLDER'
)
||
define
(
'APP_FOLDER'
,
basename
(
__DIR__
));
/* 需要修改的参数>> */
/* 需要修改的参数>> */
\ No newline at end of file
thrift_impl/market/common-basic.php
View file @
288fe6f6
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'thrift_impl/';
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'thrift_impl/';
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/market-service-impl/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/market-service-impl/'
;
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'thrift_impl_market_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'thrift_impl_market_version'
);
$version_path
=
$index_root_path
.
'version/'
;
$version_path
=
$index_root_path
.
'version/'
;
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'test'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'market_main_web.php'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'market_main_web.php'
);
/* 需要修改的参数>> */
/* 需要修改的参数>> */
\ No newline at end of file
thrift_impl/otc/common-basic.php
View file @
288fe6f6
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'thrift_impl/';
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'thrift_impl/';
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/otc-service-impl/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/otc-service-impl/'
;
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'thrift_impl_otc_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'thrift_impl_otc_version'
);
$version_path
=
$index_root_path
.
'version/'
;
$version_path
=
$index_root_path
.
'version/'
;
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'test'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'otc_main_web.php'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'otc_main_web.php'
);
/* 需要修改的参数>> */
/* 需要修改的参数>> */
\ No newline at end of file
thrift_impl/risk/common-basic.php
View file @
288fe6f6
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'thrift_impl/';
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'thrift_impl/';
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/risk-service-impl/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/risk-service-impl/'
;
defined
(
'VERSION_KEY'
)
or
define
(
'VERSION_KEY'
,
'thrift_impl_risk_version'
);
defined
(
'VERSION_KEY'
)
or
define
(
'VERSION_KEY'
,
'thrift_impl_risk_version'
);
$version_path
=
$index_root_path
.
'version/'
;
$version_path
=
$index_root_path
.
'version/'
;
defined
(
'SERVICE_ENV'
)
or
define
(
'SERVICE_ENV'
,
'test'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
or
define
(
'MAIN_WEB_CONFIG_FILE'
,
'risk_main_web.php'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
or
define
(
'MAIN_WEB_CONFIG_FILE'
,
'risk_main_web.php'
);
/* 需要修改的参数>> */
/* 需要修改的参数>> */
\ No newline at end of file
user_site/inner_zhaobi/common-basic.php
View file @
288fe6f6
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'user_site/';
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'user_site/';
$base_path
=
$origin_base_path
=
$index_root_path
.
'user_site/zhaobi/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'user_site/zhaobi/'
;
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'user_site_zhaobi_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'user_site_zhaobi_version'
);
$version_path
=
$index_root_path
.
'version/'
;
$version_path
=
$index_root_path
.
'version/'
;
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'test'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'inner_zhaobi_main_web.php'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'inner_zhaobi_main_web.php'
);
/* 需要修改的参数>> */
/* 需要修改的参数>> */
\ No newline at end of file
user_site/zhaobi/common-basic.php
View file @
288fe6f6
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'user_site/';
...
@@ -5,6 +5,5 @@ $app_package_path = $index_root_path . 'user_site/';
$base_path
=
$origin_base_path
=
$index_root_path
.
'user_site/zhaobi/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'user_site/zhaobi/'
;
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'user_site_zhaobi_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'user_site_zhaobi_version'
);
$version_path
=
$index_root_path
.
'version/'
;
$version_path
=
$index_root_path
.
'version/'
;
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'test'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'zhaobi_main_web.php'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'zhaobi_main_web.php'
);
/* 需要修改的参数>> */
/* 需要修改的参数>> */
\ No newline at end of file
user_site/zhaobi_broker/zhaobi-broker-index.php
View file @
288fe6f6
...
@@ -6,7 +6,6 @@ $app_package_path = $index_root_path . 'user_site/';
...
@@ -6,7 +6,6 @@ $app_package_path = $index_root_path . 'user_site/';
$base_path
=
$origin_base_path
=
$index_root_path
.
'user_site/zhaobi_apps/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'user_site/zhaobi_apps/'
;
define
(
'VERSION_KEY'
,
'user_site_zhaobi_version'
);
define
(
'VERSION_KEY'
,
'user_site_zhaobi_version'
);
$version_path
=
$index_root_path
.
'version/'
;
$version_path
=
$index_root_path
.
'version/'
;
defined
(
'SERVICE_ENV'
)
or
define
(
'SERVICE_ENV'
,
'local'
);
/* 需要修改的参数>> */
/* 需要修改的参数>> */
require
dirname
(
dirname
(
__DIR__
))
.
'/VersionApp.php'
;
require
dirname
(
dirname
(
__DIR__
))
.
'/VersionApp.php'
;
date_default_timezone_set
(
'Etc/GMT-8'
);
date_default_timezone_set
(
'Etc/GMT-8'
);
...
...
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