add usage

This commit is contained in:
Sakurasan
2023-04-17 22:48:37 +08:00
parent 21bf006a57
commit eb22de912a
4 changed files with 90 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ func main() {
// 获取所有用户信息
group.GET("/users", router.HandleUsers)
group.GET("/usages", router.HandleUsage)
// 添加Key
group.POST("/keys", router.HandleAddKey)