ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShareController.java
@@ -99,6 +99,7 @@ } share.setDelFlag(0); share.setAppletShare(1); share.setCreateTime(LocalDateTime.now()); shareService.save(share); return R.ok(); } @@ -155,6 +156,9 @@ @ApiOperation(value = "广告管理-分享管理-编辑", tags = {"管理后台"}) @PostMapping("/manage/edit") public R<Void> manageedit(@RequestBody Share share) { if (share.getAuditStatus()==2){ share.setAuditStatus(0); } shareService.updateById(share); return R.ok(); }