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
a444ab21
Commit
a444ab21
authored
Jul 25, 2018
by
tufengqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
or to ||
parent
6e864b07
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
23 deletions
+29
-23
VersionApp.php
VersionApp.php
+4
-3
common-basic.php
inner_site/cms_otc_api/common-basic.php
+4
-3
common-basic.php
inner_site/devops/common-basic.php
+3
-3
basic.php
package_sites/risk_sites/application/basic.php
+5
-4
basic.php
package_sites/risk_sites/backend/basic.php
+5
-4
common-basic.php
thrift_impl/otc/common-basic.php
+4
-3
common-basic.php
user_site/zhaobi/common-basic.php
+4
-3
No files found.
VersionApp.php
View file @
a444ab21
...
...
@@ -80,9 +80,10 @@ if (true === $location_default_version) {
throw
new
Exception
(
'服务器代码定位错误'
);
}
}
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV_DEV'
)
or
define
(
'YII_ENV_DEV'
,
'dev'
);
defined
(
'APP_FOLDER'
)
or
define
(
'APP_FOLDER'
,
'application'
);
defined
(
'YII_DEBUG'
)
||
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV_DEV'
)
||
define
(
'YII_ENV_DEV'
,
'dev'
);
defined
(
'APP_FOLDER'
)
||
define
(
'APP_FOLDER'
,
'application'
);
defined
(
'SERVICE_FORCE_VERSION_KEY'
)
||
define
(
'SERVICE_FORCE_VERSION_KEY'
,
'thrift_impl_version'
);
// swoole程序中每次访问可能根据用户请求带的版本号有所不同
$GLOBALS
[
'GLOBAL_VERSION_VALUE'
]
=
$version_val
;
$GLOBALS
[
'GLOBAL_VERSION_VALUE_NO_PTEFIX'
]
=
$version_val_no_prefix
;
...
...
inner_site/cms_otc_api/common-basic.php
View file @
a444ab21
...
...
@@ -3,8 +3,8 @@
$index_root_path
=
'/data33/'
;
$app_package_path
=
$index_root_path
.
'inner_site/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'inner_site/cms_otc_api/'
;
defined
(
'VERSION_KEY'
)
or
define
(
'VERSION_KEY'
,
'inner_site_cms_otc_api_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'inner_site_cms_otc_api_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'
,
'cms_otc_api_main_web.php'
);
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'test'
);
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 @
a444ab21
...
...
@@ -3,8 +3,8 @@
$index_root_path
=
'/data33/'
;
$app_package_path
=
$index_root_path
.
'inner_site/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'inner_site/devops/'
;
defined
(
'VERSION_KEY'
)
or
define
(
'VERSION_KEY'
,
'inner_site_devops_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'inner_site_devops_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'
,
'devops_main_web.php'
);
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'test'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'devops_main_web.php'
);
/* 需要修改的参数>> */
package_sites/risk_sites/application/basic.php
View file @
a444ab21
...
...
@@ -3,9 +3,9 @@
$index_root_path
=
'/home/work/data/'
;
$app_package_path
=
$index_root_path
.
'thrift_impl/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/risk-sites/'
;
defined
(
'VERSION_KEY'
)
or
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/'
;
defined
(
'SERVICE_ENV'
)
or
define
(
'SERVICE_ENV'
,
'local'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
or
define
(
'MAIN_WEB_CONFIG_FILE'
,
'thrift_impl_risk_sites_main_web.php'
);
defined
(
'APP_FOLDER'
)
or
define
(
'APP_FOLDER'
,
basename
(
__DIR__
));
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
(
'APP_FOLDER'
)
||
define
(
'APP_FOLDER'
,
basename
(
__DIR__
));
/* 需要修改的参数>> */
\ No newline at end of file
package_sites/risk_sites/backend/basic.php
View file @
a444ab21
...
...
@@ -3,9 +3,9 @@
$index_root_path
=
'/home/work/data/'
;
$app_package_path
=
$index_root_path
.
'thrift_impl/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/risk-sites/'
;
defined
(
'VERSION_KEY'
)
or
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/'
;
defined
(
'SERVICE_ENV'
)
or
define
(
'SERVICE_ENV'
,
'local'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
or
define
(
'MAIN_WEB_CONFIG_FILE'
,
'thrift_impl_risk_sites_main_web.php'
);
defined
(
'APP_FOLDER'
)
or
define
(
'APP_FOLDER'
,
basename
(
__DIR__
));
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
(
'APP_FOLDER'
)
||
define
(
'APP_FOLDER'
,
basename
(
__DIR__
));
/* 需要修改的参数>> */
\ No newline at end of file
thrift_impl/otc/common-basic.php
View file @
a444ab21
...
...
@@ -3,8 +3,8 @@
$index_root_path
=
'/data33/'
;
$app_package_path
=
$index_root_path
.
'thrift_impl/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'thrift_impl/market-service-impl/'
;
defined
(
'VERSION_KEY'
)
or
define
(
'VERSION_KEY'
,
'thrift_impl_market_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'thrift_impl_market_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'
,
'market_main_web.php'
);
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'test'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'market_main_web.php'
);
/* 需要修改的参数>> */
\ No newline at end of file
user_site/zhaobi/common-basic.php
View file @
a444ab21
...
...
@@ -3,8 +3,8 @@
$index_root_path
=
'/data33/'
;
$app_package_path
=
$index_root_path
.
'user_site/'
;
$base_path
=
$origin_base_path
=
$index_root_path
.
'user_site/zhaobi/'
;
defined
(
'VERSION_KEY'
)
or
define
(
'VERSION_KEY'
,
'user_site_zhaobi_version'
);
defined
(
'VERSION_KEY'
)
||
define
(
'VERSION_KEY'
,
'user_site_zhaobi_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'
,
'zhaobi_main_web.php'
);
defined
(
'SERVICE_ENV'
)
||
define
(
'SERVICE_ENV'
,
'test'
);
defined
(
'MAIN_WEB_CONFIG_FILE'
)
||
define
(
'MAIN_WEB_CONFIG_FILE'
,
'zhaobi_main_web.php'
);
/* 需要修改的参数>> */
\ No newline at end of file
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