|
@@ -25,7 +25,10 @@ public class VcUtil {
|
|
*/
|
|
*/
|
|
private static boolean sendVc(String phone, String vc) {
|
|
private static boolean sendVc(String phone, String vc) {
|
|
SendSmsResponse send = SmsUtil.send(phone, vc);
|
|
SendSmsResponse send = SmsUtil.send(phone, vc);
|
|
- return !send.body.code.equals("OK");
|
|
|
|
|
|
+ if (send.body.code.equals("OK"))
|
|
|
|
+ return true;
|
|
|
|
+ else
|
|
|
|
+ return false;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|