瀏覽代碼

update 绿色双链积分

master
DengBiao 9 月之前
父節點
當前提交
1c08af5b42
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      rule/green_coin_double_chain_settlement.go

+ 1
- 1
rule/green_coin_double_chain_settlement.go 查看文件

@@ -88,7 +88,7 @@ func DealUserGreenCoinDoubleChainIntegral(Db *xorm.Engine, uid int, amount, ordI

//5、查询上级直推的所有下级用户的虚拟币金额是否有大于当前用户的
var sonUserVirtualWallet model.UserVirtualAmount
isHas, err := session.Where(" coin_id = ? and amount >=?", greenCoinDoubleChain.Coin2, amount).In("uid", sonUserIds).Get(&sonUserVirtualWallet)
isHas, err := session.Where(" coin_id = ? and amount >=?", greenCoinDoubleChain.Coin2, amount).And("uid != ?", uid).In("uid", sonUserIds).Get(&sonUserVirtualWallet)
if err != nil {
return
}


Loading…
取消
儲存