From be953da6ecba5036e63eac2bb5851e04dca1e8f7 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 11 八月 2023 14:06:56 +0800
Subject: [PATCH] fix

---
 model/contact.go |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/model/contact.go b/model/contact.go
index 612fcba..560db43 100644
--- a/model/contact.go
+++ b/model/contact.go
@@ -93,6 +93,9 @@
 					}
 				}
 			case int:
+				if key == "client_id" {
+					db = db.Where("client_id = ?", v)
+				}
 			}
 		}
 	}

--
Gitblit v1.8.0