From 0eadb01746aadaf9dcb4714411692349ae24a35c Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Mon, 6 Jan 2025 17:52:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/me/me.js | 11 +++++++++++ pages/chasingDrama/index.vue | 20 +++++++++++++++++--- pages/me/index.vue | 10 +++++----- 3 files changed, 33 insertions(+), 8 deletions(-) create mode 100644 api/me/me.js diff --git a/api/me/me.js b/api/me/me.js new file mode 100644 index 0000000..5019cd4 --- /dev/null +++ b/api/me/me.js @@ -0,0 +1,11 @@ +import http from '@/http/http.js' + +/** + * 获取最近观看 + */ +export const selectByUserId = (data) => { + return http.request({ + url: '/courseCollect/selectByUserId', + data: data + }) +} \ No newline at end of file diff --git a/pages/chasingDrama/index.vue b/pages/chasingDrama/index.vue index 5c9f9ad..b24d9b8 100644 --- a/pages/chasingDrama/index.vue +++ b/pages/chasingDrama/index.vue @@ -104,7 +104,23 @@ - +