进行更改数据
parent
3e90aba9f6
commit
633782d964
|
@ -1,5 +1,6 @@
|
||||||
package com.shiyi.launch.service.impl;
|
package com.shiyi.launch.service.impl;
|
||||||
|
|
||||||
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.fate.common.core.utils.StringUtils;
|
import com.fate.common.core.utils.StringUtils;
|
||||||
import com.shiyi.launch.domain.VehicleConnectionReq;
|
import com.shiyi.launch.domain.VehicleConnectionReq;
|
||||||
import com.shiyi.launch.mapper.VehicleaunchMapper;
|
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();
|
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("发送消息成功");
|
log.info("发送消息成功");
|
||||||
return fate;
|
return fate;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue