schedule.js 257 B

12345678910
  1. 'use strict';
  2. const _ = require('lodash');
  3. module.exports = options => {
  4. return async function schedule(ctx, next) {
  5. await next();
  6. // 进入处理修改逻辑
  7. const id = ctx.params.id;
  8. await ctx.service.schedule.checkNeedNext(id);
  9. };
  10. };