From 0a729cc88a43f97e9f408bd276130a3caff0b1ff Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期三, 02 七月 2025 18:59:01 +0800 Subject: [PATCH] update 修改商品发布支持预售 --- api/video.js | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/api/video.js b/api/video.js index df1681f..926527f 100644 --- a/api/video.js +++ b/api/video.js @@ -26,7 +26,7 @@ * * @param params */ - export function getRecommendVideos(params) { + export async function getRecommendVideos(params) { return http.request({ url: "/lmk/video/recommend", method: Method.GET, @@ -235,4 +235,18 @@ method: Method.POST, needToken: true }); -} \ No newline at end of file +} + +/** + * 鐐硅禐瑙嗛/鍙栨秷鐐硅禐 + * + * @param params + */ + export function changeThumbsUp(data) { + return http.request({ + url: "/lmk/video/change/thumbs-up", + method: Method.POST, + data: data, + needToken: true + }); +} -- Gitblit v1.8.0