main
杜函宇 2 months ago
parent c4e637d013
commit ca8168f948

@ -100,7 +100,7 @@ public class AssetAppController extends BaseController {
*/ */
@ApiOperation(value = "删除数据") @ApiOperation(value = "删除数据")
@Log(title = "删除app数据", businessType = BusinessType.DELETE) @Log(title = "删除app数据", businessType = BusinessType.DELETE)
@DeleteMapping("/{id}") @DeleteMapping("/delete/{id}")
public AjaxResult deleteById(@PathVariable Long id) { public AjaxResult deleteById(@PathVariable Long id) {
assetAppService.deleteById(id); assetAppService.deleteById(id);
return success(); return success();

@ -98,7 +98,7 @@ public class AssetEmailController extends BaseController {
*/ */
@ApiOperation(value = "删除email数据") @ApiOperation(value = "删除email数据")
@Log(title = "删除email数据", businessType = BusinessType.DELETE) @Log(title = "删除email数据", businessType = BusinessType.DELETE)
@DeleteMapping("/{id}") @DeleteMapping("/delete/{id}")
public AjaxResult deleteById(@PathVariable Long id) { public AjaxResult deleteById(@PathVariable Long id) {
assetEmailService.deleteById(id); assetEmailService.deleteById(id);
return success(); return success();

@ -100,7 +100,7 @@ public class AssetMiniProgramsController extends BaseController {
*/ */
@ApiOperation(value = "删除小程序数据") @ApiOperation(value = "删除小程序数据")
@Log(title = "删除小程序数据", businessType = BusinessType.DELETE) @Log(title = "删除小程序数据", businessType = BusinessType.DELETE)
@DeleteMapping("/{id}") @DeleteMapping("/delete/{id}")
public AjaxResult deleteById(@PathVariable Long id) { public AjaxResult deleteById(@PathVariable Long id) {
assetMiniProgramsService.deleteById(id); assetMiniProgramsService.deleteById(id);
return success(); return success();

@ -101,7 +101,7 @@ public class AssetOfficialAccountController {
*/ */
@ApiOperation(value = "删除公众号数据") @ApiOperation(value = "删除公众号数据")
@Log(title = "删除公众号数据", businessType = BusinessType.DELETE) @Log(title = "删除公众号数据", businessType = BusinessType.DELETE)
@DeleteMapping("/{id}") @DeleteMapping("/delete/{id}")
public AjaxResult deleteById(@PathVariable Long id) { public AjaxResult deleteById(@PathVariable Long id) {
assetOfficialAccountService.deleteById(id); assetOfficialAccountService.deleteById(id);
return success(); return success();

@ -39,7 +39,7 @@ public interface AssetEmailMapper extends BaseMapper<AssetEmail> {
* *
* @return * @return
*/ */
String deleteById(Long id); void deleteById(Long id);
} }

@ -28,7 +28,7 @@ public interface AssetEmailService extends IService<AssetEmail> {
/** /**
* *
*/ */
String deleteById(Long id); void deleteById(Long id);
/** /**
* *

@ -34,8 +34,8 @@ public class AssetEmailServiceImpl extends ServiceImpl<AssetEmailMapper, AssetEm
* *
*/ */
@Override @Override
public String deleteById(Long id) { public void deleteById(Long id) {
return baseMapper.deleteById(id); baseMapper.deleteById(id);
} }

Loading…
Cancel
Save