guhongwei %!s(int64=3) %!d(string=hai) anos
pai
achega
292f88ef26
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/router/patent/patentapply.js

+ 1 - 0
app/router/patent/patentapply.js

@@ -9,5 +9,6 @@ module.exports = app => {
   const target = 'patentapply';
   const metaTime = app.middleware.createTime();
   router.resources(target, `${profix}${vision}/${index}/${target}`, metaTime, controller[index][target]); // index、create、show、destroy
+  router.post(target, `${profix}${vision}/${index}/${target}/check`, controller[index][target].check);
   router.post(target, `${profix}${vision}/${index}/${target}/update/:id`, controller[index][target].update);
 };