| | |
| | | * @Last Modified by: liu |
| | | * @Last Modified time: 2021-12-15 16:43:48 |
| | | */ |
| | | // 党群机构 |
| | | import request from '@/router/axios' |
| | | // 党政机构 |
| | | import request from "@/router/axios"; |
| | | |
| | | export const getIp = (params) => { |
| | | return request({ |
| | | // url: 'https://apis.map.qq.com/ws/location/v1/ip', |
| | | // let url = `https://apis.map.qq.com/ws/location/v1/ip?ip=${data.ip}&key=${data.key}`; |
| | | url: `http://192.168.31.179:9898/ws/location/v1/ip?ip=${params.ip}&key=${params.key}`, |
| | | method: 'get', |
| | | // params: params |
| | | }) |
| | | } |
| | | return request({ |
| | | // url: 'https://apis.map.qq.com/ws/location/v1/ip', |
| | | // let url = `https://apis.map.qq.com/ws/location/v1/ip?ip=${data.ip}&key=${data.key}`; |
| | | url: `http://192.168.31.179:9898/ws/location/v1/ip?ip=${params.ip}&key=${params.key}`, |
| | | method: "get", |
| | | // params: params |
| | | }); |
| | | }; |