1
This commit is contained in:
@@ -11,7 +11,10 @@ var (
|
||||
)
|
||||
|
||||
func Init() {
|
||||
globals.SugarLogger.Debugf("-----------api2-1")
|
||||
RoleMan2, err := casbinauth.New("conf/rbac_model.conf")
|
||||
globals.SugarLogger.Debugf("-----------api2- %v", err)
|
||||
globals.SugarLogger.Debugf("-----------api2-RoleMan2 %v", RoleMan2)
|
||||
if err != nil {
|
||||
globals.SugarLogger.Error(err.Error())
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user