This commit is contained in:
wangjinlei
2024-05-30 10:58:48 +08:00
parent 6651f6cf39
commit 0ec6c4c22b
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package com.peanut.modules.common.controller;
import com.peanut.common.utils.R;
import com.peanut.modules.common.service.TaihuWelfareService;
import com.peanut.modules.common.to.ParamTo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
@Slf4j
@RestController("commonTaihuWelfare")
@RequestMapping("common/taihuWelfare")
public class TaihuWelfareController {
@Autowired
private TaihuWelfareService taihuWelfareService;
@RequestMapping("/getTaihuWelfareArticleList")
public R getTaihuWelfareArticleList(@RequestBody ParamTo param){
return taihuWelfareService.getTaihuWelfareArticleList(param);
}
}