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

+ 1 - 1
app/router.js

@@ -21,7 +21,7 @@ module.exports = app => {
   router.post('/api/auth/user/updatebyuid/:id', controller.user.updatebyuid);
   router.post('/api/auth/user/bind', controller.user.bind);
   // 查询业务管理员
-  router.post("/api/auth/businessuser", controller.user.businessuser);
+  router.get("/api/auth/businessuser", controller.user.businessuser);
 
   // 机构表设置路由
   router.resources('dept', '/api/auth/dept', controller.dept); // index、create、show、destroy