Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
U
utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
library
utils
Commits
8268e27e
Verified
Commit
8268e27e
authored
Oct 23, 2019
by
Cui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add params
parent
2c8b6a7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
structs.go
sender/structs.go
+6
-0
No files found.
sender/structs.go
View file @
8268e27e
...
@@ -390,6 +390,9 @@ type AppMessage struct {
...
@@ -390,6 +390,9 @@ type AppMessage struct {
NoticeType
int
`json:"noticeType"`
NoticeType
int
`json:"noticeType"`
UserId
string
`json:"userId"`
Start
string
`json:"start"`
JumpType
string
`json:"jumpType"`
// enum: [ 'app','web' ],
JumpType
string
`json:"jumpType"`
// enum: [ 'app','web' ],
JumpPage
string
`json:"jumpPage"`
// enum: [ 'home', 'found', 'invite','buyCourse ','buyCard','webpage' ],
JumpPage
string
`json:"jumpPage"`
// enum: [ 'home', 'found', 'invite','buyCourse ','buyCard','webpage' ],
JumpUrl
string
`json:"jumpUrl"`
JumpUrl
string
`json:"jumpUrl"`
...
@@ -422,6 +425,9 @@ func (am *AppMessage) ToFields() (fields logrus.Fields) {
...
@@ -422,6 +425,9 @@ func (am *AppMessage) ToFields() (fields logrus.Fields) {
fields
[
"jumpTag"
]
=
am
.
Extra
.
JumpTag
fields
[
"jumpTag"
]
=
am
.
Extra
.
JumpTag
fields
[
"classType"
]
=
am
.
Extra
.
ClassType
fields
[
"classType"
]
=
am
.
Extra
.
ClassType
fields
[
"userId"
]
=
am
.
Extra
.
UserId
fields
[
"start"
]
=
am
.
Extra
.
Start
fields
[
"channelId"
]
=
am
.
Extra
.
ChannelId
fields
[
"channelId"
]
=
am
.
Extra
.
ChannelId
fields
[
"channelGroupId"
]
=
am
.
Extra
.
ChannelGroupId
fields
[
"channelGroupId"
]
=
am
.
Extra
.
ChannelGroupId
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment