Browse Source

更新

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

+ 1
- 1
consume/zhios_appreciation.go View File

@@ -168,7 +168,7 @@ func withdraw(eg *xorm.Engine, msg *md.ZhiosAppreciation) error {
newAmount := utils.GetPrec(utils.Float64ToStrByPrec(resp.TransferOutValue-resp.AmountOut, 5), "4")
//扣的
coinSum := utils.GetPrec(utils.Float64ToStrByPrec(resp.TransferOut-resp.RefluxValue, 20), "4")
price = utils.GetPrec(utils.Float64ToStrByPrec(resp.Price, 5), "4")
price = utils.GetPrec(utils.Float64ToStrByPrec(resp.Price, 20), "4")
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))
if err != nil {


Loading…
Cancel
Save