Commit 7bca7c0f authored by yanzg's avatar yanzg

接口文档的支持

parent 2cd65ed0
...@@ -177,7 +177,7 @@ public class MqServiceImpl implements MqService { ...@@ -177,7 +177,7 @@ public class MqServiceImpl implements MqService {
/** /**
* 建立当前服务器的队列 * 建立当前服务器的队列
* *
* @param req 请求数据 * @param req 请求数据
* @return * @return
*/ */
@Override @Override
...@@ -254,7 +254,9 @@ public class MqServiceImpl implements MqService { ...@@ -254,7 +254,9 @@ public class MqServiceImpl implements MqService {
} else { } else {
queueServerTokenDao.update(serverTokenVo); queueServerTokenDao.update(serverTokenVo);
} }
yzgMqConsumer.sendRemove(req); if (req.getFairTime() > 0) {
yzgMqConsumer.sendRemove(req);
}
return serverTokenVo.getServerTokenId(); return serverTokenVo.getServerTokenId();
} }
......
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