|
|
|
@@ -174,14 +174,5 @@ public class WxMsgServiceImpl implements WxMsgService { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void main(String args[]){ |
|
|
|
|
|
|
|
ScheduledExecutorService service = Executors.newSingleThreadScheduledExecutor(); |
|
|
|
service.scheduleAtFixedRate(()->System.out.println("task ScheduledExecutorService "+new Date()), 0, 1, TimeUnit.SECONDS); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |