From be6df55226b155a1567ce3bac9c6d25df6c68b98 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期一, 29 九月 2025 17:21:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/user_action' into send_coupon --- api/userAction.js | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/api/userAction.js b/api/userAction.js new file mode 100644 index 0000000..40ed5e9 --- /dev/null +++ b/api/userAction.js @@ -0,0 +1,45 @@ +/** + * 娲诲姩鐩稿叧API + */ +import { http, Method } from "@/utils/request.js"; + +import api from "@/config/api.js"; + +/** + * 鑾峰彇浼氳瘽id + * + * @param params + */ + export function getSessionId() { + return http.request({ + url: "/lmk/action-record/sessionId", + method: Method.GET, + needToken: true + }); +} +/** + * 鎻掑叆鐢ㄦ埛琛屼负 + * + * @param params + */ + export function userAction(data) { + return http.request({ + url: "/lmk/action-record", + method: Method.POST, + needToken: true, + data:data + }); +} +/** + * 鍒嗕韩鍜岀偣鍑诲垎浜� + * + * @param params + */ + export function userShare(data) { + return http.request({ + url: "/lmk/action-record/share", + method: Method.POST, + needToken: true, + data:data + }); +} -- Gitblit v1.8.0