[feat] 修改 GetResRelationResource 返回值
This commit is contained in:
+1
-2
@@ -2,7 +2,6 @@ package base
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
"log"
|
||||
"reflect"
|
||||
"unicode"
|
||||
@@ -144,7 +143,7 @@ func (this Resource) GetDBDriver() string {
|
||||
}
|
||||
|
||||
func (this Resource) GetAuthDBTable(u contracts.User, params ...any) *db.Builder {
|
||||
fmt.Println(this.GetRolesCondition(u).ToSql())
|
||||
// fmt.Println(this.GetRolesCondition(u).ToSql())
|
||||
|
||||
return this.GetDBTable(append(params, u)...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user