mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-05 17:56:50 +08:00
push
This commit is contained in:
parent
1f7e788585
commit
49b21fb577
@ -130,7 +130,7 @@ func newGetuiClient() *Getui {
|
||||
|
||||
func (g *Getui) Push(userIDList []string, title, detailContent, operationID string, opts push.PushOpts) (resp string, err error) {
|
||||
token, err := db.DB.GetGetuiToken()
|
||||
log.NewDebug(operationID, utils.GetSelfFuncName(), "token:", token)
|
||||
log.NewDebug(operationID, utils.GetSelfFuncName(), "token:", token, userIDList)
|
||||
if err != nil {
|
||||
log.NewError(operationID, utils.GetSelfFuncName(), "GetGetuiToken failed", err.Error())
|
||||
}
|
||||
@ -153,7 +153,7 @@ func (g *Getui) Push(userIDList []string, title, detailContent, operationID stri
|
||||
}
|
||||
if len(userIDList) > 1 {
|
||||
taskID, err := db.DB.GetGetuiTaskID()
|
||||
log.NewDebug(operationID, utils.GetSelfFuncName(), "token:", token)
|
||||
log.NewDebug(operationID, utils.GetSelfFuncName(), "taskID", taskID)
|
||||
if err != nil {
|
||||
log.NewError(operationID, utils.GetSelfFuncName(), "GetGetuiTaskID failed", err.Error())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user