修改质押查询

This commit is contained in:
yangduo 2024-07-12 13:52:46 +08:00
parent 153a779d68
commit 17ee51cf19

View File

@ -47,7 +47,7 @@ func (this *MarketApi) LockList(c *gin.Context) {
sql := fmt.Sprintf(`
SELECT * FROM t_nft
WHERE idx > %d AND net_id = %d AND owner_address = '%s' AND last_lock_address = ? `,
cursor, netId, nftLockMeta.GetAddress())
cursor, netId, strings.ToLower(nftLockMeta.GetAddress()))
params := []string{owner}
subFilters := []f5.DbQueryFilter{}