Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
config_repository
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
config_repository
Commits
b6c57c33
Commit
b6c57c33
authored
Jul 25, 2018
by
tower
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
141d8367
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
1 deletion
+46
-1
.DS_Store
.DS_Store
+0
-0
cuishou.properties
java/cuishou.properties
+12
-1
qa-banana.js
nodejs/qa-banana.js
+34
-0
No files found.
.DS_Store
View file @
b6c57c33
No preview for this file type
java/cuishou.properties
View file @
b6c57c33
##
使用
config
下的配置文件,由开发负责修改
module.exports
=
{
\ No newline at end of file
server
:
{
port
:
80
},
mongo
:
{
host
:
"192.168.6.5",
port
:
27017
}
};
\ No newline at end of file
nodejs/qa-banana.js
0 → 100644
View file @
b6c57c33
const
path
=
require
(
'
path
'
);
const
logDir
=
path
.
resolve
(
process
.
cwd
(),
'
../logs
'
)
module
.
exports
=
{
port
:
'
80
'
,
// mongodb
db
:
'
activity
'
,
dbIp
:
'
192.168.4.50
'
,
dbPort
:
'
27017
'
,
dbUser
:
''
,
dbPass
:
''
,
// qiniu
domain
:
'
http://activity-op.domain.com
'
,
ACCESS_KEY
:
'
QyjX3i2tEMvrv50j6M_wpb9YoFJbxSm3jEkOj9lY
'
,
SECRET_KEY
:
'
uoMTzRLoElTAKXVzelGgTvI652zJ8bCz_qqTtoGl
'
,
BUCKET
:
'
activity-test
'
,
// log4js
log4js
:
{
appenders
:
{
app
:
{
type
:
'
dateFile
'
,
filename
:
logDir
+
'
/activity-op.log
'
,
daysToKeep
:
3
,
compress
:
true
},
error
:
{
type
:
'
dateFile
'
,
filename
:
logDir
+
'
/activity-op.error.log
'
,
daysToKeep
:
3
,
compress
:
true
},
just_errors
:
{
type
:
'
logLevelFilter
'
,
appender
:
'
error
'
,
level
:
'
error
'
}
},
categories
:
{
default
:
{
appenders
:
[
'
app
'
,
'
just_errors
'
],
level
:
'
info
'
}
}
},
// API
APP_API
:
'
http://sappbackend.domain.com
'
,
XYQB_API
:
'
http://api.domain.com
'
,
REDPACKET_API
:
'
http://redpacket.domain.com
'
,
MEMBER_API
:
'
http://member.domain.com
'
}
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