jiangping
2024-11-05 c9ef2687d3460da668d08d58dee6af468ed6693e
server/visits/dmvisit_service/src/main/java/com/doumee/service/business/third/EmayService.java
@@ -99,14 +99,10 @@
   public  void sendSmsByHk(String phone,String content){
      try {
         String url = systemDictDataBiz.queryByCode(Constants.HK_PARAM,Constants.HK_HTTPS).getCode() +
               systemDictDataBiz.queryByCode(Constants.HK_PARAM,Constants.HK_HOST).getCode() +
               HKConstants.ARTEMIS_PATH +
               HKConstants.InterfacePath.sendSms[0];
         Map<String,Object> map = new HashMap<>();
         map.put("phoneNo",phone.split(","));
         map.put("content",content);
         BaseResponse result = HKService.sendSmsByHk(map,url);
         BaseResponse result = HKService.sendSms(map);
         if(result !=null){
            if(!StringUtils.equals(result.getCode(),HKConstants.RESPONSE_SUCCEE)){
               throw  new BusinessException(ResponseStatus.SERVER_ERROR.getCode(),result.getMsg());