Commit 80670f48 by 111-PC\111

[+]红外设备代码提交

1 parent d2638498
......@@ -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!