(number string, now time.Time)
| 43 | } |
| 44 | |
| 45 | func getCountKey(number string, now time.Time) string { |
| 46 | return fmt.Sprintf(CountKey, number, now.Format("2006-01-02")) |
| 47 | } |
| 48 | |
| 49 | // GetVCode 获取短信验证码 |
| 50 | func (s *smsCache) GetVCode(ctx context.Context, smsID, number string) (string, error) { |