소스 검색

升级

master
huangjiajun 1 주 전
부모
커밋
a72676ad65
2개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. +8
    -0
      consume/user_delete_consume.go
  2. +2
    -2
      go.mod

+ 8
- 0
consume/user_delete_consume.go 파일 보기

@@ -9,6 +9,7 @@ import (
db2 "code.fnuoos.com/EggPlanet/egg_models.git/src"
"code.fnuoos.com/EggPlanet/egg_models.git/src/model"
"code.fnuoos.com/EggPlanet/egg_system_rules.git"
"code.fnuoos.com/EggPlanet/egg_system_rules.git/rule"
"code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit"
"encoding/json"
"errors"
@@ -155,5 +156,12 @@ func handleUserDeleteConsume(backEg *xorm.Engine, ch *rabbit.Channel, msgData []
backEg.Insert(&UserRealNameAuth)
}
eg.Where("uid=?", msg.Uid).Delete(&model.UserRealNameAuth{})
var publicPlatoonUserRelation model.PublicPlatoonUserRelation
exist, err = eg.Where("uid=?", msg.Uid).Get(&publicPlatoonUserRelation)
if exist {
publicPlatoonUserRelation.Id = 0
backEg.Insert(&publicPlatoonUserRelation)
}
rule.DealPublicPlatoon(eg, utils2.StrToInt64(msg.Uid), "注销")
return nil
}

+ 2
- 2
go.mod 파일 보기

@@ -7,8 +7,8 @@ go 1.19
//replace code.fnuoos.com/EggPlanet/egg_system_rules.git => E:/company/Egg/egg_system_rules

require (
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241214062221-cde2ce240fa8
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241214062309-291e3233ae28
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241214095356-fdac2df9537f
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241214095427-b3f9e6ed2446
code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5
github.com/boombuler/barcode v1.0.1


불러오는 중...
취소
저장