Bläddra i källkod

更新

master
huangjiajun 6 månader sedan
förälder
incheckning
79bb08d3d7
1 ändrade filer med 1 tillägg och 6 borttagningar
  1. +1
    -6
      rule/installment_payment/installment_payment_auto_repaid.go

+ 1
- 6
rule/installment_payment/installment_payment_auto_repaid.go Visa fil

@@ -68,7 +68,7 @@ func InstallmentPaymentAutoRepaid(engine *xorm.Engine, masterId string, ch *rabb
}

// DealInstallmentPaymentAutoRepaid 处理分期付自动还款
func DealInstallmentPaymentAutoRepaid(engine *xorm.Engine, args md.InstallmentPaymentStructForAutoRepaid, masterId string) (err error) {
func DealInstallmentPaymentAutoRepaid(engine *xorm.Engine, ch *rabbit.Channel, args md.InstallmentPaymentStructForAutoRepaid, masterId string) (err error) {
now := time.Now()
session := engine.NewSession()
defer func() {
@@ -148,11 +148,6 @@ func DealInstallmentPaymentAutoRepaid(engine *xorm.Engine, args md.InstallmentPa
Oid: oid,
Provider: "installment_payment",
}
ch, err := rabbit.Cfg.Pool.GetChannel()
if err != nil {
return nil
}
defer ch.Release()
err1 := ch.PublishV2(md.RelateReward, zhios_order_relate_utils.SerializeStr(rewardData), md.RelateRewardData)
if err1 != nil {
ch.PublishV2(md.RelateReward, zhios_order_relate_utils.SerializeStr(rewardData), md.RelateRewardData)


Laddar…
Avbryt
Spara