...
|
...
|
@@ -17,7 +17,7 @@ type BulletinReleaseRequest struct { |
|
|
Title string `json:"title" valid:"Required"`
|
|
|
Content string `json:"content" valid:"Required"`
|
|
|
AllowClose int `json:"allow_close"`
|
|
|
AllowCondition int `json:"allow_condition"`
|
|
|
//AllowCondition int `json:"allow_condition"`
|
|
|
QuestionSwitch int `json:"question_switch"`
|
|
|
Receiver []string `json:"receiver" valid:"Required"`
|
|
|
Question Question `json:"question"`
|
...
|
...
|
@@ -70,7 +70,7 @@ type GetBulletinResponse struct { |
|
|
Title string `json:"title" valid:"Required"`
|
|
|
Content string `json:"content" valid:"Required"`
|
|
|
AllowClose int `json:"allow_close"`
|
|
|
AllowCondition int `json:"allow_condition"`
|
|
|
//AllowCondition int `json:"allow_condition"`
|
|
|
QuestionSwitch int `json:"question_switch"`
|
|
|
Receiver []Receiver `json:"receiver" valid:"Required"`
|
|
|
Question Question `json:"question"`
|
...
|
...
|
@@ -89,7 +89,7 @@ type UpdateBulletinRequest struct { |
|
|
Title string `json:"title" valid:"Required"`
|
|
|
Content string `json:"content" valid:"Required"`
|
|
|
AllowClose int `json:"allow_close"`
|
|
|
AllowCondition int `json:"allow_condition"`
|
|
|
//AllowCondition int `json:"allow_condition"`
|
|
|
QuestionSwitch int `json:"question_switch"`
|
|
|
Receiver []string `json:"receiver" valid:"Required"`
|
|
|
Question Question `json:"question"`
|
...
|
...
|
|