support clear all user data

This commit is contained in:
MaysWind
2021-01-18 01:12:21 +08:00
parent d0853a9b6f
commit 51b0ae8076
7 changed files with 178 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
package models
// ClearDataRequest represents all parameters of clear user data request
type ClearDataRequest struct {
Password string `json:"password" binding:"omitempty,min=6,max=128"`
}