提取接口添加IP与实名验证; SendSms 添加调试模式验证码发送跳过逻辑

This commit is contained in:
2025-04-21 19:01:23 +08:00
parent 806dca928f
commit 089e2b7590
4 changed files with 36 additions and 28 deletions

View File

@@ -46,6 +46,7 @@ func (s *Server) Run() error {
// config
s.fiber = fiber.New(fiber.Config{
ProxyHeader: fiber.HeaderXForwardedFor,
ErrorHandler: ErrorHandler,
})