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,9 +1,9 @@
package push
import (
"Open_IM/internal/push"
"Open_IM/internal/push/jpush/common"
"Open_IM/internal/push/jpush/requestBody"
"Open_IM/internal/push/logic"
"Open_IM/pkg/common/config"
"bytes"
"encoding/json"
@@ -33,7 +33,7 @@ func (j *JPush) SetAlias(cid, alias string) (resp string, err error) {
return resp, nil
}
func (j *JPush) Push(accounts []string, alert, detailContent, operationID string, opts logic.PushOpts) (string, error) {
func (j *JPush) Push(accounts []string, alert, detailContent, operationID string, opts push.PushOpts) (string, error) {
var pf requestBody.Platform
pf.SetAll()
var au requestBody.Audience