mayisheng
2022-08-01 e1c516bbc63ebf94b2f7e1c557e2a68af45db169
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
    })
}