web
2025-07-08 a1aca8be99e62ea683fd8d7db82d7a480f5d0305
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { request } from "../utils/request.js";
 
//登录
export function wxLoginApi(data){
    return request('/user/wxLogin',data,'POST')
}
 
// 用户信息
export function getUserInfo(){
    return request('/api/user/getUser',{},'GET')
}
 
// 修改用户信息
export function setUserInfo(data){
    return request('/api/user/editUser',data,'POST')
}
 
//微信支付
export function wxPayApi(data){
    return request('/pay/service/wxPay',data,'POST')
}
 
//生成订单
export function rechargeApi(data){
    return request('/api/user/fees',data,'POST')
}
 
// 设备列表
export function getFacitily(data) {
    return request('/api/user/searchFacility', data, 'POST')
}
 
// 取水记录
export function getqushuiRecord(data) {
    return request('/api/user/searchPaymentRecords', data, 'POST')
}
 
// 充值记录
export function getrechargeRecord(data) {
    return request('/api/user/searchRechargeRecords', data, 'POST')
}
 
// 取水
export function getWater(data) {
    return request('/api/user/userWaterInTaking', data, 'POST')
}