Skip to content

Commit

Permalink
refactor:change vivo send req field AppId type to int
Browse files Browse the repository at this point in the history
  • Loading branch information
frankhuang committed Mar 13, 2023
2 parents 560bb5b + df8e9fb commit 1a638d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

各手机厂商推送 api 接入

* vivo (最后更新时间:2023-03-13 16:54:37)
* vivo (最后更新时间:2023-03-13 17:20:37)
* oppo (最后更新时间:2021-04-21 16:03:09)
* 小米 (最后更新时间:2022-08-02 10:00:00)
* 华为 (最后更新时间:2021-04-21 10:51:00)
Expand Down
2 changes: 1 addition & 1 deletion vivopush/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type AuthRes struct {
}

type SendReq struct {
AppId string `json:"appId,omitempty"` // 用户申请推送业务时生成的appId,用于与获取authToken时传递的appId校验,一致才可以推送
AppId int `json:"appId,omitempty"` // 用户申请推送业务时生成的appId,用于与获取authToken时传递的appId校验,一致才可以推送
RegId string `json:"regId,omitempty"` // 应用订阅PUSH服务器得到的id 长度23个字符(regId,alias 两者需一个不为空,当两个不为空时,取regId)
Alias string `json:"alias,omitempty"` // 别名 长度不超过40字符(regId,alias两者需一个不为空,当两个不为空时,取regId)
NotifyType int `json:"notifyType,omitempty"` // 通知类型 1:无,2:响铃,3:振动,4:响铃和振动
Expand Down

0 comments on commit 1a638d9

Please sign in to comment.