Skip to content

Commit

Permalink
video 加上json字段
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxianloveqiqi committed Nov 7, 2023
1 parent 96c38d8 commit c24665b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion server/video/model/video.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ CREATE TABLE `video`
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
KEY `idx_user_id_create_time` (`user_id`,`create_time`)
) ENGINE=InnoDB AUTO_INCREMENT=1721574251233812481 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci

18 changes: 9 additions & 9 deletions server/video/model/videomodel_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion server/video/mq/internal/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ func (s *Service) consume(ch chan *model.Video) {
vJson, err := jsonx.MarshalToString(v)
if err != nil {
logx.Error("解析json对象,err:", err)

return
}
_, err = s.ESClient.Index().
Expand Down

0 comments on commit c24665b

Please sign in to comment.