diff --git a/pkg/service/account/account.go b/pkg/service/account/account.go index e993d88..2b6e659 100644 --- a/pkg/service/account/account.go +++ b/pkg/service/account/account.go @@ -292,6 +292,11 @@ func SendMsg(c *gin.Context) { } req.Project = "fiee" req.TelNum = req.Zone + req.TelNum + //todo 审核使用账号 + if req.TelNum == "8618888888888" { + service.Success1(c, "发送成功", &account.SendMsgStatusResponse{}) + return + } if req.Zone != e.ZoneCn && req.Zone != "" { // ============================== redis检查ip开始 ip := c.ClientIP() @@ -336,11 +341,6 @@ func SendMsg(c *gin.Context) { //cache.RedisClient.Incr(daykey) //cache.RedisClient.Incr(minutekey) // ============================== redis检查ip结束 - //todo 审核使用账号 - if req.TelNum == "8618888888888" { - service.Success1(c, "发送成功", &account.SendMsgStatusResponse{}) - return - } tempReq := &account.SendNationMsgRequest{ Domain: req.Domain, TelNum: req.TelNum,