singal offline push

This commit is contained in:
wangchuxiao
2022-06-02 19:14:11 +08:00
parent 6996c008d0
commit 409a8311b1
4 changed files with 15 additions and 16 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
package getui
import (
"Open_IM/internal/push/logic"
"Open_IM/internal/push"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/db"
"Open_IM/pkg/common/log"
@@ -99,7 +99,7 @@ func newGetuiClient() *Getui {
return &Getui{}
}
func (g *Getui) Push(userIDList []string, alert, detailContent, operationID string, opts logic.PushOpts) (resp string, err error) {
func (g *Getui) Push(userIDList []string, alert, detailContent, operationID string, opts push.PushOpts) (resp string, err error) {
token, err := db.DB.GetGetuiToken()
log.NewDebug(operationID, utils.GetSelfFuncName(), "token", token)
if err != nil {