xuhy
2026-04-22 746517aca9d0b7ae334c70b3041a9b1de795addb
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
32
33
34
35
36
package com.xiaopeng.api.feignClient.vehicleConvoy;
 
 
import com.xiaopeng.api.dto.vehicleConvoy.BaseVehicleUserDto;
import com.xiaopeng.api.factory.vehicleConvoy.UserVehicleClientFallbackFactory;
import com.xiaopeng.api.vo.vehicleConvoy.BluetoothDeliverVo;
import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
 
/**
 * 蓝牙解锁车门
 */
@FeignClient(contextId = "BluetoothUnlockClient",
        value = ServiceNameConstantsEnum.XP_SMART_DIGITAL_KEY_BOOT,
        fallbackFactory = UserVehicleClientFallbackFactory.class)
public interface BluetoothUnlockClient {
 
 
    /**
     * 下发凭证
     * @param vo
     */
    @PostMapping("/logan/rt/credential/deliver")
    BaseVehicleUserDto deliver(@RequestBody BluetoothDeliverVo vo);
 
 
    /**
     * 删除凭证
     * @param vo
     */
    @PostMapping("/logan/rt/credential/delete")
    BaseVehicleUserDto delete(@RequestBody BluetoothDeliverVo vo);
}