From 449fc414ba78008e543b6de26918206201760979 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Tue, 5 Sep 2023 20:03:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=AF=BB=E9=BE=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/dragon/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dragon/module.go b/modules/dragon/module.go index 351383ffe..507ad7fef 100644 --- a/modules/dragon/module.go +++ b/modules/dragon/module.go @@ -122,7 +122,7 @@ func (this *Dragon) QueryDragonById(uid string, dragonid string) (dragon *pb.DBD return } for _, v := range list { - if v.Dragonid == dragonid { + if v.Id == dragonid { dragon = v return }