Commit 31534956 authored by yanzg's avatar yanzg

身份证识别

parent 04a6330d
......@@ -20,6 +20,7 @@ public class QueueServiceImpl implements QueueService, Runnable {
private final BeanDao beanDao;
private final Queue<QueueVo> queue = new ConcurrentLinkedQueue<>();
private boolean isAsyncRun = false;
public static boolean DEFAULT_IS_ASYNC = false;
public QueueServiceImpl(BeanDao beanDao) {
this.beanDao = beanDao;
......@@ -33,7 +34,7 @@ public class QueueServiceImpl implements QueueService, Runnable {
*/
@Override
public void create(QueueVo req) {
initBean(req, true);
initBean(req, DEFAULT_IS_ASYNC);
}
@Override
......
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