Parcourir la source

更新

one_orenge
huangjiajun il y a 4 mois
Parent
révision
ca8218a5e7
2 fichiers modifiés avec 4 ajouts et 6 suppressions
  1. +2
    -3
      consume/one_circles_sign_in_consume.go
  2. +2
    -3
      consume/one_circles_sign_in_copy_consume.go

+ 2
- 3
consume/one_circles_sign_in_consume.go Voir le fichier

@@ -2,7 +2,6 @@ package consume

import (
"applet/app/cfg"
"applet/app/db"
"applet/app/utils/logx"
"applet/consume/md"
"code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit"
@@ -56,8 +55,8 @@ func handleOneCirclesSignInGreenEnergy(msgData []byte) error {
return err
}

engine := db.DBs[msg.MasterId]
err = one_circles.HandleSettlementSignInGreenEnergy(engine, msg.MasterId, msg.Id, msg.Uid)
//engine := db.DBs[msg.MasterId]
//err = one_circles.HandleSettlementSignInGreenEnergy(engine, msg.MasterId, msg.Id, msg.Uid)
fmt.Println("err::::", err)
if err != nil {
return err


+ 2
- 3
consume/one_circles_sign_in_copy_consume.go Voir le fichier

@@ -2,7 +2,6 @@ package consume

import (
"applet/app/cfg"
"applet/app/db"
"applet/app/utils/logx"
"applet/consume/md"
"code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit"
@@ -56,8 +55,8 @@ func handleOneCirclesSignInCopyGreenEnergy(msgData []byte) error {
return err
}

engine := db.DBs[msg.MasterId]
err = one_circles.HandleSettlementSignInGreenEnergy(engine, msg.MasterId, msg.Id, msg.Uid)
//engine := db.DBs[msg.MasterId]
//err = one_circles.HandleSettlementSignInGreenEnergy(engine, msg.MasterId, msg.Id, msg.Uid)
fmt.Println("err::::", err)
if err != nil {
return err


Chargement…
Annuler
Enregistrer