|
@@ -164,7 +164,8 @@ public class CommunityArticleController extends BaseController {
|
|
|
int result2 = communityCollectionArticleMapper.update(null, new UpdateWrapper<CommunityCollectionArticle>()
|
|
|
.eq("article_id", id)
|
|
|
.set("is_delete", true));
|
|
|
- if (result1 && result2 > 0) {
|
|
|
+ if (result1 //&& result2 > 0
|
|
|
+ ) {
|
|
|
return success("删除成功!");
|
|
|
}
|
|
|
} catch (Exception e) {
|