Browse Source

更新

one_orenge
huangjiajun 4 months ago
parent
commit
ca8218a5e7
2 changed files with 4 additions and 6 deletions
  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 View File

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


import ( import (
"applet/app/cfg" "applet/app/cfg"
"applet/app/db"
"applet/app/utils/logx" "applet/app/utils/logx"
"applet/consume/md" "applet/consume/md"
"code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit" "code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit"
@@ -56,8 +55,8 @@ func handleOneCirclesSignInGreenEnergy(msgData []byte) error {
return err 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) fmt.Println("err::::", err)
if err != nil { if err != nil {
return err return err


+ 2
- 3
consume/one_circles_sign_in_copy_consume.go View File

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


import ( import (
"applet/app/cfg" "applet/app/cfg"
"applet/app/db"
"applet/app/utils/logx" "applet/app/utils/logx"
"applet/consume/md" "applet/consume/md"
"code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit" "code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit"
@@ -56,8 +55,8 @@ func handleOneCirclesSignInCopyGreenEnergy(msgData []byte) error {
return err 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) fmt.Println("err::::", err)
if err != nil { if err != nil {
return err return err


Loading…
Cancel
Save