@ -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();
@ -98,7 +98,7 @@ public class AssetEmailController extends BaseController {
@ApiOperation(value = "删除email数据")
@Log(title = "删除email数据", businessType = BusinessType.DELETE)
assetEmailService.deleteById(id);
@ -100,7 +100,7 @@ public class AssetMiniProgramsController extends BaseController {
@ApiOperation(value = "删除小程序数据")
@Log(title = "删除小程序数据", businessType = BusinessType.DELETE)
assetMiniProgramsService.deleteById(id);
@ -101,7 +101,7 @@ public class AssetOfficialAccountController {
@ApiOperation(value = "删除公众号数据")
@Log(title = "删除公众号数据", businessType = BusinessType.DELETE)
assetOfficialAccountService.deleteById(id);
@ -39,7 +39,7 @@ public interface AssetEmailMapper extends BaseMapper<AssetEmail> {
*
* @return
String deleteById(Long id);
void deleteById(Long id);
}
@ -28,7 +28,7 @@ public interface AssetEmailService extends IService<AssetEmail> {
/**
* 逻辑删除
* 查询所有数据
@ -34,8 +34,8 @@ public class AssetEmailServiceImpl extends ServiceImpl<AssetEmailMapper, AssetEm
@Override
public String deleteById(Long id) {
return baseMapper.deleteById(id);
public void deleteById(Long id) {
baseMapper.deleteById(id);