admin
2021-01-25 2ba431be9c12a79783e0f9ef249292b7fa95f2a1
fanli/src/main/java/com/yeshi/fanli/util/TencentSMSUtil.java
@@ -7,7 +7,7 @@
import com.github.qcloudsms.SmsSingleSender;
import com.github.qcloudsms.SmsSingleSenderResult;
import com.github.qcloudsms.httpclient.HTTPException;
import com.yeshi.fanli.exception.SMSException;
import com.yeshi.fanli.exception.config.SMSException;
//腾讯短信发送
public class TencentSMSUtil {
@@ -18,7 +18,7 @@
    * @param phone
    * @param msg
    */
   public static void sendSingleMsg(String phone, String msg) throws SMSException {
   public static void sendSingleMsg( String phone, String msg) throws SMSException {
      SmsSingleSender ssender = new SmsSingleSender(Integer.parseInt(Constant.smsConfig.getSmsAppId()),
            Constant.smsConfig.getSmsAppKey());
      SmsSingleSenderResult result = null;