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
| import { publicRequest } from '@/utils/request'
| export default function facilityApi() {
| return {
| create: (data) => {
| return publicRequest({
| url: '/waterFacility/create',
| method: 'post',
| data,
| });
| },
| modify: (data) => {
| return publicRequest({
| url: '/waterFacility/modify',
| method: 'post',
| data,
| });
| },
| remove: (data) => {
| return publicRequest({
| url: `/waterFacility/remove?id=${data}`,
| method: 'post',
| data,
| });
| },
| search: (data) => {
| return publicRequest({
| url: '/waterFacility/search',
| method: 'post',
| data,
| });
| },
| };
| }
|
|