Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
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
qa-deploy-utils
Commits
3d0376b0
Commit
3d0376b0
authored
Apr 23, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消paycenter-ui的判断
parent
29de6529
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
get_project_config_server.js
qa_shell_script/config_server/get_project_config_server.js
+9
-9
No files found.
qa_shell_script/config_server/get_project_config_server.js
View file @
3d0376b0
...
@@ -401,20 +401,20 @@ admin.get('/get_groupname_by_type_for_jenkins/:_type', async function (req, res)
...
@@ -401,20 +401,20 @@ admin.get('/get_groupname_by_type_for_jenkins/:_type', async function (req, res)
// xjdui[0][1] = o.git_path_group
// xjdui[0][1] = o.git_path_group
// xjdui[1][1] = o.project_name
// xjdui[1][1] = o.project_name
// } else
// } else
if
(
o
.
project_name
==
"
paycenter-ui
"
)
{
//
if (o.project_name == "paycenter-ui") {
payui
[
0
][
0
]
=
o
.
git_path_group
//
payui[0][0] = o.git_path_group
payui
[
1
][
0
]
=
o
.
project_name
//
payui[1][0] = o.project_name
}
else
if
(
o
.
project_name
==
"
new-paycenter-ui
"
)
{
//
} else if (o.project_name == "new-paycenter-ui") {
payui
[
0
][
1
]
=
o
.
git_path_group
//
payui[0][1] = o.git_path_group
payui
[
1
][
1
]
=
o
.
project_name
//
payui[1][1] = o.project_name
}
else
{
//
} else {
if
(
req
.
params
.
_type
!=
"
lua_ui
"
)
{
if
(
req
.
params
.
_type
!=
"
lua_ui
"
)
{
if
(
re
[
req
.
params
.
_type
]
==
undefined
)
{
if
(
re
[
req
.
params
.
_type
]
==
undefined
)
{
re
[
req
.
params
.
_type
]
=
[];
re
[
req
.
params
.
_type
]
=
[];
}
}
re
[
o
.
type
].
push
(
`
${
o
.
git_path_group
}
/
${
o
.
project_name
}
`
)
re
[
o
.
type
].
push
(
`
${
o
.
git_path_group
}
/
${
o
.
project_name
}
`
)
}
}
}
//
}
}
}
function
getLuaUiStr
(
item
)
{
function
getLuaUiStr
(
item
)
{
return
`
${
item
[
0
][
0
]}
--
${
item
[
0
][
1
]}
/
${
item
[
1
][
0
]}
--
${
item
[
1
][
1
]}
`
return
`
${
item
[
0
][
0
]}
--
${
item
[
0
][
1
]}
/
${
item
[
1
][
0
]}
--
${
item
[
1
][
1
]}
`
...
@@ -483,6 +483,6 @@ admin.get('/get_proxy', function (req, res) {
...
@@ -483,6 +483,6 @@ admin.get('/get_proxy', function (req, res) {
});
});
app
.
use
(
'
/config_server
'
,
admin
)
app
.
use
(
'
/config_server
'
,
admin
)
app
.
listen
(
1008
6
,
function
()
{
app
.
listen
(
1008
8
,
function
()
{
console
.
log
(
"
http://192.168.4.3:10088/config_server/get_node_command
"
)
console
.
log
(
"
http://192.168.4.3:10088/config_server/get_node_command
"
)
})
})
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