Browse Source

update

master
shenjiachi 1 month ago
parent
commit
fe2db8190b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/implement/user_virtual_coin_flow_implement.go

+ 2
- 2
src/implement/user_virtual_coin_flow_implement.go View File

@@ -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 {


Loading…
Cancel
Save