houyaf 3 anni fa
parent
commit
808d52f43e
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      pkg/system/controller/user_controller.go

+ 4 - 4
pkg/system/controller/user_controller.go

@@ -12,10 +12,10 @@ type UserController struct {
 }
 
 func (c *UserController) BeforeActivation(b mvc.BeforeActivation) {
-	b.Handle("GET", "/page", "GetPage")
-	b.Handle("GET", "/", "GetList")
-	b.Handle("GET", "/{groupId:int64}/{accountId:int64}", "GetById")
-	b.Handle("POST", "/add", "Create")
+	b.Handle("GET", "/page", 								"GetPage")
+	b.Handle("GET", "/", 									"GetList")
+	b.Handle("GET", "/{groupId:int64}/{accountId:int64}", 	"GetById")
+	b.Handle("POST", "/add", 								"Create")
 	b.Handle("PUT", "/update", "Update")
 	b.Handle("PUT", "/updatePassword/{pwd: string}", "UpdatePassword")
 	b.Handle("PUT", "/resetPassword/{userId:int64}", "ResetPassword")