修复白名单数据库类型映射问题
This commit is contained in:
@@ -101,6 +101,10 @@ func CreateWhitelist(c *fiber.Ctx) error {
|
||||
IP: u.Z(ip),
|
||||
Remark: &req.Remark,
|
||||
})
|
||||
if err != nil {
|
||||
return core.NewServErr("添加白名单失败", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user