Commit ec72a6be authored by yanzg's avatar yanzg

修改MQ请求尸体,防止出错

parent a4c5c6a5
...@@ -9,7 +9,7 @@ package com.yanzuoguang.util.vo; ...@@ -9,7 +9,7 @@ package com.yanzuoguang.util.vo;
public class MqInit<T> { public class MqInit<T> {
/** /**
* 当前系统时间搓,相当于版本号 * 对象初始化时间系统时间搓,相当于版本号
*/ */
private long now = System.currentTimeMillis(); private long now = System.currentTimeMillis();
...@@ -25,6 +25,22 @@ public class MqInit<T> { ...@@ -25,6 +25,22 @@ public class MqInit<T> {
this.data = data; this.data = data;
} }
/**
* 对象初始化时间
* @return
*/
public long getNow() {
return now;
}
/**
* 对象初始化时间
* @return
*/
public void setNow(long now) {
this.now = now;
}
/** /**
* 当前数据 * 当前数据
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment