박권수

feat. status add

......@@ -33,4 +33,6 @@ exports.hubDisconnect = async(ctx) => {
Mqtt.mqttOff(hosting);
await Hub.deleteOne({ hubId });
ctx.status = 200;
}
\ No newline at end of file
......
......@@ -15,6 +15,7 @@ exports.medicineSearch = async(ctx) => {
else if (target && target !== '' && target !== undefined)
result = await medicineSearch_ByTarget(target);
ctx.status = 200;
ctx.body = {
totalItem : result.length,
result
......