public async Task <IActionResult> Delete(int id) { bool b = await AdsService.DeleteByIdAsync(id) > 0; return(ResultData(null, b, b ? "删除成功" : "删除失败")); }