feat: create user, read users, batch delete users

This commit is contained in:
naiba committed 2024-10-22 21:19:30 +08:00
1 parent 602fbebcda
commit c706950ecc
7 files changed
+107 -11

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ import (
// @Produce json
// @Success 200 {object} model.CommonResponse[any]
// @Router /server/{id} [patch]
func editServer(c *gin.Context) error {
func updateServer(c *gin.Context) error {
idStr := c.Param("id")
id, err := strconv.ParseUint(idStr, 10, 64)
if err != nil {