| | |
| | | * 查询省市区管理列表 |
| | | */ |
| | | @ApiOperation("获取省市区列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BasePrcaddressDict basePrcaddressDict) { |
| | | log.info("查询省市区管理列表{}:", basePrcaddressDict); |
| | |
| | | * 导出省市区管理列表 |
| | | */ |
| | | @ApiOperation("导出省市区列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:export')") |
| | | @Log(title = "省市区管理", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(BasePrcaddressDict basePrcaddressDict) { |
| | |
| | | * 获取省市区管理详细信息 |
| | | */ |
| | | @ApiOperation("通过id获得省市区") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("获取省市区管理详细信息{}:", id); |
| | |
| | | * 新增省市区管理 |
| | | */ |
| | | @ApiOperation("新增省市区") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:add')") |
| | | @Log(title = "省市区管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | |
| | | * 修改省市区管理 |
| | | */ |
| | | @ApiOperation("修改省市区") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:edit')") |
| | | @Log(title = "省市区管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除省市区管理 |
| | | */ |
| | | @ApiOperation("删除省市区") |
| | | //@PreAuthorize("@ss.hasPermi('project:dict:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:dict:remove')") |
| | | @Log(title = "省市区管理", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |