|
|
@ -40,7 +40,7 @@ func newIpResult(result IpResponse, body []byte, http gorequest.Response) *IpRes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Ip IP定位
|
|
|
|
// Ip IP定位
|
|
|
|
// https://lbs.amap.com/api/webservice/guide/api/ipconfig
|
|
|
|
// https://lbs.qq.com/service/webService/webServiceGuide/webServiceIp
|
|
|
|
func (c *Client) Ip(ctx context.Context, ip string, notMustParams ...gorequest.Params) (*IpResult, error) {
|
|
|
|
func (c *Client) Ip(ctx context.Context, ip string, notMustParams ...gorequest.Params) (*IpResult, error) {
|
|
|
|
// 参数
|
|
|
|
// 参数
|
|
|
|
params := gorequest.NewParamsWith(notMustParams...)
|
|
|
|
params := gorequest.NewParamsWith(notMustParams...)
|
|
|
|