wangshan 5 months ago
parent
commit
462c62a205
1 changed files with 9 additions and 9 deletions
  1. 9 9
      common/src/qfw/util/jy/jy.go

+ 9 - 9
common/src/qfw/util/jy/jy.go

@@ -144,19 +144,19 @@ type smsStrategy struct {
 var (
 	smsStrategys = []smsStrategy{
 		{
-			"1",
-			5,
-			24 * 60 * 60,
+			"3",
+			2,
+			3 * 60,
 		},
 		{
 			"7",
-			7,
-			7 * 24 * 60 * 60,
+			3,
+			7 * 60,
 		},
 		{
-			"15",
-			10,
-			15 * 24 * 60 * 60,
+			"2h",
+			5,
+			2 * 60 * 60,
 		},
 	}
 	smsExistKey  = "sms_exist_%s"
@@ -213,7 +213,7 @@ func SendSMS(r *http.Request, BaseMysql *mysql.Mysql, address, mobile string, pa
 					"ip_state": ipState,
 					"date":     FormatDate(&now, Date_Full_Layout),
 				}); id <= 0 {
-					log.Println("sms_black_phone 信息保存异常:", mobile, ip)
+					log.Println("sms_black_ip 信息保存异常:", mobile, ip)
 				}
 			}
 			if !phoneE {