diff --git a/jtt_tool/jtt_client.go b/jtt_tool/jtt_client.go index 563b943..5bf8dae 100644 --- a/jtt_tool/jtt_client.go +++ b/jtt_tool/jtt_client.go @@ -61,8 +61,8 @@ func (j *JttClient) FindUserForTokenMessage(address string) (res *FindUserForTok return } - if res == nil { - err = fmt.Errorf("查询交易所数据失败: %w, 地址:%s", err, address) + if res == nil || res.Code != 200 { + err = fmt.Errorf("查询交易所数据失败: %w, res: %+v , 地址:%s", err, res, address) return }