|
|
@@ -9,7 +9,8 @@ const videoApi = {
|
|
|
videoResourceApi: '/api/content/post/video/resource',
|
|
|
convertVideoApi: '/api/content/post/video/convert',
|
|
|
|
|
|
- videoCategoryApi: '/api/content/video/categories',
|
|
|
+ videoCategoryApi: '/api/content/video/region',
|
|
|
+ videoCategoriesApi: '/api/content/video/categories',
|
|
|
categoryVideoApi: '/api/content/video/category',
|
|
|
categoryShortVideoApi: '/api/content/video/category/short',
|
|
|
userVideoPostApi: '/api/content/video/user',
|
|
|
@@ -25,7 +26,7 @@ const videoApi = {
|
|
|
videoRecommendApi: '/api/content/video/recommend',
|
|
|
similarVideoApi: '/api/content/video/similar',
|
|
|
hotVideoApi: '/api/content/video/hot',
|
|
|
- userContentDataApi: '/api/content/userdata',
|
|
|
+ userContentDataApi: '/api/content/userdata'
|
|
|
}
|
|
|
|
|
|
// *********************************************************************************************************************
|
|
|
@@ -85,6 +86,10 @@ export function videoCategory() {
|
|
|
return get(videoApi.videoCategoryApi)
|
|
|
}
|
|
|
|
|
|
+export function videoCategories() {
|
|
|
+ return get(videoApi.videoCategoryApi)
|
|
|
+}
|
|
|
+
|
|
|
// 获取分类视频
|
|
|
export function categoryVideos(categoryId, page) {
|
|
|
return get(videoApi.categoryVideoApi + '?categoryId=' + categoryId + '&page=' + page)
|