|  | @@ -0,0 +1,44 @@
 | 
	
		
			
				|  |  | +import request from '@/utils/request'
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +// 查询【请填写功能名称】列表
 | 
	
		
			
				|  |  | +export function list(query) {
 | 
	
		
			
				|  |  | +  return request({
 | 
	
		
			
				|  |  | +    url: '/system/area/list',
 | 
	
		
			
				|  |  | +    method: 'get',
 | 
	
		
			
				|  |  | +    params: query
 | 
	
		
			
				|  |  | +  })
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +// 查询【请填写功能名称】详细
 | 
	
		
			
				|  |  | +export function get(id) {
 | 
	
		
			
				|  |  | +  return request({
 | 
	
		
			
				|  |  | +    url: '/system/area/' + id,
 | 
	
		
			
				|  |  | +    method: 'get'
 | 
	
		
			
				|  |  | +  })
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +// 新增【请填写功能名称】
 | 
	
		
			
				|  |  | +export function add(data) {
 | 
	
		
			
				|  |  | +  return request({
 | 
	
		
			
				|  |  | +    url: '/system/area',
 | 
	
		
			
				|  |  | +    method: 'post',
 | 
	
		
			
				|  |  | +    data: data
 | 
	
		
			
				|  |  | +  })
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +// 修改【请填写功能名称】
 | 
	
		
			
				|  |  | +export function update(data) {
 | 
	
		
			
				|  |  | +  return request({
 | 
	
		
			
				|  |  | +    url: '/system/area',
 | 
	
		
			
				|  |  | +    method: 'put',
 | 
	
		
			
				|  |  | +    data: data
 | 
	
		
			
				|  |  | +  })
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +// 删除【请填写功能名称】
 | 
	
		
			
				|  |  | +export function delelte(id) {
 | 
	
		
			
				|  |  | +  return request({
 | 
	
		
			
				|  |  | +    url: '/system/area/' + id,
 | 
	
		
			
				|  |  | +    method: 'delete'
 | 
	
		
			
				|  |  | +  })
 | 
	
		
			
				|  |  | +}
 |