功能完善
This commit is contained in:
parent
0149a02d82
commit
0ed978a97d
|
|
@ -61,7 +61,7 @@ public class SysSmsServiceImpl implements ISysSmsService {
|
||||||
}
|
}
|
||||||
// 发送短信
|
// 发送短信
|
||||||
try {
|
try {
|
||||||
String url = "http://106.ihuyi.com/webservice/sms.php?method=Submit";
|
// String url = "http://106.ihuyi.common/webservice/sms.php?method=Submit";
|
||||||
String content = url + "&mobile=" + phone + "&content=【智慧仓储】" + msg + "。";
|
String content = url + "&mobile=" + phone + "&content=【智慧仓储】" + msg + "。";
|
||||||
String body = HttpRequest.post(content).execute(false).body();
|
String body = HttpRequest.post(content).execute(false).body();
|
||||||
System.out.println("发送手机号码:" + phone + ",内容:" + msg + ",返回结果:" + body);
|
System.out.println("发送手机号码:" + phone + ",内容:" + msg + ",返回结果:" + body);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue