From f1bb1ad53ba11c037830daaf9f376f63a64ddcbb Mon Sep 17 00:00:00 2001 From: wolter Date: Fri, 2 Aug 2024 17:32:49 +0800 Subject: [PATCH] fix --- app/services/pay_channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/pay_channel.go b/app/services/pay_channel.go index 6ff06f9..6cfe4f6 100644 --- a/app/services/pay_channel.go +++ b/app/services/pay_channel.go @@ -80,7 +80,7 @@ func PayChannelGet(payChannel *paychannelmodel.PayChannel) (code int) { // 拼接查询条件 conn := builder.NewCond() - conn = conn.And(builder.Eq{"Id": payChannel.Id}) + conn = conn.And(builder.Eq{"id": payChannel.Id}) has, err := repo.PayChannelGet(payChannel, conn) if err != nil { return handErr(err)