xuhy
2026-04-17 4edaaf570a2cd8af8a9c35694a46289cdf9278b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.xiaopeng.automaticPilot.controller;
 
 
import com.xiaopeng.api.dto.automaticPilot.VehicleEventDTO;
import com.xiaopeng.automaticPilot.util.VehicleBuriedPointProducer;
import com.xiaopeng.common.core.domain.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
@Slf4j
@RestController
@RequestMapping("")
public class VehicleBuriedPointController {
 
    @Autowired
    private VehicleBuriedPointProducer vehicleBuriedPointProducer;
 
 
    /**
     * 推送埋点信息
     * @param event
     * @return
     */
    @PostMapping("/logan/inner/vehicleBuriedPoint/sendVehicleEvent")
    public R<String> sendVehicleEvent(@RequestBody VehicleEventDTO event){
        vehicleBuriedPointProducer.sendVehicleEvent(event);
        return R.ok();
    }
 
}