chore: temporarily disable KYC and contract check logs

Comment out debugPrint statements in pending actions and contract
check services to reduce log noise during development.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-02 20:51:13 -08:00
parent 789d921fd7
commit f7913cd04e
2 changed files with 8 additions and 8 deletions

View File

@ -43,7 +43,7 @@ class ContractCheckService {
final unsignedTasks = await _contractSigningService.getUnsignedTasks();
return unsignedTasks.isNotEmpty;
} catch (e) {
debugPrint('[ContractCheckService] 检查待签署合同失败: $e');
// debugPrint('[ContractCheckService] 检查待签署合同失败: $e');
// 使 App
return false;
}
@ -62,7 +62,7 @@ class ContractCheckService {
// 2. KYC
if (hasPending) {
debugPrint('[ContractCheckService] 检测到 ${unsignedTasks.length} 个待签署合同');
// debugPrint('[ContractCheckService] 检测到 ${unsignedTasks.length} 个待签署合同');
return ContractCheckResult(
hasPendingContracts: true,
requiresKyc: false,
@ -79,7 +79,7 @@ class ContractCheckService {
paidOrderCount: kycResult.paidOrderCount,
);
} catch (e) {
debugPrint('[ContractCheckService] 综合检查失败: $e');
// debugPrint('[ContractCheckService] 综合检查失败: $e');
// 使 App
return ContractCheckResult(
hasPendingContracts: false,
@ -94,7 +94,7 @@ class ContractCheckService {
final unsignedTasks = await _contractSigningService.getUnsignedTasks();
return unsignedTasks.length;
} catch (e) {
debugPrint('[ContractCheckService] 获取待签署合同数量失败: $e');
// debugPrint('[ContractCheckService] 获取待签署合同数量失败: $e');
return 0;
}
}

View File

@ -103,7 +103,7 @@ class _PendingActionsPageState extends ConsumerState<PendingActionsPage> {
//
final alreadyCompleted = await _checkIfAlreadyCompleted(action);
if (alreadyCompleted) {
debugPrint('[PendingActionsPage] 操作 ${action.actionCode} 已完成,自动标记');
// debugPrint('[PendingActionsPage] 操作 ${action.actionCode} 已完成,自动标记');
return true;
}
@ -168,7 +168,7 @@ class _PendingActionsPageState extends ConsumerState<PendingActionsPage> {
final kycService = ref.read(kycServiceProvider);
final kycStatus = await kycService.getKycStatus();
if (kycStatus.isCompleted) {
debugPrint('[PendingActionsPage] KYC 已完成,跳过此操作');
// debugPrint('[PendingActionsPage] KYC 已完成,跳过此操作');
return true;
}
return false;
@ -178,7 +178,7 @@ class _PendingActionsPageState extends ConsumerState<PendingActionsPage> {
final kycService = ref.read(kycServiceProvider);
final kycStatus = await kycService.getKycStatus();
if (kycStatus.phoneVerified) {
debugPrint('[PendingActionsPage] 手机号已绑定,跳过此操作');
// debugPrint('[PendingActionsPage] 手机号已绑定,跳过此操作');
return true;
}
return false;
@ -188,7 +188,7 @@ class _PendingActionsPageState extends ConsumerState<PendingActionsPage> {
return false;
}
} catch (e) {
debugPrint('[PendingActionsPage] 预检查失败: $e');
// debugPrint('[PendingActionsPage] 预检查失败: $e');
//
return false;
}