shuishen
2022-04-12 ca0258c8e07a7a36616d7036d7baa1b7ab6b4bba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * @Author: Morpheus
 * @Date: 2021-05-09 15:17:44
 * @Last Modified by: liu
 * @Last Modified time: 2021-12-15 16:43:48
 */
// 党群机构
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
    })
}