1
This commit is contained in:
parent
f69ac6fd9e
commit
eda06c9952
@ -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
|
||||
*/
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user