fix
This commit is contained in:
parent
b8da95788b
commit
f1bb1ad53b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue