Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yysh5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data_server
yysh5
Commits
1ef51a0b
Commit
1ef51a0b
authored
Apr 17, 2019
by
姜登
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yys
parent
6334f89e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
34 deletions
+35
-34
config.local.js
config/config.local.js
+0
-1
config.prod.js
config/config.prod.js
+35
-33
No files found.
config/config.local.js
View file @
1ef51a0b
...
@@ -47,7 +47,6 @@ module.exports = () => {
...
@@ -47,7 +47,6 @@ module.exports = () => {
redisScriptsKey
:
'URANUS.YYS.SCRIPTS'
,
redisScriptsKey
:
'URANUS.YYS.SCRIPTS'
,
redisParamsKey
:
'URANUS.YYS.PARAMS'
,
redisParamsKey
:
'URANUS.YYS.PARAMS'
,
redisScriptListKey
:
'URANUS.YYS.SCRIPTLIST'
,
redisScriptListKey
:
'URANUS.YYS.SCRIPTLIST'
,
cityListUrl
:
'https://t.51gjj.com/gjj/getCityConfig'
,
};
};
config
.
phoneAreaAPI
=
{
config
.
phoneAreaAPI
=
{
...
...
config/config.prod.js
View file @
1ef51a0b
...
@@ -4,9 +4,9 @@ module.exports = () => {
...
@@ -4,9 +4,9 @@ module.exports = () => {
const
config
=
exports
=
{};
const
config
=
exports
=
{};
config
.
debug
=
true
;
config
.
debug
=
true
;
config
.
logger
=
{
//
config.logger = {
dir
:
'/jianbing/logs/yysh5'
,
//
dir: '/jianbing/logs/yysh5',
};
//
};
config
.
projectRootPath
=
'/yysh5'
;
config
.
projectRootPath
=
'/yysh5'
;
config
.
redis
=
{
config
.
redis
=
{
...
@@ -18,12 +18,11 @@ module.exports = () => {
...
@@ -18,12 +18,11 @@ module.exports = () => {
},
},
};
};
config
.
taskAPI
=
{
config
.
taskAPI
=
{
host
:
process
.
env
.
TASKAPI_HOST
||
'http://tm.51gjj.com:4821'
,
host
:
process
.
env
.
TASKAPI_HOST
||
'http://tm.51gjj.com:4829'
,
fetchHubsUrl
:
''
,
createTaskUrl
:
'/thxdServices/createThxdTask'
,
createTaskUrl
:
'/gjjServices/createGjjTask'
,
fetchCodeUrl
:
'/thxdServices/queryThxdCode'
,
fetchCodeUrl
:
'/gjjServices/queryGjjCode'
,
submitTaskUrl
:
'/thxdServices/queryThxd'
,
submitTaskUrl
:
'/gjjServices/queryGjj'
,
fetchTaskUrl
:
'/thxdServices/getThxdData'
,
fetchTaskUrl
:
'/gjjServices/getGjjData'
,
};
};
config
.
scriptsAPI
=
{
config
.
scriptsAPI
=
{
...
@@ -36,23 +35,27 @@ module.exports = () => {
...
@@ -36,23 +35,27 @@ module.exports = () => {
fetchNoticeUrl
:
'/chaos/hf/notice'
,
fetchNoticeUrl
:
'/chaos/hf/notice'
,
fetchHubSeriptsUrl
:
'/chaos/hf/hubs'
,
fetchHubSeriptsUrl
:
'/chaos/hf/hubs'
,
fetchScriptByCityNameUrl
:
'/chaos/hf/city_scripts'
,
fetchScriptByCityNameUrl
:
'/chaos/hf/city_scripts'
,
redisScriptsKey
:
'URANUS.HF.SCRIPTS'
,
redisScriptsKey
:
'URANUS.YYS.SCRIPTS'
,
redisParamsKey
:
'URANUS.HF.PARAMS'
,
redisParamsKey
:
'URANUS.YYS.PARAMS'
,
redisScriptListKey
:
'URANUS.HF.SCRIPTLIST'
,
redisScriptListKey
:
'URANUS.YYS.SCRIPTLIST'
,
cityListUrl
:
'https://t.51gjj.com/gjj/getCityConfig'
,
};
};
config
.
storageAPI
=
{
config
.
phoneAreaAPI
=
{
host
:
process
.
env
.
STORAGEAPI_HOST
||
'http://tv.51gjj.com:11252'
,
bdhost
:
'http://mobsec-dianhua.baidu.com/dianhua_api/open/location?tel='
,
writeUrl
:
'/data'
,
alhost
:
'https://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel='
,
readUrl
:
'/gjj'
,
writeType
:
'gjj'
,
readDataKey
:
'gjjData'
,
};
};
// config.storageAPI = {
// host: process.env.STORAGEAPI_HOST || 'http://tv.51gjj.com:11252',
// writeUrl: '/data',
// readUrl: '/gjj',
// writeType: 'gjj',
// readDataKey: 'gjjData',
// };
config
.
washAPI
=
{
config
.
washAPI
=
{
host
:
process
.
env
.
WASHAPI_HOST
||
'http://t
t.51gjj.com:11101
'
,
host
:
process
.
env
.
WASHAPI_HOST
||
'http://t
.51gjj.com:3007
'
,
washUrl
:
'/
gjj/analyzeGjj
'
,
washUrl
:
'/
dataProcessing
'
,
};
};
config
.
signatureAPI
=
{
config
.
signatureAPI
=
{
...
@@ -60,8 +63,7 @@ module.exports = () => {
...
@@ -60,8 +63,7 @@ module.exports = () => {
fetchTokenUrl
:
'/Access/GetToken'
,
fetchTokenUrl
:
'/Access/GetToken'
,
fetchOrderIdUrl
:
'/Order/GetOrderSn'
,
fetchOrderIdUrl
:
'/Order/GetOrderSn'
,
signatureUrl
:
'/Access/SignValidityCheck'
,
signatureUrl
:
'/Access/SignValidityCheck'
,
fetchParnterUrl
:
''
,
signatureType
:
'thxd'
,
signatureType
:
'gjj'
,
customerUrl
:
'/customer/query'
,
customerUrl
:
'/customer/query'
,
};
};
...
@@ -70,19 +72,19 @@ module.exports = () => {
...
@@ -70,19 +72,19 @@ module.exports = () => {
fetchTheme
:
'/chaos/theme'
,
fetchTheme
:
'/chaos/theme'
,
fetchScripts
:
'/chaos/partners/scripts'
,
fetchScripts
:
'/chaos/partners/scripts'
,
fetchAgreements
:
'/chaos/agreements'
,
fetchAgreements
:
'/chaos/agreements'
,
redisThemePrefix
:
'URANUS.
HF
.PARNTERS.THEME'
,
redisThemePrefix
:
'URANUS.
YYS
.PARNTERS.THEME'
,
redisScriptsPrefix
:
'URANUS.
HF
.PARNTERS.SCRIPTS'
,
redisScriptsPrefix
:
'URANUS.
YYS
.PARNTERS.SCRIPTS'
,
redisAgreementsPrefix
:
'URANUS.
HF
.PARNTERS.Agreements'
,
redisAgreementsPrefix
:
'URANUS.
YYS
.PARNTERS.Agreements'
,
fetchInfo
:
'/chaos/partner'
,
fetchInfo
:
'/chaos/partner'
,
redisInfoPrefix
:
'URANUS.
HF
.PARNTERS.Info'
,
redisInfoPrefix
:
'URANUS.
YYS
.PARNTERS.Info'
,
};
};
config
.
lockKeys
=
{
config
.
lockKeys
=
{
fecthHub
:
'URANUS.
HF
.HUBS.LOCK'
,
fecthHub
:
'URANUS.
YYS
.HUBS.LOCK'
,
fecteToken
:
'URANUS.
HF
.TOKEN.LOCK'
,
fecteToken
:
'URANUS.
YYS
.TOKEN.LOCK'
,
token
:
'URANUS.
HF
.TOKEN'
,
token
:
'URANUS.
YYS
.TOKEN'
,
fecthParnters
:
'URANUS.PARNTERS.LOCK'
,
fecthParnters
:
'URANUS.
YYS.
PARNTERS.LOCK'
,
taskPrefix
:
'URANUS.
HFH5
.TASK'
,
taskPrefix
:
'URANUS.
YYS
.TASK'
,
};
};
config
.
sequelize
=
{
config
.
sequelize
=
{
...
@@ -100,7 +102,7 @@ module.exports = () => {
...
@@ -100,7 +102,7 @@ module.exports = () => {
}],
}],
};
};
config
.
callbackUrl
=
process
.
env
.
CALLBACK_URL
||
'https://dev-nginx.jianbing.com/
gjj
h5/callback'
;
config
.
callbackUrl
=
process
.
env
.
CALLBACK_URL
||
'https://dev-nginx.jianbing.com/
yys
h5/callback'
;
return
config
;
return
config
;
};
};
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