main
parent
3e1fc8a46b
commit
63e9f8e54b
|
|
@ -11,6 +11,7 @@ import com.aliyuncs.http.MethodType;
|
|||
import com.aliyuncs.profile.DefaultProfile;
|
||||
import com.ruoyi.app.properties.AliSmsProperties;
|
||||
import com.ruoyi.common.redis.service.RedisService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
|
@ -19,6 +20,7 @@ import java.util.Random;
|
|||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
@Component
|
||||
@Slf4j
|
||||
public class SendNoteUtil {
|
||||
|
||||
// /**
|
||||
|
|
@ -74,6 +76,7 @@ public class SendNoteUtil {
|
|||
if ("18000000000".equals(PhoneNumber)) {
|
||||
randomNumber = "1234";
|
||||
}
|
||||
log.info("--------------------------------------------- " + PhoneNumber + "验证码:" + randomNumber);
|
||||
CommonRequest request = new CommonRequest();
|
||||
//request.setSysProtocol(ProtocolType.HTTPS);
|
||||
request.setSysMethod(MethodType.POST);
|
||||
|
|
|
|||
Loading…
Reference in New Issue