中国算力平台算力登记系统2.0
yanzhaofeige
3 days ago 9a224d216652ef2d6ff2e0bd01fba69c86a3f277
commit | author | age
5cc82f 1 import request from '@/utils/request'
Y 2
3 // 查询基础设施信息列表
4 export function listUseInfrastructure(query) {
5   return request({
6     url: '/bis/useInfrastructure/list',
7     method: 'get',
8     params: query
9   })
10 }
11
12 // 查询基础设施信息详细
13 export function getUseInfrastructure(id) {
14   return request({
15     url: '/bis/useInfrastructure/' + id,
16     method: 'get'
17   })
18 }
19
20 // 新增基础设施信息
21 export function addUseInfrastructure(data) {
22   return request({
23     url: '/bis/useInfrastructure',
24     method: 'post',
25     data: data
26   })
27 }
28
29 // 修改基础设施信息
30 export function updateUseInfrastructure(data) {
31   return request({
32     url: '/bis/useInfrastructure',
33     method: 'put',
34     data: data
35   })
36 }
37
38 // 删除基础设施信息
39 export function delUseInfrastructure(id) {
40   return request({
41     url: '/bis/useInfrastructure/' + id,
42     method: 'delete'
43   })
44 }