Browse Source

更新

three
huangjiajun 1 year ago
parent
commit
8e8b2ecc89
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consume/zhios_appreciation.go

+ 1
- 1
consume/zhios_appreciation.go View File

@@ -170,7 +170,7 @@ func withdraw(eg *xorm.Engine, msg *md.ZhiosAppreciation) error {
coinSum := utils.GetPrec(utils.Float64ToStrByPrec(resp.TransferOut-resp.RefluxValue, 20), "4") coinSum := utils.GetPrec(utils.Float64ToStrByPrec(resp.TransferOut-resp.RefluxValue, 20), "4")
price = utils.GetPrec(utils.Float64ToStrByPrec(resp.Price, 20), "4") price = utils.GetPrec(utils.Float64ToStrByPrec(resp.Price, 20), "4")
err := svc.UpdateUserFinValidAndInterFlowSess(sess, err := svc.UpdateUserFinValidAndInterFlowSess(sess,
newAmount, args["amount"]+"个积分转余额,价值"+price+"/个", "appreciation", 0, 56, utils.StrToInt(msg.Uid), utils.StrToInt(msg.Oid), utils.StrToInt64(msg.Oid), utils.StrToInt64(msg.Oid))
newAmount, args["amount"]+"个数字资产转余额,价值"+price+"/个", "appreciation", 0, 56, utils.StrToInt(msg.Uid), utils.StrToInt(msg.Oid), utils.StrToInt64(msg.Oid), utils.StrToInt64(msg.Oid))
if err != nil { if err != nil {
sess.Rollback() sess.Rollback()
return err return err


Loading…
Cancel
Save