Skip to content

Commit

Permalink
Merge pull request #345 from Jiang-boyang/release/3.0.0
Browse files Browse the repository at this point in the history
update:approval temp selector type
  • Loading branch information
Matrix-X committed Jul 11, 2023
2 parents cd1f499 + a7cd027 commit 9059bef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/work/oa/response/responseApprovalTemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ type Property struct {
UnPrint int `json:"un_print"`
}

type Config struct {
Type string `json:"type"`
Options []*Option `json:"options"`
}

type Value struct {
Text string `json:"text"`
Lang string `json:"lang"`
Expand All @@ -36,7 +41,7 @@ type Option struct {

type Control struct {
Property *Property `json:"property"`
Config *power.HashMap `json:"config"`
Config *Config `json:"config"`
}

type TemplateContent struct {
Expand Down

0 comments on commit 9059bef

Please sign in to comment.