|
@@ -76,7 +76,7 @@ const useLogger = () => {
|
|
|
sortType,
|
|
sortType,
|
|
|
tags,
|
|
tags,
|
|
|
videoLibraryType,
|
|
videoLibraryType,
|
|
|
- }:VideoListQueryLogParams) => {
|
|
|
|
|
|
|
+ }:VideoListQueryLogParams) => {
|
|
|
return uploadLog({
|
|
return uploadLog({
|
|
|
businessType: 'video_list_query',
|
|
businessType: 'video_list_query',
|
|
|
objectType: 'video_list',
|
|
objectType: 'video_list',
|
|
@@ -96,7 +96,7 @@ const useLogger = () => {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const uploadLogVideoPlay = ({videoId, traceId, requestId, planType, gzhAccountId, subChannel}: VideoLogParams) => {
|
|
|
|
|
|
|
+ const uploadLogVideoPlay = ({videoId, traceId, requestId, planType, gzhAccountId, subChannel}: VideoLogParams) => {
|
|
|
return uploadLog({
|
|
return uploadLog({
|
|
|
businessType: 'video_play',
|
|
businessType: 'video_play',
|
|
|
objectType: 'video',
|
|
objectType: 'video',
|
|
@@ -111,7 +111,7 @@ const useLogger = () => {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const uploadLogVideoPlayEnd = ({videoId, playTime, traceId, requestId, planType, gzhAccountId, subChannel}: VideoLogParams) => {
|
|
|
|
|
|
|
+ const uploadLogVideoPlayEnd = ({videoId, playTime, traceId, requestId, planType, gzhAccountId, subChannel}: VideoLogParams) => {
|
|
|
return uploadLog({
|
|
return uploadLog({
|
|
|
businessType: 'video_play_end',
|
|
businessType: 'video_play_end',
|
|
|
objectType: 'video',
|
|
objectType: 'video',
|
|
@@ -127,7 +127,7 @@ const useLogger = () => {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const uploadLogVideoView = ({videoId, idx, score, tags, title, cover, libraryType, traceId, requestId, planType, gzhAccountId, subChannel}: VideoLogParams) => {
|
|
|
|
|
|
|
+ const uploadLogVideoView = ({videoId, idx, score, tags, title, cover, libraryType, traceId, requestId, planType, gzhAccountId, subChannel}: VideoLogParams) => {
|
|
|
return uploadLog({
|
|
return uploadLog({
|
|
|
businessType: 'video_view',
|
|
businessType: 'video_view',
|
|
|
objectType: 'video',
|
|
objectType: 'video',
|
|
@@ -148,7 +148,7 @@ const useLogger = () => {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const uploadLogVideoCollect = ({videoId, traceId, requestId, collect, planType, gzhAccountId, subChannel}: VideoLogParams) => {
|
|
|
|
|
|
|
+ const uploadLogVideoCollect = ({videoId, traceId, requestId, collect, planType, gzhAccountId, subChannel}: VideoLogParams) => {
|
|
|
return uploadLog({
|
|
return uploadLog({
|
|
|
businessType: 'video_collect',
|
|
businessType: 'video_collect',
|
|
|
objectType: 'video',
|
|
objectType: 'video',
|
|
@@ -171,7 +171,7 @@ const useLogger = () => {
|
|
|
planType,
|
|
planType,
|
|
|
gzhAccountId,
|
|
gzhAccountId,
|
|
|
subChannel
|
|
subChannel
|
|
|
- }: PublishPlanLogParams) => {
|
|
|
|
|
|
|
+ }: PublishPlanLogParams) => {
|
|
|
return uploadLog({
|
|
return uploadLog({
|
|
|
businessType: 'publish_plan_create',
|
|
businessType: 'publish_plan_create',
|
|
|
objectType: 'publish_plan',
|
|
objectType: 'publish_plan',
|