feat: 百度统计,处理vite代理后ip查询不可用问题

This commit is contained in:
taoran
2023-11-30 18:53:03 +08:00
parent f3bdf85c93
commit fc8377adde
8 changed files with 52 additions and 27 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import type {
enum API {
//获取ip
GET_IP = '/v1/ip/get?ip='
GET_IP = '/ip/get?ip='
}
//获取ip
export const getIp = (ip:string) => request.get<any, getIpResponseData>(API.GET_IP + ip)