1
This commit is contained in:
parent
f69ac6fd9e
commit
eda06c9952
@ -1,9 +1,9 @@
|
|||||||
package service
|
package service
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"f5"
|
//"f5"
|
||||||
"main/constant"
|
//"main/constant"
|
||||||
"q5"
|
//"q5"
|
||||||
)
|
)
|
||||||
|
|
||||||
//"strings"
|
//"strings"
|
||||||
@ -18,6 +18,8 @@ func (this *user) unInit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *user) InBlackList(userIdentity string) (bool, error) {
|
func (this *user) InBlackList(userIdentity string) (bool, error) {
|
||||||
|
return false, nil
|
||||||
|
/*
|
||||||
if userIdentity == "" {
|
if userIdentity == "" {
|
||||||
return true, nil
|
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
|
blocked = ds.Next() && q5.SafeToInt32(ds.GetByName("blocked")) != 0 && q5.SafeToInt32(ds.GetByName("deleted")) == 0
|
||||||
})
|
})
|
||||||
return blocked, queryerr
|
return blocked, queryerr
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user