Compare commits
No commits in common. "537997deab0d5f7bd16c75e24882e2eab6b5796c" and "6ae9eca9b6ce949d0086cd07bb2ce490403144da" have entirely different histories.
537997deab
...
6ae9eca9b6
|
@ -1,11 +1,6 @@
|
|||
package com.mcwl.web.controller.communityCenter;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.mcwl.common.core.domain.AjaxResult;
|
||||
import com.mcwl.common.core.page.PageDomain;
|
||||
import com.mcwl.common.core.page.TableDataInfo;
|
||||
import com.mcwl.communityCenter.domain.Community;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.mcwl.common.core.domain.AjaxResult;
|
||||
import com.mcwl.common.core.page.PageDomain;
|
||||
|
@ -19,6 +14,9 @@ import org.springframework.web.bind.annotation.*;
|
|||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 发布
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("publish")
|
||||
@RequiredArgsConstructor
|
||||
|
@ -68,15 +66,4 @@ public class PublishController {
|
|||
return AjaxResult.success(publishService.removeById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@GetMapping("remove")
|
||||
public AjaxResult deletePublish(Long id) {
|
||||
return AjaxResult.success(publishService.removeById(id));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue