refactor(datasource): remove WeCom document integration and related components

- Deleted WeCom document connector and callback handling code to streamline the datasource management.
- Removed associated localization entries and UI elements related to WeCom integration.
- Updated data source management logic to eliminate references to WeCom, enhancing maintainability and clarity.
- Adjusted error handling and logging to reflect the removal of WeCom-specific functionality.
This commit is contained in:
wizardchen
2026-03-30 19:33:17 +08:00
committed by lyingbug
parent 53bd412cf6
commit 1a340a8374
19 changed files with 36 additions and 1528 deletions
@@ -226,7 +226,7 @@ func (r *SyncLogRepository) CancelPendingByDataSource(ctx context.Context, dsID
if dsID == "" {
return errors.New("data source id is empty")
}
now := time.Now()
now := time.Now().UTC()
return r.db.WithContext(ctx).
Model(&types.SyncLog{}).
Where("data_source_id = ?", dsID).