问题 10 短信部分

This commit is contained in:
wangshuai 2024-07-16 15:07:42 +08:00
parent 7e54b41593
commit 4df97547b2
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ public class SmsController {
String[] phoneNumber = new String[]{phone};
String[] params = new String[]{smsCode};
// String status = iSmsService.sendSms(phoneNumber, params);
if("Ok".equals("Ok")){
String status = iSmsService.sendSms(phoneNumber, params);
if("Ok".equals(status)){
System.out.println(phone + "sms code = "+smsCode);
System.out.println(phone + "sms code = "+smsCode);
System.out.println(phone + "sms code = "+smsCode);