123456789101112 |
- import {
- request
- } from "../utils/request";
- module.exports = {
- //设置视频状态。比如删除。禁用
- setVideoStatus: data => request('/userRead', 'put', data),
- // 作品点赞
- likeVideo: data => request(`/userRead/like/${data}`, 'get'),
- // 收藏
- collectVideo: data => request('/favorites', 'post', data)
- }
|