sunsheng hai 8 meses
pai
achega
d3440edfc3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/api/router.go

+ 1 - 1
src/api/router.go

@@ -14,7 +14,7 @@ func RegRouters(svc *Service) {
 	// 用户登录
 	crrouter.POST("/user/login/password", UserLoginPassword)
 	// 用户管理
-	crrouter.POSTJWT("/admin/user/create", CreateUser)
+	crrouter.POST("/admin/user/create", CreateUser)
 	crrouter.POSTJWT("/admin/user/delete/:id", DeleteUser)
 	crrouter.POSTJWT("/admin/user/delete/batch", BatchDeleteUser)
 	crrouter.GETJWT("/admin/user/list", UserList)