|
@@ -94,6 +94,12 @@ public class CpsContentInfoController extends BaseController {
|
|
|
return toAjax(cpsContentInfoService.deleteCpsContentInfoByIds(ids));
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @GetMapping("/ids/{ids}")
|
|
|
+ public AjaxResult selectCpsContentInfoByIds(@PathVariable Long[] ids) {
|
|
|
+ return AjaxResult.success(cpsContentInfoService.selectCpsContentInfoByIds(ids));
|
|
|
+ }
|
|
|
+
|
|
|
@Log(title = "点赞内容", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/{openId}/like")
|
|
|
public AjaxResult likeContent(@RequestBody CpsContentInfo cpsContentInfo, @PathVariable String openId) {
|