File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -608,16 +608,16 @@ func (ma *memberAPI) searchDDNS(c *gin.Context) {
608608}
609609
610610type serverForm struct {
611- ID uint64
612- Name string `binding:"required"`
613- DisplayIndex int
614- Secret string
615- Tag string
616- Note string
617- PublicNote string
618- HideForGuest string
619- EnableDDNS string
620- DDNSProfilesRaw string
611+ ID uint64 `form:"id" json:"id"`
612+ Name string `form:"name" json:"name" binding:"required"`
613+ DisplayIndex int `form:"DisplayIndex" json:"display_index"`
614+ Secret string `form:"secret" json:"secret"`
615+ Tag string `form:"Tag" json:"tag"`
616+ Note string `form:"Note" json:"note"`
617+ PublicNote string `form:"PublicNote" json:"public_note"`
618+ HideForGuest string `form:"HideForGuest" json:"hide_for_guest"`
619+ EnableDDNS string `form:"EnableDDNS" json:"enable_ddns"`
620+ DDNSProfilesRaw string `form:"DDNSProfilesRaw" json:"ddns_profiles_raw"`
621621}
622622
623623func (ma * memberAPI ) addOrEditServer (c * gin.Context ) {
You can’t perform that action at this time.
0 commit comments