Commit 2e6f1a07 authored by suhuiguang's avatar suhuiguang

1.修改bug

parent 3e4f6984
...@@ -285,8 +285,8 @@ public class BuildingController extends AbstractBaseController { ...@@ -285,8 +285,8 @@ public class BuildingController extends AbstractBaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation("公司消防建筑树") @ApiOperation("公司消防建筑树")
@GetMapping(value = "/companyBuildingTree") @GetMapping(value = "/companyBuildingTree")
public List<BuildingTreeVo> getCompanyBuildingTree(@RequestParam(required = false) String authKey) { public List<BuildingTreeVo> getCompanyBuildingTree() {
return buildService.getCompanyBuildingTree(authKey); return buildService.getCompanyBuildingTree(null);
} }
} }
...@@ -121,7 +121,7 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i ...@@ -121,7 +121,7 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i
@Value("${auth-key-fire-building:fire_building_info}") @Value("${auth-key-fire-building:fire_building_info}")
private String authKey; private String authKey;
@Value("${auth-key-fire-building:auth-key-fire-build-video}") @Value("$auth-key-fire-build-video:auth-key-fire-build-video}")
private String buildVideoAuthKey; private String buildVideoAuthKey;
@Autowired @Autowired
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment