|
|
@@ -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, |
|
|
|