You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/api/user/init.go

21 lines
416 B
Go

11 months ago
//
// Copyright (C) 2024 veypi <i@veypi.com>
// 2024-09-23 16:28:13
// Distributed under terms of the MIT license.
//
// Auto generated by OneBD. DO NOT EDIT
package user
import (
3 weeks ago
"github.com/veypi/vbase/api/user/role"
"github.com/veypi/vbase/libs/auth"
"github.com/veypi/vigo"
11 months ago
)
var Router = vigo.NewRouter()
func init() {
Router.Extend("/{user_id}/user_role", role.Router).Use(auth.Check("user", "", 4))
}