diff --git a/src/implement/user_virtual_coin_flow_implement.go b/src/implement/user_virtual_coin_flow_implement.go index 7eaff09..a4be0b6 100644 --- a/src/implement/user_virtual_coin_flow_implement.go +++ b/src/implement/user_virtual_coin_flow_implement.go @@ -31,8 +31,8 @@ func (u UserVirtualCoinFlowDb) UserVirtualCoinFlowFindByCoinAndUser(page, pageSi if direction != 0 { session = session.And("direction = ?", direction) } - if transferType != 0{ - session = session.And("type = ?", type) + if transferType != 0 { + session = session.And("type = ?", transferType) } session = session.Limit(pageSize, (page-1)*pageSize) if isAsc {