From ed8e49f4d6b3f7b0f4dd53d010cf85090857c618 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 25 Nov 2025 13:59:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BF=AE=E6=94=B9nfc?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/memorial/index.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/api/memorial/index.js b/api/memorial/index.js index 200b830..8da551c 100644 --- a/api/memorial/index.js +++ b/api/memorial/index.js @@ -125,6 +125,19 @@ export function bindNfcCard(data) { }); } +/** + * 修改 NFC 绑定信息 + * @param {Object} data + * @param {string} data.memorialMac - 往生殿设备 MAC + * @param {string} data.nfcMac - NFC 卡片 MAC + * @returns {Promise} + */ +export function putBindNfcCard(data) { + return post("/bst/nfc/changeBinding", data, { + showLoading: false, + }); +} + /** * 手机端读取卡号后上报 * @param {Object} data