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