|
|
@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
@RestController
|
|
|
@AllArgsConstructor
|
|
|
@RequestMapping("/bus/hospital/config")
|
|
|
-@Api(tags = "医院功能配置",value = "统一权限前缀(hospital:config),hospital:config:add")
|
|
|
+@Api(tags = "医院功能配置",value = "统一权限前缀(hospital:config),hospital:config:add。查询不需要权限")
|
|
|
public class BusHospitalConfigController extends BaseCrudController<BusHospitalConfigEntity, String> {
|
|
|
private final LocalBusHospitalConfigService hospitalConfigService;
|
|
|
|
|
|
@@ -38,6 +38,12 @@ public class BusHospitalConfigController extends BaseCrudController<BusHospitalC
|
|
|
return "hospital:config";
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void queryAuth() {
|
|
|
+ //查询不需要权限
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("/reset/{type}")
|
|
|
@SaCheckPermission("hospital:config:edit")
|
|
|
@ApiOperation(value = "将某一功能项改为默认配置",notes = "权限【hospital:config:edit】")
|