This commit is contained in:
aozhiwei 2024-08-27 18:04:13 +08:00
parent f69ac6fd9e
commit eda06c9952

View File

@ -1,9 +1,9 @@
package service
import (
"f5"
"main/constant"
"q5"
//"f5"
//"main/constant"
//"q5"
)
//"strings"
@ -18,6 +18,8 @@ func (this *user) unInit() {
}
func (this *user) InBlackList(userIdentity string) (bool, error) {
return false, nil
/*
if userIdentity == "" {
return true, nil
}
@ -37,4 +39,5 @@ func (this *user) InBlackList(userIdentity string) (bool, error) {
blocked = ds.Next() && q5.SafeToInt32(ds.GetByName("blocked")) != 0 && q5.SafeToInt32(ds.GetByName("deleted")) == 0
})
return blocked, queryerr
*/
}