重命名包为 core

This commit is contained in:
2025-05-07 17:38:27 +08:00
parent 60bbe47368
commit 0a16f9923c
43 changed files with 349 additions and 347 deletions

View File

@@ -3,7 +3,7 @@ package handlers
import (
"net"
"platform/web/auth"
"platform/web/common"
"platform/web/core"
g "platform/web/globals"
m "platform/web/models"
q "platform/web/queries"
@@ -14,7 +14,7 @@ import (
)
type ListWhitelistReq struct {
common.PageReq
core.PageReq
}
type ListWhitelistResp struct {
@@ -62,7 +62,7 @@ func ListWhitelist(c *fiber.Ctx) error {
}
// 返回结果
return c.JSON(common.PageResp{
return c.JSON(core.PageResp{
Total: int(total),
List: list,
Page: req.GetPage(),