feat: 减少日志,增强状态,减少监听

This commit is contained in:
2025-12-03 18:06:47 -08:00
parent 33b9cd34f1
commit 5bd77511cc
7 changed files with 161 additions and 180 deletions
+5 -5
View File
@@ -502,11 +502,11 @@ class _KRSimpleHttpInterceptor extends Interceptor {
}
// 尝试格式化 JSON
try {
final jsonData = jsonDecode(decrypted);
final prettyJson = JsonEncoder.withIndent(' ').convert(jsonData);
if (kDebugMode) {
print(prettyJson);
}
// final jsonData = jsonDecode(decrypted);
// final prettyJson = JsonEncoder.withIndent(' ').convert(jsonData);
// if (kDebugMode) {
// print(prettyJson);
// }
} catch (_) {
if (kDebugMode) {
print(decrypted);