diff --git a/hlw/drug-info/index.js b/hlw/drug-info/index.js index 0d7c5e5..ac04881 100644 --- a/hlw/drug-info/index.js +++ b/hlw/drug-info/index.js @@ -208,9 +208,9 @@ async function getHlwDrugInfo(ctx) { const page = Number.isSafeInteger(requestedPage) && requestedPage > 0 ? requestedPage : 1; const pageSize = Number.isSafeInteger(requestedPageSize) && requestedPageSize > 0 ? requestedPageSize : 10; const query = {}; - if (typeof ctx.corpId === "string" && ctx.corpId.trim()) { - query.corpId = ctx.corpId.trim(); - } + // if (typeof ctx.corpId === "string" && ctx.corpId.trim()) { + // query.corpId = ctx.corpId.trim(); + // } if (typeof ctx.name === "string" && ctx.name.trim()) { query.name = new RegExp(ctx.name.trim(), "i") };