Skip to content

Commit a09d863

Browse files
author
Matrix-X
committed
update(work): ApprovalInfo new fields
1 parent bf753bb commit a09d863

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/work/server/handlers/models/event.go

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,14 @@ type Comments struct {
207207
}
208208

209209
type ApprovalNode struct {
210-
NodeStatus int `xml:"NodeStatus"`
211-
NodeAttr int `xml:"NodeAttr"`
212-
NodeType int `xml:"NodeType"`
213-
ApprovalItems []ApprovalItem `xml:"Items"`
210+
NodeStatus int `xml:"NodeStatus"`
211+
NodeAttr int `xml:"NodeAttr"`
212+
NodeType int `xml:"NodeType"`
213+
ApprovalItems []ApprovalItems `xml:"Items"`
214+
}
215+
216+
type ApprovalItems struct {
217+
ApprovalItem []ApprovalItem `xml:"ApprovalNode"`
214218
}
215219

216220
type ApprovalItem struct {
@@ -222,6 +226,10 @@ type ApprovalItem struct {
222226
ItemOpTime int64 `xml:"ItemOpTime"`
223227
}
224228

229+
type NotifyNodes struct {
230+
NotifyNode NotifyNode `xml:"NotifyNode"`
231+
}
232+
225233
type NotifyNode struct {
226234
ItemName string `xml:"ItemName"`
227235
ItemUserId string `xml:"ItemUserId"`

0 commit comments

Comments
 (0)