进行更改数据

master
sikadi 2023-12-02 12:28:02 +08:00
parent 3e90aba9f6
commit 633782d964
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
package com.shiyi.launch.service.impl;
import com.alibaba.fastjson.JSON;
import com.fate.common.core.utils.StringUtils;
import com.shiyi.launch.domain.VehicleConnectionReq;
import com.shiyi.launch.mapper.VehicleaunchMapper;
@ -58,7 +59,7 @@ public class VehiclelaunchServiceimpl implements VehiclelaunchService {
String fate = "fate" + vehicleConnectionReq.getVehicleVin().substring(3,7) + vehicleConnectionReq.getNonce();
rabbitTemplate.convertAndSend(FATE,STREAM_QUEUE,fate);
rabbitTemplate.convertAndSend(STREAM_QUEUE, JSON.toJSONString(fate));
log.info("发送消息成功");
return fate;
}