박권수

feat. get bottle detail return change

...@@ -143,10 +143,14 @@ exports.getBottleDetail = async ctx => { ...@@ -143,10 +143,14 @@ exports.getBottleDetail = async ctx => {
143 const takeMedicineHist = await TakeMedicineHist.find({ 143 const takeMedicineHist = await TakeMedicineHist.find({
144 bmId : bottleMedicine._id, 144 bmId : bottleMedicine._id,
145 }).sort({ takeDate : 'desc' }); 145 }).sort({ takeDate : 'desc' });
146 + const feedbackList = await Feedback.find({
147 + bmId : bottleMedicine._id,
148 + }).sort({ fdbDtm : 'desc' });
146 149
147 const result = { 150 const result = {
148 medicine, 151 medicine,
149 takeMedicineHist, 152 takeMedicineHist,
153 + feedbackList,
150 }; 154 };
151 155
152 ctx.status = 200; 156 ctx.status = 200;
......