Browse Source

一个橘子

one_orenge
huangjiajun 8 months ago
parent
commit
8043d63974
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      consume/canal_user_money_consume.go

+ 1
- 0
consume/canal_user_money_consume.go View File

@@ -61,6 +61,7 @@ func handleCancalUserMoneyConsume(msg []byte) error {
return nil
}
engine := db.DBs[masterId]
//

if canalMsg.Type == md.CanalMsgInsertSqlType {
if utils.StrToFloat64(canalMsg.Data[0].Amount) > 0 && canalMsg.Data[0].Type == "0" {


Loading…
Cancel
Save