| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package com.malk.huagao.controller;
- import com.malk.huagao.service.IKdYdOrderService;
- 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 KdYdOrderController {
- @Autowired
- private YDClient ydClient;
- @Autowired
- private IKdYdOrderService kdYdOrderService;
- @PostMapping("/kdYdOrder")
- McR insertkdYdOrder(@RequestBody Map map) {
- kdYdOrderService.insertkdYdOrder(map);
- return McR.success();
- }
- @PostMapping("/SckdYdOrder")
- McR SckdYdOrder(@RequestBody Map map) {
- kdYdOrderService.SckdYdOrder(map);
- return McR.success();
- }
- }
|