mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-10-31 18:28:44 +08:00 
			
		
		
		
	系统管理中的地区管理页面
This commit is contained in:
		
							
								
								
									
										15
									
								
								src/api/system/area/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								src/api/system/area/index.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| import request from '@/config/axios/request' | ||||
|  | ||||
| // 获得地区树 | ||||
| export const getAreaTree = async (content?: any) => { | ||||
|   return await request.get({ | ||||
|     url: '/system/area/tree', | ||||
|     params: content | ||||
|   }) | ||||
| } | ||||
| // 获得 IP 对应的地区名 | ||||
| export const getAreaByIp = async (ip) => { | ||||
|   return await request.get({ | ||||
|     url: '/system/area/get-by-ip?ip=' + ip | ||||
|   }) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 gexinzhineng/gxzn27
					gexinzhineng/gxzn27