Эх сурвалжийг харах

Merge remote-tracking branch 'origin/master'

Dream 7 сар өмнө
parent
commit
dd264f43d7

+ 1 - 1
src/AppManager/Encryption.cpp

@@ -9,7 +9,7 @@
   */
 
 #include "Encryption.hpp"
-#include "res/Encrypt.h" // 假设 Encrypt.h 提供了 RC4 加密和解密函数
+#include "res/Encrypt.h" 
 #include <cstring>
 
 // RC4 加密数据

+ 1 - 1
src/AppManager/Network.cpp

@@ -53,7 +53,7 @@ std::string Network::post_request(const std::string& url, const std::string& pos
     curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 10L); // 连接超时 10 秒
     curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); // 支持重定向
 #ifdef DEBUG_LOG
-    curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); // 禁用 SSL 验证(调试用生产慎用)
+    curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); // 禁用 SSL 验证(调试用生产慎用!
 #endif
     curl_easy_setopt(curl, CURLOPT_USERAGENT, "Angel/1.0 (Android)"); // 设置 User-Agent