|
@@ -10,6 +10,7 @@ import com.fdkankan.agent.httpClient.client.LaserClient;
|
|
|
import com.fdkankan.agent.httpClient.request.LaserSceneMoveParam;
|
|
|
import com.fdkankan.agent.httpClient.request.LaserSceneParam;
|
|
|
import com.fdkankan.agent.httpClient.response.FdkkResponse;
|
|
|
+import com.fdkankan.agent.httpClient.response.LaserResponse;
|
|
|
import com.fdkankan.agent.request.SceneParam;
|
|
|
import com.fdkankan.agent.response.SceneVo;
|
|
|
import com.fdkankan.agent.service.ICameraDetailService;
|
|
@@ -51,8 +52,8 @@ public class LaserService {
|
|
|
voPage.setTotal(0);
|
|
|
return PageInfo.PageInfo(voPage);
|
|
|
}
|
|
|
- FdkkResponse response = laserClient.sceneList(laserSceneParam);
|
|
|
- JSONObject jsonObject = (JSONObject) response.getData();
|
|
|
+ LaserResponse response = laserClient.sceneList(laserSceneParam);
|
|
|
+ JSONObject jsonObject = response.getData();
|
|
|
if(jsonObject == null){
|
|
|
Page<SceneVo> voPage = new Page<>(param.getPageNum(),param.getPageSize());
|
|
|
voPage.setRecords(new ArrayList<>());
|
|
@@ -166,7 +167,7 @@ public class LaserService {
|
|
|
|
|
|
public HashMap<String, JSONObject> list(LaserSceneParam newParam) {
|
|
|
HashMap<String, JSONObject> map = new HashMap<>();
|
|
|
- FdkkResponse fdkkResponse = laserClient.sceneList(newParam);
|
|
|
+ LaserResponse fdkkResponse = laserClient.sceneList(newParam);
|
|
|
JSONObject jsonObject = fdkkResponse.getData();
|
|
|
if(jsonObject == null){
|
|
|
return map;
|