liujiandao
2023-11-13 b3a47cb555076c25c64d83dd455a472509291245
model/contact.go
@@ -100,6 +100,10 @@
            if key == "client_id" {
               db = db.Where("client_id = ? and is_first = true", v)
            }
         case []int:
            if key == "member_ids" {
               db = db.Where("contacts.member_id in ?", v)
            }
         }
      }
   }