| | |
| | | paramMap.put("mobile", phone); |
| | | paramMap.put("extno", "10690347"); |
| | | paramMap.put("rt", RT); |
| | | log.info("进件时获取到手机号短信通知日志: 用户手机={},请求参数={}", phone,paramMap); |
| | | String result = HttpUtil.post(URL, paramMap, Constants.TIME_OUT); |
| | | log.info("青花优品进件获取到手机号短信通知日志: 用户手机:" + phone + "原短信商" + "验证码发送返回成功"); |
| | | if (StringUtils.isNotBlank(result)) { |
| | | JSONObject jsonResults = JSONUtil.parseObj(result); |
| | | return Constants.SUCCESS_CODE.equals(jsonResults.getStr(STATUS)); |
| | | log.info("进件时获取到手机号短信通知日志: 用户手机={},返回参数={}", phone,result); |
| | | boolean status = Constants.SUCCESS_CODE.equals(jsonResults.getStr(STATUS)); |
| | | if (status){ |
| | | log.info("进件时获取到手机号短信通知日志: 用户手机={},发送返回成功", phone); |
| | | }else { |
| | | log.info("进件时获取到手机号短信通知日志: 用户手机={},发送返回失败", phone); |
| | | } |
| | | return status; |
| | | } |
| | | return false; |
| | | } |