package com.malk.huagao.controller;

import com.malk.huagao.service.IKdYdCustomerLiaisonService;
import com.malk.server.common.McR;
import org.checkerframework.checker.units.qual.A;
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-13
 */
@RestController
@RequestMapping("/hg")

public class KdYdCustomerLiaisonController {
    @Autowired
    private IKdYdCustomerLiaisonService kdYdCustomerLiaisonService;
@PostMapping("/kdYdCustomerLiaison")
McR insertCustomerLiaison(@RequestBody Map map) {
    kdYdCustomerLiaisonService.insertCustomerLiaison(map);
        return McR.success();
    }
}
