Commit 1ed060b6 authored by 成旭东's avatar 成旭东

标签查询 状态为online

parent bd36b3a7
Pipeline #27823 passed with stage
in 2 minutes 6 seconds
......@@ -215,7 +215,7 @@ export default class EstateListService extends Service {
}
const record = await ctx[modelGroupName].WafangTag.findAll({
where: { valid: 1, ...where },
where: { valid: 1, status: 'online', ...where },
...options,
});
return ctx.service.output.toArray(record, format);
......
......@@ -69,7 +69,7 @@ export default class EstateTagService extends Service {
const format = formatConfig;
const data = await ctx[modelGroupName][modelName].findAll({
where: { valid: 1 },
where: { valid: 1, status: 'online' },
});
return ctx.service.output.toArray(data, format);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment