Ver Fonte

收单可选参数

icole há 4 anos atrás
pai
commit
c4b034df10
1 ficheiros alterados com 1 adições e 1 exclusões
  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"`
 }