diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetAppController.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetAppController.java index 09e2a83..635be26 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetAppController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetAppController.java @@ -100,7 +100,7 @@ public class AssetAppController extends BaseController { */ @ApiOperation(value = "删除数据") @Log(title = "删除app数据", businessType = BusinessType.DELETE) - @DeleteMapping("/{id}") + @DeleteMapping("/delete/{id}") public AjaxResult deleteById(@PathVariable Long id) { assetAppService.deleteById(id); return success(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetEmailController.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetEmailController.java index 26f7cbb..002fbf6 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetEmailController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetEmailController.java @@ -98,7 +98,7 @@ public class AssetEmailController extends BaseController { */ @ApiOperation(value = "删除email数据") @Log(title = "删除email数据", businessType = BusinessType.DELETE) - @DeleteMapping("/{id}") + @DeleteMapping("/delete/{id}") public AjaxResult deleteById(@PathVariable Long id) { assetEmailService.deleteById(id); return success(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetMiniProgramsController.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetMiniProgramsController.java index b831f0c..38b71f7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetMiniProgramsController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetMiniProgramsController.java @@ -100,7 +100,7 @@ public class AssetMiniProgramsController extends BaseController { */ @ApiOperation(value = "删除小程序数据") @Log(title = "删除小程序数据", businessType = BusinessType.DELETE) - @DeleteMapping("/{id}") + @DeleteMapping("/delete/{id}") public AjaxResult deleteById(@PathVariable Long id) { assetMiniProgramsService.deleteById(id); return success(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetOfficialAccountController.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetOfficialAccountController.java index d36a78f..4a4fc23 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetOfficialAccountController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetOfficialAccountController.java @@ -101,7 +101,7 @@ public class AssetOfficialAccountController { */ @ApiOperation(value = "删除公众号数据") @Log(title = "删除公众号数据", businessType = BusinessType.DELETE) - @DeleteMapping("/{id}") + @DeleteMapping("/delete/{id}") public AjaxResult deleteById(@PathVariable Long id) { assetOfficialAccountService.deleteById(id); return success(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetEmailMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetEmailMapper.java index 5ad765c..23029dc 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetEmailMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetEmailMapper.java @@ -39,7 +39,7 @@ public interface AssetEmailMapper extends BaseMapper { * * @return */ - String deleteById(Long id); + void deleteById(Long id); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/service/AssetEmailService.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/service/AssetEmailService.java index 3dcf3d7..b59b588 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/service/AssetEmailService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/service/AssetEmailService.java @@ -28,7 +28,7 @@ public interface AssetEmailService extends IService { /** * 逻辑删除 */ - String deleteById(Long id); + void deleteById(Long id); /** * 查询所有数据 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/service/impl/AssetEmailServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/service/impl/AssetEmailServiceImpl.java index ac77399..17f34d0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/service/impl/AssetEmailServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/service/impl/AssetEmailServiceImpl.java @@ -34,8 +34,8 @@ public class AssetEmailServiceImpl extends ServiceImpl