修改时间容器前
This commit is contained in:
@@ -351,9 +351,10 @@ void DNFTOOL::GMNotice(char* str, int type, int color)
|
||||
#else
|
||||
std::string DNFTOOL::GetIP()
|
||||
{
|
||||
httplib::SSLClient Tencword("gitee.com");
|
||||
//std::cout << "获取Ip" << std::endl;
|
||||
httplib::SSLClient Tencword("yosin-team.coding.net");
|
||||
std::string body;
|
||||
auto res = Tencword.Get("/yosin_team/request-ip/raw/master/README.md",
|
||||
auto res = Tencword.Get("/p/huoqushuju/d/GetIp/git/raw/master/ip.txt?download=false",
|
||||
[&](const char* data, size_t data_length) {
|
||||
body.append(data, data_length);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user