KdYdCustomerReferrerController.java 965 B

123456789101112131415161718192021222324252627282930313233
  1. package com.malk.huagao.controller;
  2. import com.malk.huagao.service.IKdYdCustomerReferrerService;
  3. import com.malk.server.common.McR;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.web.bind.annotation.PostMapping;
  6. import org.springframework.web.bind.annotation.RequestBody;
  7. import org.springframework.web.bind.annotation.RequestMapping;
  8. import org.springframework.stereotype.Controller;
  9. import org.springframework.web.bind.annotation.RestController;
  10. import java.util.Map;
  11. /**
  12. * <p>
  13. * 前端控制器
  14. * </p>
  15. *
  16. * @author LQY
  17. * @since 2025-10-14
  18. */
  19. @RestController
  20. @RequestMapping("/hg")
  21. public class KdYdCustomerReferrerController {
  22. @Autowired
  23. private IKdYdCustomerReferrerService kdYdCustomerReferrerService;
  24. @PostMapping("/kdYdCustomerReferrer")
  25. McR kdYdCustomerReferrer(@RequestBody Map map) {
  26. kdYdCustomerReferrerService.insertCustomerReferrer(map);
  27. return McR.success();
  28. }
  29. }