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
| /*
| * @Author: elkers
| * @Date: 2024-08-09 14:29:49
| * @LastEditors: hqs elkers@163.com
| * @LastEditTime: 2024-08-09 14:52:42
| * @FilePath: \water-qinghe-web\src\api\system\user.js
| * @Description: 供应商api
| */
| import { publicRequest } from '@/utils/request'
| export default function supplierApi() {
| return {
| create: (data) => {
| return publicRequest({
| url: '/supplierInformation/create',
| method: 'post',
| data,
| });
| },
| modify: (data) => {
| return publicRequest({
| url: '/supplierInformation/modify',
| method: 'post',
| data,
| });
| },
| remove: (data) => {
| return publicRequest({
| url: `/supplierInformation/remove?id=${data}`,
| method: 'post',
| data,
| });
| },
| search: (data) => {
| return publicRequest({
| url: '/supplierInformation/search',
| method: 'post',
| data,
| });
| },
| };
| }
|
|