StController.java 526 B

123456789101112131415161718192021222324
  1. package com.malk.shantai.controller;
  2. import com.malk.shantai.service.StDingProcService;
  3. import lombok.extern.slf4j.Slf4j;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.web.bind.annotation.*;
  6. import java.util.Map;
  7. @RestController
  8. @RequestMapping
  9. @Slf4j
  10. public class StController{
  11. @Autowired
  12. private StDingProcService stDingProcService;
  13. //新增评论
  14. @GetMapping("/comment")
  15. public void comment(Map map) {
  16. stDingProcService.commentSync(map);
  17. }
  18. }