feat: iap支付方式

This commit is contained in:
2025-12-16 01:37:59 -08:00
parent f888b772c2
commit 60de644637
11 changed files with 368 additions and 52 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ class BaseResponse<T> {
if (cipherText.isNotEmpty && nonce.isNotEmpty) {
try {
if (kDebugMode) {
print('═══════════════════════════════════════');
print('🔐 检测到加密响应,开始解密...');
// print('═══════════════════════════════════════');
// print('🔐 检测到加密响应,开始解密...');
print('📥 加密数据长度: ${cipherText.length} 字符');
print('⏰ 时间戳: $nonce');
}
-3
View File
@@ -431,9 +431,6 @@ class _KRSimpleHttpInterceptor extends Interceptor {
if (kDebugMode) {
print('');
}
if (kDebugMode) {
print('🔐 检测到加密请求,正在解密...');
}
// 尝试解密并打印原始数据
final encryptedData = data['data'] as String;
final nonce = data['time'] as String;