From 0ee67807f04c824a3d5836a2d2baca718a9e827a Mon Sep 17 00:00:00 2001 From: feiyangqingyun Date: Thu, 17 Sep 2020 09:17:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0NTP=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=A0=A1=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ntpclient/frmntpclient.ui | 2 +- ntpclient/ntpclient.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ntpclient/frmntpclient.ui b/ntpclient/frmntpclient.ui index ac6e8db..9d069ce 100644 --- a/ntpclient/frmntpclient.ui +++ b/ntpclient/frmntpclient.ui @@ -33,7 +33,7 @@ - 133.100.11.8 + ntp1.aliyun.com diff --git a/ntpclient/ntpclient.cpp b/ntpclient/ntpclient.cpp index ae7387e..d399b24 100644 --- a/ntpclient/ntpclient.cpp +++ b/ntpclient/ntpclient.cpp @@ -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()));