From a1aca8be99e62ea683fd8d7db82d7a480f5d0305 Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期二, 08 七月 2025 09:58:05 +0800 Subject: [PATCH] feat:增加取水能力 --- api/index.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/api/index.js b/api/index.js index 2273148..846220c 100644 --- a/api/index.js +++ b/api/index.js @@ -20,9 +20,9 @@ return request('/pay/service/wxPay',data,'POST') } -//水卡充值* +//生成订单 export function rechargeApi(data){ - return request('/rechargeRecords/fees',data,'POST') + return request('/api/user/fees',data,'POST') } // 设备列表 @@ -38,4 +38,9 @@ // 充值记录 export function getrechargeRecord(data) { return request('/api/user/searchRechargeRecords', data, 'POST') +} + +// 取水 +export function getWater(data) { + return request('/api/user/userWaterInTaking', data, 'POST') } \ No newline at end of file -- Gitblit v1.9.3