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