|
@ -51,7 +51,7 @@ public class YunXunDeviceService {
|
|
*/
|
|
*/
|
|
public void sendInstruction(String sn,String instruction){
|
|
public void sendInstruction(String sn,String instruction){
|
|
try {
|
|
try {
|
|
String url = "http://www.www.cityihealth.com:43210/yunxin/sendMessage?deviceSN="+sn+"&message="+instruction;
|
|
|
|
|
|
String url = "http://www.cityihealth.com:43210/yunxin/sendMessage?deviceSN="+sn+"&message="+instruction;
|
|
String response = httpClientUtil.get(url,"UTF-8");
|
|
String response = httpClientUtil.get(url,"UTF-8");
|
|
logger.info("sendInstruction="+response);
|
|
logger.info("sendInstruction="+response);
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|