1
This commit is contained in:
parent
fabaaa22ce
commit
2365e61a4b
@ -337,7 +337,7 @@ func (this* RiskMgr) GetIpInfoByTx(
|
|||||||
Status *int32 `json:"status"`
|
Status *int32 `json:"status"`
|
||||||
Result *struct {
|
Result *struct {
|
||||||
AdInfo *struct {
|
AdInfo *struct {
|
||||||
Country string `json:"country"`
|
Nation string `json:"nation"`
|
||||||
Province string `json:"province"`
|
Province string `json:"province"`
|
||||||
City string `json:"city"`
|
City string `json:"city"`
|
||||||
} `json:"ad_info"`
|
} `json:"ad_info"`
|
||||||
@ -355,7 +355,7 @@ func (this* RiskMgr) GetIpInfoByTx(
|
|||||||
f5.SysLog().Warning("GetIpInfoByTx response3 %s", respStr)
|
f5.SysLog().Warning("GetIpInfoByTx response3 %s", respStr)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
*country = respObj.Result.AdInfo.Country
|
*country = respObj.Result.AdInfo.Nation
|
||||||
*province = respObj.Result.AdInfo.Province
|
*province = respObj.Result.AdInfo.Province
|
||||||
*city = respObj.Result.AdInfo.City
|
*city = respObj.Result.AdInfo.City
|
||||||
return true
|
return true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user