add backend tpl
This commit is contained in:
15
backend_v1/modules/frontend/users/controller.go
Normal file
15
backend_v1/modules/frontend/users/controller.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package users
|
||||
|
||||
import "github.com/gofiber/fiber/v3"
|
||||
|
||||
type UserController struct {
|
||||
userSvc *UserService
|
||||
}
|
||||
|
||||
func GetUsers(c fiber.Ctx) error {
|
||||
return c.SendString("users")
|
||||
}
|
||||
|
||||
func GetCurrentUserInfo(c fiber.Ctx) error {
|
||||
return c.SendString("current user info")
|
||||
}
|
||||
Reference in New Issue
Block a user