瀏覽代碼

update

master
DengBiao 2 年之前
父節點
當前提交
956ed8aad2
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      internal/logic/domain/message/service/message_service.go

+ 1
- 1
internal/logic/domain/message/service/message_service.go 查看文件

@@ -159,7 +159,7 @@ func (*messageService) SendToUser(ctx context.Context, sender *pb.Sender, toUser
}

isOpenAppPush := svc.SysCfgGet(masterId, "is_open_app_push")
if sender.SenderType == 1 && req.ReceiverType == 1 && isOpenAppPush == "1" {
if sender.SenderType == 2 && req.ReceiverType == 1 && isOpenAppPush == "1" {
uid := strconv.FormatInt(req.ReceiverId, 10)
alia := db.DbUserPushForJg.UserPushForJgGetWithDb(masterId, uid)
if alia != "" {


Loading…
取消
儲存