rk
2025-09-29 218e84d2264e413f31a2f3957f05bb7b8ad42d5d
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());
@@ -117,7 +113,7 @@
      }catch (Exception e){
         e.printStackTrace();
      }
      throw  new BusinessException(ResponseStatus.SERVER_ERROR.getCode(),"对不起,短信发送失败,请稍后重试!");
   }