新增短信限制

This commit is contained in:
chy
2025-06-24 16:41:58 +08:00
parent 8342c92247
commit 2b1fd69601
2 changed files with 21 additions and 2 deletions

View File

@ -2,8 +2,9 @@ package consts
// 用户
const (
UserBindPhoneKey = "user:bindPhone:%s"
UserCodeExpire = 5 * 60
UserBindPhoneKey = "user:bindPhone:%s"
UserBindPhoneLimitKey = "user:bindPhoneLimit:%s"
UserCodeExpire = 5 * 60
)
const (