| | |
| | | redisUtil.setStrValue(phone, authCode, 5 * 60);//设置五分钟过期 |
| | | switch (language){ |
| | | case 1: |
| | | sms = "您的验证码为:" + authCode + ",该验证码5分钟内有效,请勿泄漏于他人!"; |
| | | // sms = "您的验证码为:" + authCode + ",该验证码5分钟内有效,请勿泄漏于他人!"; |
| | | sms = "Your verification code is " + authCode + ", it is valid within 5 minutes, please do not reveal it to others."; |
| | | break; |
| | | case 2: |
| | | sms = "Your verification code is " + authCode + ",it is valid within 5 minutes, please do not reveal it to others."; |
| | | sms = "Your verification code is " + authCode + ", it is valid within 5 minutes, please do not reveal it to others."; |
| | | break; |
| | | case 3: |
| | | sms = "Votre code de validation est " + authCode + " et il est valide pendant 5 minutes. Veuillez ne pas le révéler à d’autres personnes."; |