Browse Source

fix 根据id查询模板失败

master
liujiangyong 2 years ago
parent
commit
4a914e6649
  1. 1
      api/app/lib/controllers/patrolManage/patrolTemplate.js

1
api/app/lib/controllers/patrolManage/patrolTemplate.js

@ -6,6 +6,7 @@ async function getPatrolTemplate (ctx, next) {
const { userId } = ctx.fs.api
const { limit, page, id } = ctx.query;
let options = {
where: {},
order: [['id', 'desc']],
include: [{
required: true,

Loading…
Cancel
Save