test_class.declarator: checkService
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private CheckServiceImpl checkService;
test_class.type: CheckServiceImpl
test_class.var_name: checkService
test_class.declarator: username
test_class.modifier: @Value("${MailUsername}")
      private
test_class.original_string: @Value("${MailUsername}")
      private String username;
test_class.type: String
test_class.var_name: username
test_class.file: CheckDomain/src/test/java/me/ffis/checkdomain/service/impl/CheckServiceImplTest.java
test_class.identifier: CheckServiceImplTest
test_case.body: @Test
      public void queryFromAliyun() {
          String domain = "ffis.me";
          Map map = checkService.queryFromAliyun(domain);
          System.out.println(map);
      }
test_case.class_method_signature: CheckServiceImplTest.queryFromAliyun()
test_case.full_signature: @Test public void queryFromAliyun()
test_case.identifier: queryFromAliyun
test_case.invocations: queryFromAliyun println
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void queryFromAliyun()
focal_class.declarator: restTemplate
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private RestTemplate restTemplate;
focal_class.type: RestTemplate
focal_class.var_name: restTemplate
focal_class.declarator: mailService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private MailService mailService;
focal_class.type: MailService
focal_class.var_name: mailService
focal_class.declarator: QUERY_PASSWORD
focal_class.modifier: @Value("${customize.query.password}")
      private
focal_class.original_string: @Value("${customize.query.password}")
      private String QUERY_PASSWORD;
focal_class.type: String
focal_class.var_name: QUERY_PASSWORD
focal_class.declarator: timeStamp = this.getNowTime()
focal_class.modifier: private
focal_class.original_string: private long timeStamp = this.getNowTime();
focal_class.type: long
focal_class.var_name: timeStamp
focal_class.declarator: interval = 1000 * 60 * 60 * 12
focal_class.modifier: private static final
focal_class.original_string: private static final long interval = 1000 * 60 * 60 * 12;
focal_class.type: long
focal_class.var_name: interval
focal_class.declarator: sendCountMap = new HashMap<String, Integer>()
focal_class.modifier: private
focal_class.original_string: private HashMap<String, Integer> sendCountMap = new HashMap<String, Integer>();
focal_class.type: HashMap<String, Integer>
focal_class.var_name: sendCountMap
focal_class.file: CheckDomain/src/main/java/me/ffis/checkdomain/service/impl/CheckServiceImpl.java
focal_class.identifier: CheckServiceImpl
focal_class.interfaces: implements CheckService
focal_class.class_method_signature: CheckServiceImpl.checkDomain(String domain)
focal_class.full_signature: @Override public ResultResponse checkDomain(String domain)
focal_class.identifier: checkDomain
focal_class.modifiers: @Override public
focal_class.parameters: (String domain)
focal_class.return: ResultResponse
focal_class.signature: ResultResponse checkDomain(String domain)
focal_class.class_method_signature: CheckServiceImpl.checkDomainAndNotify(String domain, String email, String queryKey)
focal_class.full_signature: @Override public ResultResponse checkDomainAndNotify(String domain, String email, String queryKey)
focal_class.identifier: checkDomainAndNotify
focal_class.modifiers: @Override public
focal_class.parameters: (String domain, String email, String queryKey)
focal_class.return: ResultResponse
focal_class.signature: ResultResponse checkDomainAndNotify(String domain, String email, String queryKey)
focal_class.class_method_signature: CheckServiceImpl.queryFromAliyun(String domain)
focal_class.full_signature:  Map queryFromAliyun(String domain)
focal_class.identifier: queryFromAliyun
focal_class.parameters: (String domain)
focal_class.return: Map
focal_class.signature: Map queryFromAliyun(String domain)
focal_class.class_method_signature: CheckServiceImpl.requestSendMail(MailTemplateModel model, String email)
focal_class.full_signature: private String requestSendMail(MailTemplateModel model, String email)
focal_class.identifier: requestSendMail
focal_class.modifiers: private
focal_class.parameters: (MailTemplateModel model, String email)
focal_class.return: String
focal_class.signature: String requestSendMail(MailTemplateModel model, String email)
focal_class.class_method_signature: CheckServiceImpl.getNowTime()
focal_class.full_signature: private long getNowTime()
focal_class.identifier: getNowTime
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNowTime()
focal_method.body: Map queryFromAliyun(String domain) {
          //拼接查询地址
          String queryDomain = "http://panda.www.net.cn/cgi-bin/check.cgi?area_domain=" + domain;
          //请求万网接口进行查询
          ResponseEntity<Map> forEntity = null;
          try {
              forEntity = restTemplate.getForEntity(queryDomain, Map.class);
          } catch (RestClientException e) {
              e.printStackTrace();
              log.error(MessageConstant.API_PARSING_EXCEPTION, e);
              return null;
          }
          HttpStatus statusCode = forEntity.getStatusCode();
          //判断查询结果
          if (!forEntity.getStatusCode().toString().contains("200") || forEntity.getBody() == null) {
              log.error(MessageConstant.API_PARSING_EXCEPTION);
              return null;
          }
          //返回查询结果
          return forEntity.getBody();
      }
focal_method.class_method_signature: CheckServiceImpl.queryFromAliyun(String domain)
focal_method.full_signature:  Map queryFromAliyun(String domain)
focal_method.identifier: queryFromAliyun
focal_method.invocations: getForEntity printStackTrace error getStatusCode contains toString getStatusCode getBody error getBody
focal_method.parameters: (String domain)
focal_method.return: Map
focal_method.signature: Map queryFromAliyun(String domain)