|
|
|
@ -78,9 +78,6 @@ func ForEachUser(f func(u *User) bool) {
|
|
|
|
|
func Codes(isFund bool) []string {
|
|
|
|
|
var codes = map[string]struct{}{}
|
|
|
|
|
ForEachUser(func(u *User) bool {
|
|
|
|
|
if u.IsStop() {
|
|
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
cds := u.Codes(isFund)
|
|
|
|
|
for _, cd := range cds {
|
|
|
|
|
if _, ok := codes[cd]; ok {
|
|
|
|
|