Commit 6e8f2c55 by 周海宝

Merge branch 'dev' into 'master'

[+]红外设备代码提交

See merge request !7
2 parents c1fd236c 80670f48
......@@ -85,7 +85,8 @@ public class DeviceService {
return R.ok();
}
String errorMessage = responseBody == null ? "调用涂鸦失败" : responseBody.getMsg();
return R.error(errorMessage);
Integer code = responseBody == null ? 500 : responseBody.getCode();
return R.error(code,errorMessage);
}
public R findRemotes(String infrared_id) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!