Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-serivce
/
glsk-analysis-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 711c221e
authored
May 27, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
6b0591cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
prisma/schema.prisma
src/modules/clue/clue.controller.ts
prisma/schema.prisma
View file @
711c221
...
...
@@ -16,7 +16,4 @@ model clue_burial_point_record {
system_source Int
event_type Int
event_time DateTime @default(now()) @db.Timestamp(0)
}
model script_record_browse_log {
created_time DateTime @default(now()) @db.Timestamp(0)
}
\ No newline at end of file
src/modules/clue/clue.controller.ts
View file @
711c221
...
...
@@ -21,7 +21,7 @@ export class ClueController{
@
Query
(
'event_time_start'
)
event_time_start
:
string
,
@
Query
(
'event_time_end'
)
event_time_end
:
string
)
{
const
event_codes
=
[
'mentorship_page'
,
'supervisor_daily_page'
,
'0'
,
'1'
,
'3'
,
'extraction'
]
const
event_codes
=
event_code
?
[
event_code
]
:
[
'mentorship_page'
,
'supervisor_daily_page'
,
'0'
,
'1'
,
'3'
,
'extraction'
]
const
data
=
{}
const
promises
=
event_codes
.
map
(
event_code
=>
{
const
where
=
{}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment