埋点,im,客服删除

This commit is contained in:
谢宇宁
2026-10-08 21:20:52 +07:00
parent c39daacc6d
commit d25c71dc51
146 changed files with 118 additions and 8495 deletions
@@ -149,12 +149,6 @@ import mediaContentInfo from '../../utils/mediaContentInfo';
import CommunityApi from '@/service/community';
import { useGlobalStore } from '@/stores/global';
import Episode from '../../components/episode.vue';
import {
getVideoType,
reportCollectCommentEvent,
reportCollectFn,
reportLikeCommentEvent,
} from '@/utils/eventReporter/videoComment';
const emits = defineEmits(['updateLiked', 'updateCollected', 'updateItem', 'openRoadLine']);
const globalStore = useGlobalStore();
@@ -232,7 +226,6 @@ const onToogleCollected = () => {
mediaStatus: { hasCollected },
} = props.info;
const tempIsCollect = !hasCollected;
tempIsCollect ? reportCollectFn(1, 1, props.info) : reportCollectFn(1, 2, props.info);
handleCollected(id, tempIsCollect).then(() => {
emits('updateCollected', tempIsCollect);
Collected_emit(id, tempIsCollect);
@@ -244,7 +237,6 @@ const onToogleCollected = () => {
const onToogleLiked = () => {
const zan = !props.info.mediaStatus.hasLiked;
zan ? reportCollectFn(2, 1, props.info) : reportCollectFn(2, 2, props.info);
(zan ? CommunityApi.zan : CommunityApi.cancleZan)(
zan
? {