|
@@ -1,4 +1,5 @@
|
|
|
package com.fdkankan.manage.httpClient.service;
|
|
|
+import com.google.common.collect.Lists;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
@@ -13,6 +14,7 @@ import com.fdkankan.manage.httpClient.client.LaserClient;
|
|
|
import com.fdkankan.manage.httpClient.param.LaserSceneMoveParam;
|
|
|
import com.fdkankan.manage.httpClient.param.LaserSceneParam;
|
|
|
import com.fdkankan.manage.httpClient.param.SSDownSceneParam;
|
|
|
+import com.fdkankan.manage.httpClient.param.SsBindParam;
|
|
|
import com.fdkankan.manage.httpClient.vo.FdkkResponse;
|
|
|
import com.fdkankan.manage.service.*;
|
|
|
import com.fdkankan.manage.vo.request.SceneParam;
|
|
@@ -301,5 +303,18 @@ public class LaserService {
|
|
|
}
|
|
|
return null ;
|
|
|
}
|
|
|
+ public void toBind(String snCode) {
|
|
|
+ try {
|
|
|
+ SsBindParam param = new SsBindParam();
|
|
|
+ param.setBind(false);
|
|
|
+ param.setSnCode(Lists.newArrayList(snCode));
|
|
|
+ Result responseEntity = laserClient.toBind(param);
|
|
|
+ if( responseEntity.getCode() != HttpStatus.OK.value()){
|
|
|
+ log.error("解绑用户激光转台下载失败:{}",responseEntity);
|
|
|
+ }
|
|
|
+ }catch (Exception e){
|
|
|
+ log.error("解绑用户获取激光转台下载状态失败!",e);
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
}
|