DengBiao преди 1 година
родител
ревизия
ab83e7293c
променени са 2 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. +1
    -1
      internal/logic/domain/message/service/app_push.go
  2. +3
    -2
      internal/logic/domain/message/service/message_service.go

+ 1
- 1
internal/logic/domain/message/service/app_push.go Целия файл

@@ -40,7 +40,7 @@ func CommAddPush(args md3.PushParams) {
)
pushPlatform := svc.SysCfgGet(args.MasterId, "app_push_platform")
if pushPlatform == "JgPush" { //极光
args.Content = getChangeContent(args, args.Content)
//args.Content = getChangeContent(args, args.Content)
JgPush(args)
return
}


+ 3
- 2
internal/logic/domain/message/service/message_service.go Целия файл

@@ -195,8 +195,9 @@ func (*messageService) SendToUser(ctx context.Context, sender *pb.Sender, toUser
MasterId: masterId,
Uid: uid,
PushAlia: alia,
Title: "新消息提醒",
Content: "您收到一条新消息,来自会员\"[消息发送者-会员昵称]\",发送时间\"[时间]\"",
Title: sender.Nickname,
Content: string(req.MessageContent),
//Content: "您收到一条新消息,来自会员\"[消息发送者-会员昵称]\",发送时间\"[时间]\"",
//Content: "您收到一条新消息,来自会员\"[消息发送者-会员昵称]\",发送时间\"[时间]\",消息类型\"[消息类型]\",备注\"[备注]\"",
PushType: "zhi_ying_gim",
MessageType: req.MessageType.String(),


Зареждане…
Отказ
Запис