111
This commit is contained in:
parent
80d8a3b752
commit
a566adcd36
@ -53,7 +53,6 @@ public class BaseCalendarController extends BaseController {
|
||||
* @author PQZ
|
||||
* @date 18:18 2025/11/11
|
||||
**/
|
||||
@PreAuthorize("@ss.hasPermi('base:calendar:list')")
|
||||
@GetMapping("/list")
|
||||
public AjaxResult list(BaseCalendar baseCalendar,
|
||||
@RequestParam(name = "pageNum", defaultValue = "1") Integer pageNum,
|
||||
@ -104,7 +103,6 @@ public class BaseCalendarController extends BaseController {
|
||||
/**
|
||||
* 获取日历详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:calendar:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") String id) {
|
||||
return success(baseCalendarService.getById(id));
|
||||
|
||||
@ -46,7 +46,6 @@ public class BaseCalendarEventController extends BaseController {
|
||||
/**
|
||||
* 查询节日列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:event:list')")
|
||||
@GetMapping("/list")
|
||||
public AjaxResult list(BaseCalendarEvent baseCalendarEvent,
|
||||
@RequestParam(name = "pageNum", defaultValue = "1") Integer pageNum,
|
||||
@ -60,7 +59,6 @@ public class BaseCalendarEventController extends BaseController {
|
||||
/**
|
||||
* 导出节日列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:event:export')")
|
||||
@Log(title = "节日", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BaseCalendarEvent baseCalendarEvent) {
|
||||
@ -72,7 +70,6 @@ public class BaseCalendarEventController extends BaseController {
|
||||
/**
|
||||
* 获取节日详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:event:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") String id) {
|
||||
return success(baseCalendarEventService.getById(id));
|
||||
@ -86,7 +83,6 @@ public class BaseCalendarEventController extends BaseController {
|
||||
* @author PQZ
|
||||
* @date 19:12 2025/11/18
|
||||
**/
|
||||
@PreAuthorize("@ss.hasPermi('base:event:add')")
|
||||
@Log(title = "节日", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BaseCalendarEvent baseCalendarEvent) {
|
||||
@ -104,7 +100,6 @@ public class BaseCalendarEventController extends BaseController {
|
||||
* @author PQZ
|
||||
* @date 19:13 2025/11/18
|
||||
**/
|
||||
@PreAuthorize("@ss.hasPermi('base:event:edit')")
|
||||
@Log(title = "节日", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BaseCalendarEvent baseCalendarEvent) {
|
||||
@ -117,7 +112,6 @@ public class BaseCalendarEventController extends BaseController {
|
||||
/**
|
||||
* 删除节日
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:event:remove')")
|
||||
@Log(title = "节日", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable String[] ids) {
|
||||
|
||||
@ -51,7 +51,6 @@ public class BaseCountryController extends BaseController {
|
||||
* @author PQZ
|
||||
* @date 15:48 2025/11/17
|
||||
**/
|
||||
@PreAuthorize("@ss.hasPermi('base:country:list')")
|
||||
@GetMapping("/list")
|
||||
public AjaxResult list(BaseCountry baseCountry,
|
||||
@RequestParam(name = "pageNum", defaultValue = "1") Integer pageNum,
|
||||
@ -76,7 +75,6 @@ public class BaseCountryController extends BaseController {
|
||||
/**
|
||||
* 导出国家地区列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:country:export')")
|
||||
@Log(title = "国家地区", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BaseCountry baseCountry) {
|
||||
@ -88,7 +86,6 @@ public class BaseCountryController extends BaseController {
|
||||
/**
|
||||
* 获取国家地区详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:country:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") String id) {
|
||||
return success(baseCountryService.getById(id));
|
||||
@ -97,7 +94,6 @@ public class BaseCountryController extends BaseController {
|
||||
/**
|
||||
* 新增国家地区
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:country:add')")
|
||||
@Log(title = "国家地区", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BaseCountry baseCountry) {
|
||||
@ -107,7 +103,6 @@ public class BaseCountryController extends BaseController {
|
||||
/**
|
||||
* 修改国家地区
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:country:edit')")
|
||||
@Log(title = "国家地区", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BaseCountry baseCountry) {
|
||||
@ -117,7 +112,6 @@ public class BaseCountryController extends BaseController {
|
||||
/**
|
||||
* 删除国家地区
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:country:remove')")
|
||||
@Log(title = "国家地区", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable String[] ids) {
|
||||
|
||||
@ -42,7 +42,6 @@ public class BaseDynamicFieldController extends BaseController
|
||||
/**
|
||||
* 查询动态单字段列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:field:list')")
|
||||
@GetMapping("/list")
|
||||
public AjaxResult list(BaseDynamicField baseDynamicField,
|
||||
@RequestParam(name = "pageNum", defaultValue = "1") Integer pageNum,
|
||||
@ -56,7 +55,6 @@ public class BaseDynamicFieldController extends BaseController
|
||||
/**
|
||||
* 导出动态单字段列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:field:export')")
|
||||
@Log(title = "动态单字段", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BaseDynamicField baseDynamicField)
|
||||
@ -69,7 +67,6 @@ public class BaseDynamicFieldController extends BaseController
|
||||
/**
|
||||
* 获取动态单字段详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:field:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") String id)
|
||||
{
|
||||
@ -79,7 +76,6 @@ public class BaseDynamicFieldController extends BaseController
|
||||
/**
|
||||
* 新增动态单字段
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:field:add')")
|
||||
@Log(title = "动态单字段", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BaseDynamicField baseDynamicField)
|
||||
@ -90,7 +86,6 @@ public class BaseDynamicFieldController extends BaseController
|
||||
/**
|
||||
* 修改动态单字段
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:field:edit')")
|
||||
@Log(title = "动态单字段", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BaseDynamicField baseDynamicField)
|
||||
@ -101,7 +96,6 @@ public class BaseDynamicFieldController extends BaseController
|
||||
/**
|
||||
* 删除动态单字段
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:field:remove')")
|
||||
@Log(title = "动态单字段", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable String[] ids)
|
||||
|
||||
@ -51,7 +51,6 @@ public class BaseTimeZoneController extends BaseController {
|
||||
* @author PQZ
|
||||
* @date 15:44 2025/11/17
|
||||
**/
|
||||
@PreAuthorize("@ss.hasPermi('base:zone:list')")
|
||||
@GetMapping("/list")
|
||||
public AjaxResult list(BaseTimeZone baseTimeZone,
|
||||
@RequestParam(name = "pageNum", defaultValue = "1") Integer pageNum,
|
||||
@ -77,7 +76,6 @@ public class BaseTimeZoneController extends BaseController {
|
||||
/**
|
||||
* 导出时区列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:zone:export')")
|
||||
@Log(title = "时区", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BaseTimeZone baseTimeZone) {
|
||||
@ -89,7 +87,6 @@ public class BaseTimeZoneController extends BaseController {
|
||||
/**
|
||||
* 获取时区详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:zone:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") String id) {
|
||||
return success(baseTimeZoneService.getById(id));
|
||||
@ -98,7 +95,6 @@ public class BaseTimeZoneController extends BaseController {
|
||||
/**
|
||||
* 新增时区
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:zone:add')")
|
||||
@Log(title = "时区", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BaseTimeZone baseTimeZone) {
|
||||
@ -108,7 +104,6 @@ public class BaseTimeZoneController extends BaseController {
|
||||
/**
|
||||
* 修改时区
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:zone:edit')")
|
||||
@Log(title = "时区", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BaseTimeZone baseTimeZone) {
|
||||
@ -118,7 +113,6 @@ public class BaseTimeZoneController extends BaseController {
|
||||
/**
|
||||
* 删除时区
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('base:zone:remove')")
|
||||
@Log(title = "时区", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable String[] ids) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user