package com.malk.huagao.controller; import com.malk.huagao.service.IKdYdCustomerReferrerService; import com.malk.server.common.McR; 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; /** *

* 前端控制器 *

* * @author LQY * @since 2025-10-14 */ @RestController @RequestMapping("/hg") public class KdYdCustomerReferrerController { @Autowired private IKdYdCustomerReferrerService kdYdCustomerReferrerService; @PostMapping("/kdYdCustomerReferrer") McR kdYdCustomerReferrer(@RequestBody Map map) { kdYdCustomerReferrerService.insertCustomerReferrer(map); return McR.success(); } }