KdYdOutboundController.java 1.0 KB

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