Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박권수
2021-08-20 00:53:50 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
4c17a55d40ced6f00c2ef69c1b4c5d1180045f1d
4c17a55d
2 parents
29ebfa36
b6fefa67
Merge branch 'server' into web
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
server/src/api/bottle/bottle.ctrl.js
server/src/api/bottle/bottle.ctrl.js
View file @
4c17a55
...
...
@@ -156,13 +156,15 @@ exports.getBottleInfo = async(ctx) => {
ctx
.
status
=
200
;
ctx
.
body
=
{
bottle
,
takeMedicineHist
,
};
}
else
{
ctx
.
status
=
404
;
ctx
.
status
=
200
;
ctx
.
body
=
{
error
:
'정보가 등록되지 않은 약병'
bottle
,
takeMedicineHist
:
[],
}
}
...
...
Please
register
or
login
to post a comment