support delete account

This commit is contained in:
MaysWind
2020-11-11 23:50:02 +08:00
parent b5a5032bd2
commit e4407c8137
8 changed files with 104 additions and 2 deletions
+4
View File
@@ -51,6 +51,10 @@ type AccountCreateRequest struct {
SubAccounts []*AccountCreateRequest `json:"subAccounts" binding:"omitempty"`
}
type AccountDeleteRequest struct {
Id int64 `json:"id,string" binding:"required,min=1"`
}
type AccountInfoResponse struct {
Id int64 `json:"id,string"`
Name string `json:"name"`