lyhzzz преди 1 година
родител
ревизия
d54307b93f
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/main/java/com/fdkankan/fusion/httpClient/FdService.java

+ 2 - 2
src/main/java/com/fdkankan/fusion/httpClient/FdService.java

@@ -111,14 +111,14 @@ public class FdService {
 
     public void buildSceneObj(LaserSceneParam param) {
         FdkkResponse fdkkResponse = laserClient.buildSceneObj(param, getFdToken());
-        if(fdkkResponse.getCode() != 0){
+        if(fdkkResponse.getCode() != 200){
             throw new BusinessException(fdkkResponse.getCode(),fdkkResponse.getMsg());
         }
     }
 
     public Object sceneDetail(LaserSceneParam param) {
         FdkkResponse fdkkResponse = laserClient.sceneDetail(param, getFdToken());
-        if(fdkkResponse.getCode() != 0){
+        if(fdkkResponse.getCode() != 200){
             throw new BusinessException(fdkkResponse.getCode(),fdkkResponse.getMsg());
         }
         return fdkkResponse.getData();