박권수

Merge branch 'server' into web

...@@ -156,13 +156,15 @@ exports.getBottleInfo = async(ctx) => { ...@@ -156,13 +156,15 @@ exports.getBottleInfo = async(ctx) => {
156 156
157 ctx.status = 200; 157 ctx.status = 200;
158 ctx.body = { 158 ctx.body = {
159 + bottle,
159 takeMedicineHist, 160 takeMedicineHist,
160 }; 161 };
161 162
162 } else { 163 } else {
163 - ctx.status = 404; 164 + ctx.status = 200;
164 ctx.body = { 165 ctx.body = {
165 - error : '정보가 등록되지 않은 약병' 166 + bottle,
167 + takeMedicineHist : [],
166 } 168 }
167 } 169 }
168 170
......