소스 검색

update

master
DengBiao 2 년 전
부모
커밋
2bd7837495
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      internal/logic/domain/message/service/app_push.go

+ 2
- 1
internal/logic/domain/message/service/app_push.go 파일 보기

@@ -37,7 +37,6 @@ func CommAddPush(args md3.PushParams) {
zap.String("times", args.Times),
)
pushPlatform := svc.SysCfgGet(args.MasterId, "app_push_platform")
fmt.Println(">>>>>>>>>>>>>>>>>>>>pushPlatform<<<<<<<<<<<<<<<<<<<<<<", pushPlatform)
if pushPlatform == "JgPush" { //极光
args.Content = getChangeContent(args, args.Content)
JgPush(args)
@@ -48,6 +47,8 @@ func CommAddPush(args md3.PushParams) {

func JgPush(args md3.PushParams) {
thirdJgPush := db.DbSysCfg.SysCfgFindWithDb(args.MasterId, "jg_push_app_key", "jg_push_app_secret")
fmt.Println(">>>>>>>>>>>>>>>>>>>>jg_push_app_key<<<<<<<<<<<<<<<<<<<<<<", thirdJgPush["jg_push_app_key"])
fmt.Println(">>>>>>>>>>>>>>>>>>>>jg_push_app_key<<<<<<<<<<<<<<<<<<<<<<", thirdJgPush["jg_push_app_secret"])
if thirdJgPush["jg_push_app_key"] == "" || thirdJgPush["jg_push_app_secret"] == "" {
return
}


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