| 12345678910111213141516171819202122232425262728293031323334353637 |
- package com.malk.huagao.controller;
- import com.malk.huagao.service.IKdYdOrderService;
- import com.malk.huagao.service.IKdYdOutboundService;
- import com.malk.server.common.McR;
- import com.malk.service.aliwork.YDClient;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.stereotype.Controller;
- import org.springframework.web.bind.annotation.RestController;
- import java.util.Map;
- /**
- * <p>
- * 前端控制器
- * </p>
- *
- * @author LQY
- * @since 2025-10-15
- */
- @RestController
- @RequestMapping("/hg")
- public class KdYdOutboundController {
- @Autowired
- private YDClient ydClient;
- @Autowired
- private IKdYdOutboundService kdYdOutboundService;
- @PostMapping("/kdYdOutbound")
- McR insertkdYdOutbound(@RequestBody Map map) {
- kdYdOutboundService.insertkdYdOutbound(map);
- return McR.success();
- }
- }
|