Pārlūkot izejas kodu

收单可选参数

icole 4 gadi atpakaļ
vecāks
revīzija
c4b034df10
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      internal/types/types.go

+ 1 - 1
internal/types/types.go

@@ -120,7 +120,7 @@ type EnrollAddReq struct {
 	AgeGroup      int    `json:"age_group,optional"`
 	StuLinkPerson string `json:"stu_link_person"`
 	StuPhone      string `json:"stu_phone"`
-	SchId         int    `json:"sch_id,stu_link_person"`
+	SchId         int    `json:"sch_id,optional"`
 	Address       string `json:"address"`
 	Sign          string `json:"sign"`
 }