chore(env): update log level to debug and modify .gitignore
- Change log level from 'info' to 'debug' for enhanced logging during development. - Add '.cursor' to .gitignore to prevent tracking of cursor files.
This commit is contained in:
@@ -164,7 +164,7 @@ export class BidsService {
|
||||
count,
|
||||
latestPublishDate,
|
||||
error,
|
||||
createdAt as latestUpdate
|
||||
strftime('%Y-%m-%d %H:%M:%S', createdAt, '+8 hours') as latestUpdate
|
||||
FROM crawl_info_add
|
||||
WHERE (source, createdAt) IN (
|
||||
SELECT source, MAX(createdAt)
|
||||
@@ -180,7 +180,7 @@ export class BidsService {
|
||||
return results.map((item) => ({
|
||||
source: String(item.source),
|
||||
count: Number(item.count),
|
||||
latestUpdate: item.latestUpdate ? item.latestUpdate + 'Z' : null,
|
||||
latestUpdate: item.latestUpdate,
|
||||
latestPublishDate: item.latestPublishDate,
|
||||
// 确保 error 字段正确处理:null 或空字符串都转换为 null,非空字符串保留
|
||||
error:
|
||||
|
||||
Reference in New Issue
Block a user