更新NTP时间校对

This commit is contained in:
feiyangqingyun
2020-09-17 09:18:19 +08:00
parent 7b52f1bb68
commit 2dec41afa7
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ NtpClient *NtpClient::Instance()
NtpClient::NtpClient(QObject *parent) : QObject(parent)
{
ntpIP = "202.120.2.101";
ntpIP = "ntp1.aliyun.com";
udpSocket = new QUdpSocket(this);
connect(udpSocket, SIGNAL(connected()), this, SLOT(sendData()));