Commit 2e6f1a07 authored by suhuiguang's avatar suhuiguang

1.修改bug

parent 3e4f6984
......@@ -285,8 +285,8 @@ public class BuildingController extends AbstractBaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation("公司消防建筑树")
@GetMapping(value = "/companyBuildingTree")
public List<BuildingTreeVo> getCompanyBuildingTree(@RequestParam(required = false) String authKey) {
return buildService.getCompanyBuildingTree(authKey);
public List<BuildingTreeVo> getCompanyBuildingTree() {
return buildService.getCompanyBuildingTree(null);
}
}
......@@ -121,7 +121,7 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i
@Value("${auth-key-fire-building:fire_building_info}")
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;
@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