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