feat(app): update
This commit is contained in:
@ -586,7 +586,7 @@ func (*MessageClient) PushActiveMessage(userId, deviceId, time, platform, device
|
||||
}
|
||||
|
||||
// PushErrorMessage 发布错误消息
|
||||
func (*MessageClient) PushErrorMessage(code string, content interface{}, tag message2.ErrorTag) (e error) {
|
||||
func (*MessageClient) PushErrorMessage(code string, content any, tag message2.ErrorTag) (e error) {
|
||||
b, e := json.Marshal(content)
|
||||
if nil != e {
|
||||
return
|
||||
@ -601,7 +601,7 @@ func (*MessageClient) PushErrorMessage(code string, content interface{}, tag mes
|
||||
}
|
||||
|
||||
// PushEventMessage 发布事件消息
|
||||
func (*MessageClient) PushEventMessage(tag message2.EventTag, flag message2.EventFlag, eventId string, content interface{}) (e error) {
|
||||
func (*MessageClient) PushEventMessage(tag message2.EventTag, flag message2.EventFlag, eventId string, content any) (e error) {
|
||||
message := message2.EventMessage{
|
||||
Tag: tag,
|
||||
Flag: flag,
|
||||
|
||||
Reference in New Issue
Block a user