add: User cancels account

This commit is contained in:
EUForest
2025-11-09 17:27:24 +08:00
parent b9d3446407
commit 60d584a052
4 changed files with 97 additions and 0 deletions
+5
View File
@@ -122,6 +122,7 @@ type (
HistoryContinuousDays int64 `json:"history_continuous_days"`
LongestSingleConnection int64 `json:"longest_single_connection"`
}
)
@server (
@@ -229,6 +230,10 @@ service ppanel {
@doc "Device Online Statistics"
@handler DeviceOnlineStatistics
get /device_online_statistics returns (GetDeviceOnlineStatsResponse)
@doc "Delete Current User Account"
@handler DeleteCurrentUserAccount
delete /current_user_account
}