1c0c024b9a
feat: 转存记录记录文件大小, 详情展示使用账号+文件大小+时间格式
...
- quark/baidu 驱动 saveFromShare 返回 fileSize 总大小
- cloud.service.ts 写入 file_size 字段(非null时转字符串)
- 详情页新增文件大小展示(formatFileSize 自动格式化)
- 详情页时间改为 formatTime(yyyy-MM-dd HH:mm:ss)
- SaveRecords 时间格式: 05-15 → 2026-05-15
2026-05-15 07:05:03 +08:00
359e15a82d
fix: save_records JOIN 查询列名歧义, 加 sr. 前缀
...
- getRecords JOIN cloud_configs 后 WHERE 列需加 sr. 前缀
- 不带日期筛选时不触发 (srWhere 为空字符串)
- summaryRows 查询也用 srWhere 但去掉 sr. 前缀 (查询 save_records 不需要)
- 详情补充文件大小/使用账号/耗时
2026-05-15 06:57:50 +08:00
37aa05b1e1
revert: 去掉资源历史查询逻辑, 保留纯IP+is_primary分配
...
- 网盘分享按新资源奖励机制, 不需追资源转存历史
- getAndValidateCredential 去掉 shareUrl 参数
- 保留 save_records.config_id 字段(仅用于日志排查)
2026-05-15 06:48:23 +08:00
329256bd33
fix: 转存时先查资源历史, 复用原账号; save_records加config_id
...
- 资源维度优先级 > IP维度: 先查share_url是否被转存过
- save_records 表新增 config_id 字段 + 写入时记录
- cloud.service.ts 所有 INSERT 写入 config.id
- credential.service.ts: getAndValidateCredential 加 shareUrl 参数
- 数据库 migration: config_id 到 save_records
2026-05-15 06:45:48 +08:00
abd0cb26f5
feat: IP-based daily account priority for save
...
- Added ip_daily_save_counts table to track per-IP daily usage
- getAndValidateCredential now accepts ipAddress parameter
- First 2 saves by same IP use primary account; 3rd+ round-robins to other accounts
- Counter increments on each successful credential acquisition
- All timestamps in Asia/Shanghai timezone
2026-05-15 06:19:04 +08:00
d83225d736
chore: initial commit - CloudSearch v0.0.2
2026-05-15 05:50:50 +08:00