浏览代码

更新

master
huangjiajun 9 个月前
父节点
当前提交
7068ad79f5
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. +2
    -0
      enum/fin_user_flow.go
  2. +1
    -1
      svc/svc_deal_user_amount.go

+ 2
- 0
enum/fin_user_flow.go 查看文件

@@ -16,6 +16,8 @@ func FinUserFlowOrderActionString(kind int) string {
return "balance_exchange_for_green_energy"
case md.GreenCoinDoubleChainExchangeForBalanceForFinUserFlow:
return "green_coin_double_chain_exchange_for_balance"
case md.StoreSubsidyOrdActionForFinUserFlow:
return "subsidy"
default:
return "unknown"
}


+ 1
- 1
svc/svc_deal_user_amount.go 查看文件

@@ -229,7 +229,7 @@ func DealUserStoreAmountFlow(session *xorm.Session, req md.DealUserAmount) (err
amountValue := decimal.NewFromFloat(req.Amount).RoundFloor(8)

var finUserFlow = model.O2oFinUserFlow{
Uid: req.Uid,
MerchantId: req.Uid,
Amount: amountValue.String(),
AfterAmount: userAmount,
OrdType: req.OrderType,


正在加载...
取消
保存