瀏覽代碼

收单可选参数

icole 4 年之前
父節點
當前提交
c4b034df10
共有 1 個文件被更改,包括 1 次插入1 次删除
  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"`
 }