重命名包为 core
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user