Bläddra i källkod

update

master
DengBiao 1 år sedan
förälder
incheckning
fde1165162
2 ändrade filer med 5 tillägg och 1 borttagningar
  1. +4
    -1
      internal/logic/domain/message/service/message_service.go
  2. +1
    -0
      pkg/urlwhitelist/urlwhitelist.go

+ 4
- 1
internal/logic/domain/message/service/message_service.go Visa fil

@@ -166,7 +166,10 @@ func (*messageService) SendToUser(ctx context.Context, sender *pb.Sender, toUser
return 0, err
}

isOpenAppPush := svc.SysCfgGet(masterId, "is_open_app_push")
isOpenAppPush := "0"
if masterId == "" {
isOpenAppPush = svc.SysCfgGet(masterId, "is_open_app_push")
}
utils.FilePutContents("SendToUser", utils.SerializeStr(map[string]interface{}{
"devices_len": len(devices),
"sender": sender,


+ 1
- 0
pkg/urlwhitelist/urlwhitelist.go Visa fil

@@ -20,4 +20,5 @@ var Logic = map[string]int{
"/pb.LogicExt/CreateGroup": 9,
"/pb.LogicExt/SetGroupRemoveBannedMembers": 10,
"/pb.LogicExt/SendRedPacket": 11,
"/pb.LogicExt/DeleteFriend": 12,
}

Laddar…
Avbryt
Spara