type AssessAnswer struct { WorkId int `p:"work_id" v:"required#工种ID不可为空"` StaffId int `p:"staff_id" v:"required#人员ID不可为空"` Answer []*Answers `p:"answer" v:"required#答题结果不可为空"` }
type Answers struct { QuestionId int `p:"question_id" v:"required#题目ID不可为空"` // 题目ID Answer string `p:"answer" v:"required#题目答题结果不可为空"` // 答案 Type int `p:"type"` }
3 Comments
black1552
aries
框架用的什么版本?
black1552