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

+ 1 - 1
app/router/achieve_cert.js

@@ -5,7 +5,7 @@ module.exports = app => {
   const { router, controller } = app;
   const profix = '/api/achieve/';
   const vision = 'v0';
-  const target = "AchieveCert";
+  const target = "achieveCert";
   router.resources(target, `${profix}${vision}/${target}`, controller[target]); // index、create、show、destroy
   router.post(target, `${profix}${vision}/${target}/update/:id`, controller[target].update);
 };