فهرست منبع

videoSelectModal 默认排序由「推荐指数」改为「平台推荐」,让 hot 池 α=0.5 衰减公式生效。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
刘立冬 1 هفته پیش
والد
کامیت
f4d39cfa27

+ 1 - 1
src/views/publishContent/weCom/components/videoSelectModal/index.tsx

@@ -122,7 +122,7 @@ export enum VideoSortType {
 const VideoSelectModal: React.FC<VideoSelectModalProps> = ({ visible, onClose, onOk, planType, initialSelectedIds = [] }) => {
 	const { videoCategoryOptions } = useVideoCategoryOptions();
 	const [category, setCategory] = useState<string>();
-	const sort = VideoSortType.推荐指数;
+	const sort = VideoSortType.平台推荐;
 	const PAGE_SIZE = 10;
 	const [searchTerm, setSearchTerm] = useState<string>('');
 	const [currentPage, setCurrentPage] = useState(1);

+ 1 - 1
src/views/publishContent/weGZH/components/videoSelectModal/index.tsx

@@ -120,7 +120,7 @@ const VideoSelectModal: React.FC<VideoSelectModalProps> = ({ planType, visible,
 	const { uploadLogVideoListQuery, uploadLogVideoPlay, uploadLogVideoPlayEnd, uploadLogVideoCollect } = useLogger();
 	const debouncedUploadLogVideoListQuery = useMemo(() => debounce(uploadLogVideoListQuery, 500), [uploadLogVideoListQuery]);
 	const [category, setCategory] = useState<string>();
-	const sort = VideoSortType.推荐指数;
+	const sort = VideoSortType.平台推荐;
 	const PAGE_SIZE = 10;
 	const [searchTerm, setSearchTerm] = useState<string>('');
 	const [currentPage, setCurrentPage] = useState(1);