| 12345678910111213141516171819 |
- import { get, post } from '@/utils/request'
- const commentApi = {
- videoCommentApi: '/api/comment/video'
- }
- // 获取视频评论
- export function getVideoComment(videoId) {
- return get(commentApi.videoCommentApi + '?prevId=1&nextId=2&videoId=' + videoId)
- }
- export function childComment(videoId) {
- return get(commentApi.videoCommentApi + '?prevId=1&nextId=2&videoId=' + videoId)
- }
- // 发布视频评论
- export function publishVideoComment(data) {
- return post(commentApi.videoCommentApi, data)
- }
|