Commit 2b176be2 authored by yanzg's avatar yanzg

设置打包时可以通过GIT查看源码

parent 7143980e
...@@ -7,6 +7,7 @@ import com.yanzuoguang.util.vo.PageSizeData; ...@@ -7,6 +7,7 @@ import com.yanzuoguang.util.vo.PageSizeData;
/** /**
* 队列服务 * 队列服务
*
* @author 颜佐光 * @author 颜佐光
*/ */
public interface QueueService { public interface QueueService {
...@@ -15,6 +16,5 @@ public interface QueueService { ...@@ -15,6 +16,5 @@ public interface QueueService {
* *
* @param req 保存队列服务 * @param req 保存队列服务
*/ */
void void create(QueueVo req);
create(QueueVo req);
} }
...@@ -317,12 +317,14 @@ public class MqServiceImpl implements MqService { ...@@ -317,12 +317,14 @@ public class MqServiceImpl implements MqService {
// 发送消息,等待下次重新发送 // 发送消息,等待下次重新发送
req.addPos(); req.addPos();
String json = JsonHelper.serialize(req);
if (sendQueueName.isEmpty()) { if (sendQueueName.isEmpty()) {
String json = JsonHelper.serialize(req);
return this.message(new MessageVo(req.getQueueName(), req.getQueueName(), json, req.getNextDelayTime())); return this.message(new MessageVo(req.getQueueName(), req.getQueueName(), json, req.getNextDelayTime()));
} else { } else {
String ret = StringHelper.EMPTY; String ret = StringHelper.EMPTY;
for (String name : sendQueueName) { for (String name : sendQueueName) {
req.setToken(name);
String json = JsonHelper.serialize(req);
ret = this.message(new MessageVo(name, name, json)); ret = this.message(new MessageVo(name, name, json));
} }
return ret; return ret;
......
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