提交 cc788abb 编写于 作者: F fengyw

集成领课云短信通道

上级 c91bb75a
......@@ -78,7 +78,7 @@ public class SmsUtil {
try {
JSONObject jn = JSONUtil.parseObj(HttpRequest.post("https://cloud.roncoos.com/gateway/user/api/sms/send/sms").header("Content-Type", "application/json").body(JSONUtil.toJsonStr(map)).execute().body());
if (!jn.getInt("code").equals(200)) {
log.error("发送错误", jn.toString());
log.error("短信发送错误={}", jn.toString());
return false;
}
return true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册