...
|
...
|
@@ -25,7 +25,7 @@ type notifySms struct { |
|
|
|
|
|
func (notices *notifySms) init() {
|
|
|
notices.newSms = make(chan *domain.LogSms, 50)
|
|
|
notices.interval = 10 * time.Minute
|
|
|
notices.interval = 5 * time.Minute
|
|
|
if constant.Env != "prd" {
|
|
|
notices.interval = 1 * time.Minute
|
|
|
}
|
...
|
...
|
|