Commit 711c221e by zhangxw

修改

1 parent 6b0591cb
...@@ -17,6 +17,3 @@ model clue_burial_point_record { ...@@ -17,6 +17,3 @@ model clue_burial_point_record {
event_type Int event_type Int
event_time DateTime @default(now()) @db.Timestamp(0) event_time DateTime @default(now()) @db.Timestamp(0)
} }
\ No newline at end of file \ No newline at end of file
model script_record_browse_log {
created_time DateTime @default(now()) @db.Timestamp(0)
}
\ No newline at end of file \ No newline at end of file
...@@ -21,7 +21,7 @@ export class ClueController{ ...@@ -21,7 +21,7 @@ export class ClueController{
@Query('event_time_start') event_time_start: string, @Query('event_time_start') event_time_start: string,
@Query('event_time_end') event_time_end: 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 data = {}
const promises = event_codes.map(event_code => { const promises = event_codes.map(event_code => {
const where = {} const where = {}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!