Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OPENTECH
/
yoho-node-ci
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
2
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
姜枫
8 years ago
Commit
abadf7ba0c5840da80c99a9a279b24289528f8c0
1 parent
4f284941
修改重新分发接口参数问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/web/actions/api.js
apps/web/actions/api.js
View file @
abadf7b
...
...
@@ -186,7 +186,7 @@ r.get('/rollback', async (ctx) => {
r
.
get
(
'/deploy'
,
async
(
ctx
)
=>
{
let
q
=
ctx
.
request
.
query
;
let
buildingId
=
ctx
.
params
.
building
;
let
buildingId
=
q
.
bid
;
let
building
=
await
Building
.
findById
(
buildingId
);
if
(
!
building
)
{
ctx
.
body
=
{
...
...
Please
register
or
login
to post a comment