bugfix 后管通过运营商id查询站点列表增加权限校验

This commit is contained in:
Lemon
2024-08-01 14:52:52 +08:00
parent 7294d82a7e
commit 2df857b39c
4 changed files with 34 additions and 2 deletions

View File

@@ -224,7 +224,7 @@ public class PileStationInfoController extends BaseController {
@PreAuthorize("@ss.hasPermi('pile:station:query')")
@PostMapping(value = "/selectStationListByMerchantId")
public AjaxResult selectStationListByMerchantId(@RequestBody QueryStationDTO dto) {
return AjaxResult.success(pileStationInfoService.selectStationListByMerchantId(Long.valueOf(dto.getMerchantId())));
return AjaxResult.success(pileStationInfoService.selectStationListByMerchantIdWithAuth(Long.valueOf(dto.getMerchantId())));
}
/**