From 366612bd8e8b88d02a98edf508f96d7add23ff9f Mon Sep 17 00:00:00 2001 From: pengwei <2071057782@qq.com> Date: 星期日, 27 四月 2025 16:03:38 +0800 Subject: [PATCH] 功能新增 --- 项目代码/client/src/api/newapi/Putake.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/api/newapi/Putake.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/api/newapi/Putake.js" index 7314231..69f7335 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/api/newapi/Putake.js" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/client/src/api/newapi/Putake.js" @@ -12,4 +12,7 @@ //鏁版嵁璁板綍 export const Add = (data) => http.post("api/Putake/Add", data); -//鏁版嵁璁板綍鏌ョ湅璇︽儏 \ No newline at end of file +//濂楃瓛寮�闂� +export const ChanegOpenDoor = (data) => http.post(`/api/Putake/OpenDoor?group=${data}`); +//濂楃瓛鍏抽棬 +export const ChanegCloseDoor = (data) => http.post(`/api/Putake/ClosedDoor?group=${data}`); \ No newline at end of file -- Gitblit v1.9.3