add cmd/open_im_push

This commit is contained in:
xmcy0011 2021-10-11 21:43:36 +08:00
parent b4195bd81c
commit 1a12eb9703
15 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
package main
import (
"Open_IM/src/push/logic"
"Open_IM/internal/push/logic"
"flag"
"sync"
)

View File

@ -1,11 +1,11 @@
package logic
import (
tpns "Open_IM/internal/push/sdk/tpns-server-sdk-go/go"
"Open_IM/internal/push/sdk/tpns-server-sdk-go/go/auth"
"Open_IM/internal/push/sdk/tpns-server-sdk-go/go/common"
"Open_IM/internal/push/sdk/tpns-server-sdk-go/go/req"
"Open_IM/src/common/config"
tpns "Open_IM/src/push/sdk/tpns-server-sdk-go/go"
"Open_IM/src/push/sdk/tpns-server-sdk-go/go/auth"
"Open_IM/src/push/sdk/tpns-server-sdk-go/go/common"
"Open_IM/src/push/sdk/tpns-server-sdk-go/go/req"
)
var badgeType = -2

View File

@ -1,7 +1,7 @@
package common
import (
tpns "Open_IM/src/push/sdk/tpns-server-sdk-go/go"
tpns "Open_IM/internal/push/sdk/tpns-server-sdk-go/go"
"encoding/json"
"fmt"
"io/ioutil"

View File

@ -1,7 +1,7 @@
package req
import (
tpns "Open_IM/src/push/sdk/tpns-server-sdk-go/go"
tpns "Open_IM/internal/push/sdk/tpns-server-sdk-go/go"
"bytes"
"encoding/json"
"io"

View File

@ -2,6 +2,7 @@ package rpcChat
import (
"Open_IM/internal/api/group"
"Open_IM/internal/push/content_struct"
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
http2 "Open_IM/src/common/http"
@ -9,7 +10,6 @@ import (
"Open_IM/src/grpc-etcdv3/getcdv3"
pbChat "Open_IM/src/proto/chat"
pbGroup "Open_IM/src/proto/group"
"Open_IM/src/push/content_struct"
"Open_IM/src/utils"
"context"
"encoding/json"