commit 4a294ff123d5b3e3674f49ae9b53f4109fa2b3a0
Author: 张腾 <3467447354@qq.com>
Date: Fri Jul 26 20:35:20 2024 +0800
提交
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..7d4482c
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..aa00ffa
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..ee2c34b
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
new file mode 100644
index 0000000..3d4444c
--- /dev/null
+++ b/.idea/jarRepositories.xml
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..67e1e61
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..10f76b4
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,19 @@
+#指定构建镜像的起始镜像
+FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/dragonwell:17.0.4.0.4.8-standard-ga-8.6
+
+#定义时区参数
+ENV TZ=Asia/Shanghai
+
+#执行一些必备的条件
+RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
+
+#挂载
+VOLUME ["/home/logs/cloud-system"]
+
+#拷贝执行jar包文件
+COPY ./target/cloud-modules-system.jar /home/app.jar
+
+#构建启动命令
+ENTRYPOINT ["java","-jar"]
+CMD ["/home/app.jar"]
+
diff --git a/logs/cloud-system/error.2024-07-23.log b/logs/cloud-system/error.2024-07-23.log
new file mode 100644
index 0000000..2fa2228
--- /dev/null
+++ b/logs/cloud-system/error.2024-07-23.log
@@ -0,0 +1,268 @@
+23:34:20.632 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connect timed out
+java.net.SocketTimeoutException: Connect timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:34:24.872 [com.alibaba.nacos.client.remote.worker.1] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 1 milliseconds, 945300 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@7f019dc0[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:36:23.964 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Read timed out
+java.net.SocketTimeoutException: Read timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:283)
+ at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309)
+ at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
+ at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
+ at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
+ at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
+ at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
+ at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
+ at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:827)
+ at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:762)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1688)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
+ at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:119)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:36:56.995 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connect timed out
+java.net.SocketTimeoutException: Connect timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:36:57.619 [com.alibaba.nacos.client.remote.worker.0] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 14 milliseconds, 92100 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@4e342247[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:37:18.774 [com.alibaba.nacos.client.remote.worker.1] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 7 milliseconds, 758600 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@adbf0c8[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:37:30.002 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connect timed out
+java.net.SocketTimeoutException: Connect timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:37:41.603 [com.alibaba.nacos.client.remote.worker.0] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 3 milliseconds, 765300 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@729ff1b[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:37:44.731 [com.alibaba.nacos.client.remote.worker.0] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 14 milliseconds, 255600 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@388a9232[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:50:52.816 [com.alibaba.nacos.client.remote.worker.0] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 3 milliseconds, 262600 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@7a46825f[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:50:53.141 [com.alibaba.nacos.client.remote.worker.1] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 4 milliseconds, 686100 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@35bf9eba[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:51:04.972 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Read timed out
+java.net.SocketTimeoutException: Read timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:283)
+ at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309)
+ at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
+ at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
+ at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
+ at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
+ at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
+ at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
+ at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:827)
+ at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:762)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1688)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
+ at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:119)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:51:37.986 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connect timed out
+java.net.SocketTimeoutException: Connect timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:52:11.002 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connect timed out
+java.net.SocketTimeoutException: Connect timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:54:44.364 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Read timed out
+java.net.SocketTimeoutException: Read timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:283)
+ at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309)
+ at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
+ at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
+ at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
+ at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
+ at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
+ at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
+ at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:827)
+ at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:762)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1688)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
+ at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:119)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+23:54:47.704 [nacos.client.config.listener.task-0] ERROR c.a.n.c.r.client - [printIfErrorEnabled,102] - Send request fail, request = ConfigBatchListenRequest{headers={accessToken=AUTH_DISABLED, charset=UTF-8, Client-AppName=unknown, Client-RequestToken=1aa2a50c4382995c44568343c81efe59, Client-RequestTS=1721750084701, exConfigInfo=true}, requestId='null'}, retryTimes = 0, errorMessage = java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 2 milliseconds, 347800 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@7e65e848[status=PENDING, info=[GrpcFuture{clientCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}]]
+23:54:47.704 [nacos.client.config.listener.task-0] ERROR c.a.n.c.c.i.ClientWorker - [lambda$checkListenCache$7,1065] - Execute listen config change error
+com.alibaba.nacos.api.exception.NacosException: java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 2 milliseconds, 347800 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@7e65e848[status=PENDING, info=[GrpcFuture{clientCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}]]
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcConnection.request(GrpcConnection.java:82)
+ at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:646)
+ at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.requestProxy(ClientWorker.java:1221)
+ at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.requestProxy(ClientWorker.java:1202)
+ at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.lambda$checkListenCache$7(ClientWorker.java:1018)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+Caused by: java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 2 milliseconds, 347800 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@7e65e848[status=PENDING, info=[GrpcFuture{clientCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcConnection.request(GrpcConnection.java:79)
+ ... 10 common frames omitted
diff --git a/logs/cloud-system/error.log b/logs/cloud-system/error.log
new file mode 100644
index 0000000..7eaccfc
--- /dev/null
+++ b/logs/cloud-system/error.log
@@ -0,0 +1,763 @@
+00:00:21.087 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Read timed out
+java.net.SocketTimeoutException: Read timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:283)
+ at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309)
+ at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
+ at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
+ at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
+ at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
+ at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
+ at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
+ at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:827)
+ at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:762)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1688)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
+ at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:119)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:01:24.262 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Read timed out
+java.net.SocketTimeoutException: Read timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:283)
+ at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309)
+ at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
+ at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
+ at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
+ at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
+ at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
+ at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
+ at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:827)
+ at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:762)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1688)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
+ at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:119)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:01:27.731 [com.alibaba.nacos.client.remote.worker.1] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 11 milliseconds, 329800 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@4d5738d1[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:05:14.061 [com.alibaba.nacos.client.remote.worker.0] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 13 milliseconds, 74600 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@905e269[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:05:18.042 [com.alibaba.nacos.client.naming.grpc.redo.0] ERROR c.a.n.c.r.client - [printIfErrorEnabled,102] - Send request fail, request = InstanceRequest{headers={accessToken=AUTH_DISABLED, app=unknown}, requestId='null'}, retryTimes = 0, errorMessage = java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 15 milliseconds, 342500 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@dfb0d37[status=PENDING, info=[GrpcFuture{clientCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}]]
+00:05:18.054 [com.alibaba.nacos.client.naming.grpc.redo.0] ERROR c.a.n.client.naming - [redoForInstances,63] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system failed.
+com.alibaba.nacos.api.exception.NacosException: java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 15 milliseconds, 342500 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@dfb0d37[status=PENDING, info=[GrpcFuture{clientCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}]]
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcConnection.request(GrpcConnection.java:82)
+ at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:646)
+ at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:623)
+ at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:447)
+ at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.doRegisterService(NamingGrpcClientProxy.java:250)
+ at com.alibaba.nacos.client.naming.remote.gprc.redo.RedoScheduledTask.processRegisterRedoType(RedoScheduledTask.java:102)
+ at com.alibaba.nacos.client.naming.remote.gprc.redo.RedoScheduledTask.redoForInstance(RedoScheduledTask.java:79)
+ at com.alibaba.nacos.client.naming.remote.gprc.redo.RedoScheduledTask.redoForInstances(RedoScheduledTask.java:61)
+ at com.alibaba.nacos.client.naming.remote.gprc.redo.RedoScheduledTask.run(RedoScheduledTask.java:51)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.runAndReset$$$capture(FutureTask.java:305)
+ at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+Caused by: java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 15 milliseconds, 342500 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@dfb0d37[status=PENDING, info=[GrpcFuture{clientCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcConnection.request(GrpcConnection.java:79)
+ ... 15 common frames omitted
+00:05:27.819 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Read timed out
+java.net.SocketTimeoutException: Read timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:283)
+ at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309)
+ at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
+ at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
+ at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
+ at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
+ at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
+ at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
+ at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:827)
+ at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:762)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1688)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
+ at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:119)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:07:31.035 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connect timed out
+java.net.SocketTimeoutException: Connect timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:948)
+ at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:762)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1688)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
+ at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:119)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:08:03.995 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:08:36.278 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:09:08.809 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:09:41.169 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:10:14.171 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connect timed out
+java.net.SocketTimeoutException: Connect timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:10:46.440 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:11:18.779 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:11:51.073 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:12:23.501 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:12:55.743 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:13:28.544 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:00.851 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:33.858 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connect timed out
+java.net.SocketTimeoutException: Connect timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:43.930 [com.alibaba.nacos.client.remote.worker.0] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 12 milliseconds, 317000 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@3e598c5e[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:44.166 [com.alibaba.nacos.client.remote.worker.1] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 11 milliseconds, 888500 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@764acd75[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:47.059 [com.alibaba.nacos.client.remote.worker.0] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 15 milliseconds, 227600 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@124f57e0[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:47.279 [com.alibaba.nacos.client.remote.worker.1] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 6 milliseconds, 283900 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@2739d957[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:50.268 [com.alibaba.nacos.client.remote.worker.0] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 2 milliseconds, 95100 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@53928379[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:50.501 [com.alibaba.nacos.client.remote.worker.1] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 14 milliseconds, 591400 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@30cb0f05[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:53.580 [com.alibaba.nacos.client.remote.worker.0] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 7 milliseconds, 616900 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@4fa6cc01[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:53.831 [com.alibaba.nacos.client.remote.worker.1] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 13 milliseconds, 289500 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@cc57294[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:56.993 [com.alibaba.nacos.client.remote.worker.0] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 3 milliseconds, 764800 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@48ad700f[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:14:57.240 [com.alibaba.nacos.client.remote.worker.1] ERROR c.a.n.c.r.c.g.GrpcClient - [printIfErrorEnabled,102] - Server check fail, please check server 106.15.36.123 ,port 9848 is available , error ={}
+java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 738300 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@3a80c97[status=PENDING, info=[GrpcFuture{clientCall=PendingCall{realCall=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@b5c0ca8, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@31c05c31, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@2f2f6b74}}}}]]
+ at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:243)
+ at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:367)
+ at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:502)
+ at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$1(RpcClient.java:329)
+ at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
+ at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
+ at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
+ at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
+ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
+ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:15:06.186 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:15:38.501 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:16:10.874 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:16:43.249 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:17:16.257 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connect timed out
+java.net.SocketTimeoutException: Connect timed out
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:17:48.519 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:18:20.851 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:18:53.247 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:19:25.734 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:19:58.031 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
+ at java.base/java.lang.Thread.run(Thread.java:833)
+00:20:09.353 [xxl-job, executor ExecutorRegistryThread] ERROR c.x.j.c.u.XxlJobRemotingUtil - [postBody,143] - Connection refused: no further information
+java.net.ConnectException: Connection refused: no further information
+ at java.base/sun.nio.ch.Net.pollConnect(Native Method)
+ at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
+ at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549)
+ at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
+ at java.base/java.net.Socket.connect(Socket.java:633)
+ at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:534)
+ at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:639)
+ at java.base/sun.net.www.http.HttpClient.(HttpClient.java:282)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:387)
+ at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:409)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
+ at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
+ at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99)
+ at com.xxl.job.core.biz.client.AdminBizClient.registryRemove(AdminBizClient.java:47)
+ at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:84)
+ at java.base/java.lang.Thread.run(Thread.java:833)
diff --git a/logs/cloud-system/info.2024-07-23.log b/logs/cloud-system/info.2024-07-23.log
new file mode 100644
index 0000000..122c71a
--- /dev/null
+++ b/logs/cloud-system/info.2024-07-23.log
@@ -0,0 +1,204 @@
+23:33:44.572 [main] INFO c.m.s.CloudSystemApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev"
+23:33:47.493 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat]
+23:33:47.494 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24]
+23:33:47.582 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext
+23:33:58.756 [main] INFO c.a.d.p.DruidDataSource - [init,1002] - {dataSource-1,master} inited
+23:33:58.759 [main] INFO c.b.d.d.DynamicRoutingDataSource - [addDataSource,158] - dynamic-datasource - add a datasource named [master] success
+23:33:58.760 [main] INFO c.b.d.d.DynamicRoutingDataSource - [afterPropertiesSet,241] - dynamic-datasource initial loaded [1] datasource,primary datasource named [master]
+23:34:08.915 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
+23:34:14.593 [main] INFO c.m.c.x.XXLJobConfig - [xxlJobExecutor,25] - >>>>>>>>>>> xxl-job config init success.
+23:34:17.466 [main] INFO c.x.j.c.e.XxlJobExecutor - [registJobHandler,183] - >>>>>>>>>>> xxl-job register jobhandler success, name:xxl-job-demo-no-param, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@406fec86[class com.muyu.common.xxl.demo.XxlJobDemoService#xxlJobDemoNoParam]
+23:34:17.466 [main] INFO c.x.j.c.e.XxlJobExecutor - [registJobHandler,183] - >>>>>>>>>>> xxl-job register jobhandler success, name:xxl-job-demo-one-param, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@ac94285[class com.muyu.common.xxl.demo.XxlJobDemoService#xxlJobDemoOneParam]
+23:34:17.612 [Thread-12] INFO c.x.j.c.s.EmbedServer - [run,82] - >>>>>>>>>>> xxl-job remoting server start success, nettype = class com.xxl.job.core.server.EmbedServer, port = 9999
+23:34:18.778 [main] INFO c.a.n.client.naming - [initNamespaceForNaming,62] - initializer namespace from ans.namespace attribute : null
+23:34:18.779 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$0,66] - initializer namespace from ALIBABA_ALIWARE_NAMESPACE attribute :null
+23:34:18.781 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$1,73] - initializer namespace from namespace attribute :null
+23:34:18.793 [main] INFO c.a.n.client.naming - [,74] - FailoverDataSource type is class com.alibaba.nacos.client.naming.backups.datasource.DiskFailoverDataSource
+23:34:18.801 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
+23:34:18.801 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
+23:34:20.640 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connect timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+23:34:21.862 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721748823807_223.160.207.155_4162
+23:34:21.864 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:34:21.865 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:34:24.996 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:34:26.449 [nacos-grpc-client-executor-106.15.36.123-28] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Receive server push request, request = ClientDetectionRequest, requestId = 55
+23:34:26.449 [nacos-grpc-client-executor-106.15.36.123-28] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Ack server push request, request = ClientDetectionRequest, requestId = 55
+23:34:26.470 [main] INFO c.a.n.c.r.client - [lambda$createClient$0,118] - [RpcClientFactory] create a new rpc client of e4879cbf-6b29-40dc-b866-6843422e316f
+23:34:26.476 [main] INFO c.a.n.client.naming - [,109] - Create naming rpc client for uuid->e4879cbf-6b29-40dc-b866-6843422e316f
+23:34:26.477 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
+23:34:26.478 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
+23:34:26.479 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
+23:34:26.482 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to connect to server on start up, server: {serverIp = '106.15.36.123', server main port = 8848}
+23:34:26.483 [main] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:34:26.571 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721748866647_223.160.207.155_4164
+23:34:26.572 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721748823807_223.160.207.155_4162
+23:34:26.573 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721748823807_223.160.207.155_4162
+23:34:26.574 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+23:34:26.575 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+23:34:26.576 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+23:34:26.576 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+23:34:26.665 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect to server [106.15.36.123:8848] on start up, connectionId = 1721748866731_223.160.207.155_4166
+23:34:26.665 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
+23:34:26.665 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+23:34:26.666 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$633/0x00000171b25246a0
+23:34:26.666 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+23:34:26.668 [main] INFO c.a.n.client.naming - [registerService,133] - [REGISTER-SERVICE] 3cc549bc-5e87-4246-a701-7a1edd9b5433 registering service cloud-system with instance Instance{instanceId='null', ip='192.168.173.1', port=9701, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={IPv6=null, preserved.register.source=SPRING_CLOUD}}
+23:34:26.737 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,76] - nacos registry, DEFAULT_GROUP cloud-system 192.168.173.1:9701 register finished
+23:34:27.980 [main] INFO c.m.s.CloudSystemApplication - [logStarted,56] - Started CloudSystemApplication in 49.741 seconds (process running for 50.843)
+23:34:27.999 [main] INFO c.a.n.c.c.i.CacheData - [initNotifyWarnTimeout,72] - config listener notify warn timeout millis use default 60000 millis
+23:34:27.999 [main] INFO c.a.n.c.c.i.CacheData - [,99] - nacos.cache.data.init.snapshot = true
+23:34:28.000 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-3cc549bc-5e87-4246-a701-7a1edd9b5433-106.15.36.123_8848] [subscribe] cloud-system+DEFAULT_GROUP+3cc549bc-5e87-4246-a701-7a1edd9b5433
+23:34:28.012 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-3cc549bc-5e87-4246-a701-7a1edd9b5433-106.15.36.123_8848] [add-listener] ok, tenant=3cc549bc-5e87-4246-a701-7a1edd9b5433, dataId=cloud-system, group=DEFAULT_GROUP, cnt=1
+23:34:28.012 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-system, group=DEFAULT_GROUP
+23:34:28.030 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-3cc549bc-5e87-4246-a701-7a1edd9b5433-106.15.36.123_8848] [subscribe] cloud-system-dev.yml+DEFAULT_GROUP+3cc549bc-5e87-4246-a701-7a1edd9b5433
+23:34:28.030 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-3cc549bc-5e87-4246-a701-7a1edd9b5433-106.15.36.123_8848] [add-listener] ok, tenant=3cc549bc-5e87-4246-a701-7a1edd9b5433, dataId=cloud-system-dev.yml, group=DEFAULT_GROUP, cnt=1
+23:34:28.031 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-system-dev.yml, group=DEFAULT_GROUP
+23:34:28.031 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-3cc549bc-5e87-4246-a701-7a1edd9b5433-106.15.36.123_8848] [subscribe] cloud-system.yml+DEFAULT_GROUP+3cc549bc-5e87-4246-a701-7a1edd9b5433
+23:34:28.032 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-3cc549bc-5e87-4246-a701-7a1edd9b5433-106.15.36.123_8848] [add-listener] ok, tenant=3cc549bc-5e87-4246-a701-7a1edd9b5433, dataId=cloud-system.yml, group=DEFAULT_GROUP, cnt=1
+23:34:28.032 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-system.yml, group=DEFAULT_GROUP
+23:34:28.412 [RMI TCP Connection(1)-192.168.173.1] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
+23:36:23.965 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Read timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+23:36:54.603 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Server healthy check fail, currentConnection = 1721748866731_223.160.207.155_4166
+23:36:54.603 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:36:54.603 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:36:56.996 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connect timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+23:36:57.727 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:36:59.929 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect a server [106.15.36.123:8848], connectionId = 1721749019213_223.160.207.155_4168
+23:36:59.929 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721748866731_223.160.207.155_4166
+23:36:59.930 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721748866731_223.160.207.155_4166
+23:36:59.930 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify disconnected event to listeners
+23:36:59.933 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+23:36:59.933 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+23:37:02.826 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+23:37:15.764 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721748866647_223.160.207.155_4164
+23:37:15.764 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:37:15.765 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:37:18.882 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:37:20.889 [nacos-grpc-client-executor-106.15.36.123-80] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Receive server push request, request = ClientDetectionRequest, requestId = 56
+23:37:20.889 [nacos-grpc-client-executor-106.15.36.123-80] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Ack server push request, request = ClientDetectionRequest, requestId = 56
+23:37:21.164 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721749041262_223.160.207.155_4169
+23:37:21.164 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721748866647_223.160.207.155_4164
+23:37:21.165 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721748866647_223.160.207.155_4164
+23:37:21.165 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+23:37:21.166 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+23:37:21.166 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+23:37:21.166 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+23:37:30.002 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connect timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+23:37:38.596 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Server healthy check fail, currentConnection = 1721749019213_223.160.207.155_4168
+23:37:38.596 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:37:38.597 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:37:41.715 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:37:42.596 [nacos-grpc-client-executor-106.15.36.123-95] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Receive server push request, request = ClientDetectionRequest, requestId = 57
+23:37:42.596 [nacos-grpc-client-executor-106.15.36.123-62] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Receive server push request, request = ClientDetectionRequest, requestId = 58
+23:37:42.597 [nacos-grpc-client-executor-106.15.36.123-95] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Ack server push request, request = ClientDetectionRequest, requestId = 57
+23:37:42.597 [nacos-grpc-client-executor-106.15.36.123-62] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Ack server push request, request = ClientDetectionRequest, requestId = 58
+23:37:43.242 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721749041262_223.160.207.155_4169
+23:37:43.242 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:37:43.243 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:37:44.733 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Fail to connect server, after trying 1 times, last try server is {serverIp = '106.15.36.123', server main port = 8848}, error = unknown
+23:37:44.937 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:37:45.478 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect a server [106.15.36.123:8848], connectionId = 1721749065566_223.160.207.155_4175
+23:37:45.479 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721749019213_223.160.207.155_4168
+23:37:45.479 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721749019213_223.160.207.155_4168
+23:37:45.480 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify disconnected event to listeners
+23:37:45.481 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+23:37:45.482 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+23:37:45.484 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721749065492_223.160.207.155_4174
+23:37:45.485 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721749041262_223.160.207.155_4169
+23:37:45.485 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721749041262_223.160.207.155_4169
+23:37:45.486 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+23:37:45.487 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+23:37:45.487 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+23:37:45.487 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+23:37:46.347 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+23:50:49.807 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Server healthy check fail, currentConnection = 1721749065566_223.160.207.155_4175
+23:50:49.807 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:50:49.808 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:50:50.134 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721749065492_223.160.207.155_4174
+23:50:50.134 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:50:50.135 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:50:52.924 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:50:53.254 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:50:53.273 [nacos-grpc-client-executor-106.15.36.123-226] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Receive server push request, request = ClientDetectionRequest, requestId = 59
+23:50:53.274 [nacos-grpc-client-executor-106.15.36.123-257] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Receive server push request, request = ClientDetectionRequest, requestId = 60
+23:50:53.274 [nacos-grpc-client-executor-106.15.36.123-226] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Ack server push request, request = ClientDetectionRequest, requestId = 59
+23:50:53.274 [nacos-grpc-client-executor-106.15.36.123-257] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Ack server push request, request = ClientDetectionRequest, requestId = 60
+23:50:53.704 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect a server [106.15.36.123:8848], connectionId = 1721749853638_223.160.207.155_4178
+23:50:53.705 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721749065566_223.160.207.155_4175
+23:50:53.705 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721749065566_223.160.207.155_4175
+23:50:53.706 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify disconnected event to listeners
+23:50:53.706 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+23:50:53.707 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+23:50:53.753 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721749853638_223.160.207.155_4179
+23:50:53.753 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721749065492_223.160.207.155_4174
+23:50:53.753 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721749065492_223.160.207.155_4174
+23:50:53.754 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+23:50:53.755 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+23:50:53.755 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+23:50:53.755 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+23:50:54.405 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+23:51:04.973 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Read timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+23:51:37.987 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connect timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+23:52:11.002 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connect timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+23:52:14.522 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721749853638_223.160.207.155_4179
+23:52:14.523 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:52:14.523 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:52:15.134 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Server healthy check fail, currentConnection = 1721749853638_223.160.207.155_4178
+23:52:15.134 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:52:15.134 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:52:17.127 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect a server [106.15.36.123:8848], connectionId = 1721749937201_223.160.207.155_4181
+23:52:17.128 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721749853638_223.160.207.155_4178
+23:52:17.128 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721749853638_223.160.207.155_4178
+23:52:17.129 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721749937202_223.160.207.155_4180
+23:52:17.129 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721749853638_223.160.207.155_4179
+23:52:17.129 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify disconnected event to listeners
+23:52:17.129 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721749853638_223.160.207.155_4179
+23:52:17.130 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+23:52:17.130 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+23:52:17.131 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+23:52:17.131 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+23:52:17.131 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+23:52:17.131 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+23:52:18.730 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+23:53:58.287 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Server healthy check fail, currentConnection = 1721749937201_223.160.207.155_4181
+23:53:58.288 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:53:58.288 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:53:59.069 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721749937202_223.160.207.155_4180
+23:53:59.070 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:53:59.070 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:53:59.576 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721750039642_223.160.207.155_4183
+23:53:59.576 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect a server [106.15.36.123:8848], connectionId = 1721750039642_223.160.207.155_4184
+23:53:59.577 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721749937202_223.160.207.155_4180
+23:53:59.577 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721749937201_223.160.207.155_4181
+23:53:59.577 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721749937202_223.160.207.155_4180
+23:53:59.577 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721749937201_223.160.207.155_4181
+23:53:59.577 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+23:53:59.577 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+23:53:59.578 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+23:53:59.578 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify disconnected event to listeners
+23:53:59.578 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+23:53:59.578 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+23:53:59.578 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+23:54:01.126 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+23:54:44.365 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Read timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+23:54:53.423 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721750039642_223.160.207.155_4183
+23:54:53.424 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:54:53.424 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:54:54.161 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Server healthy check fail, currentConnection = 1721750039642_223.160.207.155_4184
+23:54:54.162 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to reconnect to a new server, server is not appointed, will choose a random server.
+23:54:54.162 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+23:54:54.310 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721750094369_223.160.207.155_4186
+23:54:54.311 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721750039642_223.160.207.155_4183
+23:54:54.311 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721750039642_223.160.207.155_4183
+23:54:54.312 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+23:54:54.312 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+23:54:54.312 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+23:54:54.313 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+23:54:54.351 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect a server [106.15.36.123:8848], connectionId = 1721750094412_223.160.207.155_4528
+23:54:54.351 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721750039642_223.160.207.155_4184
+23:54:54.352 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721750039642_223.160.207.155_4184
+23:54:54.352 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify disconnected event to listeners
+23:54:54.353 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+23:54:54.353 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+23:54:54.380 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server check success, currentServer is 106.15.36.123:8848
+23:54:55.307 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
diff --git a/logs/cloud-system/info.log b/logs/cloud-system/info.log
new file mode 100644
index 0000000..325c5f6
--- /dev/null
+++ b/logs/cloud-system/info.log
@@ -0,0 +1,173 @@
+00:00:21.094 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Read timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:00:46.048 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721750094369_223.160.207.155_4186
+00:00:46.048 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+00:00:46.049 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:00:46.901 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721750446953_223.160.207.155_4529
+00:00:46.902 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721750094369_223.160.207.155_4186
+00:00:46.902 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721750094369_223.160.207.155_4186
+00:00:46.903 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+00:00:46.903 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+00:00:46.903 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+00:00:46.904 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+00:01:24.263 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Read timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:01:24.717 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721750446953_223.160.207.155_4529
+00:01:24.717 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+00:01:24.717 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:01:27.355 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Server healthy check fail, currentConnection = 1721750094412_223.160.207.155_4528
+00:01:27.355 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to reconnect to a new server, server is not appointed, will choose a random server.
+00:01:27.356 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:01:27.840 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:01:27.953 [nacos-grpc-client-executor-106.15.36.123-434] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Receive server push request, request = ClientDetectionRequest, requestId = 61
+00:01:27.953 [nacos-grpc-client-executor-106.15.36.123-434] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Ack server push request, request = ClientDetectionRequest, requestId = 61
+00:01:28.177 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721750488212_223.160.207.155_4531
+00:01:28.177 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721750446953_223.160.207.155_4529
+00:01:28.177 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721750446953_223.160.207.155_4529
+00:01:28.177 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+00:01:28.177 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+00:01:28.178 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+00:01:28.178 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+00:01:28.182 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect a server [106.15.36.123:8848], connectionId = 1721750488213_223.160.207.155_4530
+00:01:28.183 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721750094412_223.160.207.155_4528
+00:01:28.183 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721750094412_223.160.207.155_4528
+00:01:28.183 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify disconnected event to listeners
+00:01:28.184 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+00:01:28.184 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+00:01:29.288 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+00:05:11.046 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Server healthy check fail, currentConnection = 1721750488213_223.160.207.155_4530
+00:05:11.046 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to reconnect to a new server, server is not appointed, will choose a random server.
+00:05:11.047 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:05:13.544 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721750488212_223.160.207.155_4531
+00:05:13.544 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+00:05:13.544 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:05:13.711 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721750713772_223.160.207.155_4534
+00:05:13.711 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721750488212_223.160.207.155_4531
+00:05:13.712 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721750488212_223.160.207.155_4531
+00:05:13.712 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+00:05:13.712 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+00:05:13.713 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+00:05:13.713 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+00:05:14.171 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:05:14.345 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect a server [106.15.36.123:8848], connectionId = 1721750714408_223.160.207.155_4535
+00:05:14.345 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721750488213_223.160.207.155_4530
+00:05:14.345 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721750488213_223.160.207.155_4530
+00:05:14.346 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify disconnected event to listeners
+00:05:14.346 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+00:05:14.346 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+00:05:15.024 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+00:05:21.056 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+00:05:24.059 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+00:05:27.066 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+00:05:27.820 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Read timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:05:30.072 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+00:05:30.184 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to reconnect to a new server, server is not appointed, will choose a random server.
+00:05:30.184 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:05:31.116 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect a server [106.15.36.123:8848], connectionId = 1721750731207_223.160.207.155_4536
+00:05:31.116 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721750714408_223.160.207.155_4535
+00:05:31.116 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721750714408_223.160.207.155_4535
+00:05:31.117 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify disconnected event to listeners
+00:05:31.117 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+00:05:31.117 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+00:05:33.082 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+00:07:31.035 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connect timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:08:03.996 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:08:36.279 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:09:08.809 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:09:41.169 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:10:14.172 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connect timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:10:46.441 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:11:18.780 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:11:51.073 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:12:23.502 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:12:55.743 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:13:28.545 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:14:00.852 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:14:33.858 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connect timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:14:40.915 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Server healthy check fail, currentConnection = 1721750731207_223.160.207.155_4536
+00:14:40.915 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Try to reconnect to a new server, server is not appointed, will choose a random server.
+00:14:40.916 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:41.150 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Server healthy check fail, currentConnection = 1721750713772_223.160.207.155_4534
+00:14:41.150 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
+00:14:41.151 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:44.041 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:44.269 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:45.714 [nacos-grpc-client-executor-106.15.36.123-570] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Receive server push request, request = ClientDetectionRequest, requestId = 65
+00:14:45.714 [nacos-grpc-client-executor-106.15.36.123-615] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Receive server push request, request = ClientDetectionRequest, requestId = 64
+00:14:45.714 [nacos-grpc-client-executor-106.15.36.123-570] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Ack server push request, request = ClientDetectionRequest, requestId = 65
+00:14:45.714 [nacos-grpc-client-executor-106.15.36.123-615] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Ack server push request, request = ClientDetectionRequest, requestId = 64
+00:14:47.060 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Fail to connect server, after trying 1 times, last try server is {serverIp = '106.15.36.123', server main port = 8848}, error = unknown
+00:14:47.263 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:47.280 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Fail to connect server, after trying 1 times, last try server is {serverIp = '106.15.36.123', server main port = 8848}, error = unknown
+00:14:47.483 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:50.269 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Fail to connect server, after trying 2 times, last try server is {serverIp = '106.15.36.123', server main port = 8848}, error = unknown
+00:14:50.502 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Fail to connect server, after trying 2 times, last try server is {serverIp = '106.15.36.123', server main port = 8848}, error = unknown
+00:14:50.571 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:50.816 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:53.580 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Fail to connect server, after trying 3 times, last try server is {serverIp = '106.15.36.123', server main port = 8848}, error = unknown
+00:14:53.832 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Fail to connect server, after trying 3 times, last try server is {serverIp = '106.15.36.123', server main port = 8848}, error = unknown
+00:14:53.987 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:54.237 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:56.994 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Fail to connect server, after trying 4 times, last try server is {serverIp = '106.15.36.123', server main port = 8848}, error = unknown
+00:14:57.241 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Fail to connect server, after trying 4 times, last try server is {serverIp = '106.15.36.123', server main port = 8848}, error = unknown
+00:14:57.506 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:57.754 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:106.15.36.123 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
+00:14:59.212 [nacos-grpc-client-executor-106.15.36.123-583] INFO c.a.n.c.r.c.g.GrpcClient - [printIfInfoEnabled,63] - [1721750731207_223.160.207.155_4536]Ignore complete event,isRunning:false,isAbandon=false
+00:14:59.599 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Success to connect a server [106.15.36.123:8848], connectionId = 1721751299646_223.160.207.155_4547
+00:14:59.599 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Success to connect a server [106.15.36.123:8848], connectionId = 1721751299647_223.160.207.155_4548
+00:14:59.600 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721750731207_223.160.207.155_4536
+00:14:59.600 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Abandon prev connection, server is 106.15.36.123:8848, connectionId is 1721750713772_223.160.207.155_4534
+00:14:59.600 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721750731207_223.160.207.155_4536
+00:14:59.600 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721750713772_223.160.207.155_4534
+00:14:59.601 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify disconnected event to listeners
+00:14:59.601 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify disconnected event to listeners
+00:14:59.601 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] DisConnected,clear listen context...
+00:14:59.601 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Notify connected event to listeners.
+00:14:59.601 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [9817bad6-bf9f-43be-bdb4-076a9a315dd5_config-0] Connected,notify listen context...
+00:14:59.601 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [e4879cbf-6b29-40dc-b866-6843422e316f] Notify connected event to listeners.
+00:14:59.602 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
+00:15:01.595 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-system
+00:15:06.187 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:15:38.502 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:16:10.875 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:16:43.249 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:17:16.258 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connect timed out), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:17:48.520 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:18:20.851 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:18:53.247 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:19:25.734 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:19:58.031 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,54] - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registry, content=null]
+00:20:07.131 [Thread-12] INFO c.x.j.c.s.EmbedServer - [run,91] - >>>>>>>>>>> xxl-job remoting server stop.
+00:20:09.353 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,90] - >>>>>>>>>>> xxl-job registry-remove fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='cloud-system', registryValue='http://192.168.173.1:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused: no further information), for url : http://47.116.217.95:20800/api/registryRemove, content=null]
+00:20:09.353 [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - [run,105] - >>>>>>>>>>> xxl-job, executor registry thread destroy.
+00:20:09.354 [SpringApplicationShutdownHook] INFO c.x.j.c.s.EmbedServer - [stop,117] - >>>>>>>>>>> xxl-job remoting server destroy success.
+00:20:09.354 [xxl-job, executor JobLogFileCleanThread] INFO c.x.j.c.t.JobLogFileCleanThread - [run,99] - >>>>>>>>>>> xxl-job, executor JobLogFileCleanThread thread destroy.
+00:20:09.355 [xxl-job, executor TriggerCallbackThread] INFO c.x.j.c.t.TriggerCallbackThread - [run,98] - >>>>>>>>>>> xxl-job, executor callback thread destroy.
+00:20:09.355 [Thread-11] INFO c.x.j.c.t.TriggerCallbackThread - [run,128] - >>>>>>>>>>> xxl-job, executor retry callback thread destroy.
+00:20:09.356 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,95] - De-registering from Nacos Server now...
+00:20:09.357 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [deregisterService,272] - [DEREGISTER-SERVICE] 3cc549bc-5e87-4246-a701-7a1edd9b5433 deregistering service cloud-system with instance: Instance{instanceId='null', ip='192.168.173.1', port=9701, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}}
+00:20:09.395 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,115] - De-registration finished.
+00:20:09.398 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,254] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin
+00:20:09.398 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,180] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
+00:20:09.399 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,182] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
+00:20:09.399 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,256] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop
+00:20:09.400 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,204] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin
+00:20:09.400 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,147] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin
+00:20:09.400 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,149] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop
+00:20:09.400 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,218] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin
+00:20:09.401 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,223] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop
+00:20:09.401 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,468] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin
+00:20:09.402 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,470] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop
+00:20:09.402 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,487] - Shutdown naming grpc client proxy for uuid->e4879cbf-6b29-40dc-b866-6843422e316f
+00:20:09.402 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,331] - Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@65b99ae[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 910]
+00:20:09.403 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,425] - Shutdown rpc client, set status to shutdown
+00:20:09.403 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,427] - Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@3a3cfeeb[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
+00:20:09.403 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1721751299646_223.160.207.155_4547
+00:20:09.404 [SpringApplicationShutdownHook] INFO c.a.n.c.r.c.g.GrpcClient - [shutdown,187] - Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@54dea3d5[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 661]
+00:20:09.404 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutDownAndRemove,497] - shutdown and remove naming rpc client for uuid ->e4879cbf-6b29-40dc-b866-6843422e316f
+00:20:09.406 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialWatcher - [stop,107] - [null] CredentialWatcher is stopped
+00:20:09.406 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialService - [free,91] - [null] CredentialService is freed
+00:20:09.407 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,211] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop
+00:20:09.443 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,215] - dynamic-datasource start closing ....
+00:20:09.450 [SpringApplicationShutdownHook] INFO c.a.d.p.DruidDataSource - [close,2204] - {dataSource-1} closing ...
+00:20:09.466 [SpringApplicationShutdownHook] INFO c.a.d.p.DruidDataSource - [close,2277] - {dataSource-1} closed
+00:20:09.467 [SpringApplicationShutdownHook] INFO c.b.d.d.d.DefaultDataSourceDestroyer - [destroy,98] - dynamic-datasource close the datasource named [master] success,
+00:20:09.467 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - [destroy,219] - dynamic-datasource all closed success,bye
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..5d522c2
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,115 @@
+
+
+
+ com.muyu
+ cloud-server-parent
+ 3.6.3
+
+ 4.0.0
+
+ cloud-modules-system
+ 1.0.0
+
+
+ cloud-modules-system系统模块
+
+
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-discovery
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-config
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-sentinel
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-actuator
+
+
+
+
+ com.mysql
+ mysql-connector-j
+
+
+
+
+ com.muyu
+ cloud-common-datasource
+
+
+
+
+ com.muyu
+ cloud-common-datascope
+
+
+
+
+ com.muyu
+ cloud-common-log
+
+
+
+
+ com.muyu
+ cloud-common-api-doc
+
+
+
+
+ com.muyu
+ cloud-common-xxl
+
+
+
+
+ ${project.artifactId}
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+ repackage
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+
+ true
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+
+ true
+
+
+
+
+
+
diff --git a/src/main/java/com/muyu/system/CloudSystemApplication.java b/src/main/java/com/muyu/system/CloudSystemApplication.java
new file mode 100644
index 0000000..b01e5db
--- /dev/null
+++ b/src/main/java/com/muyu/system/CloudSystemApplication.java
@@ -0,0 +1,21 @@
+package com.muyu.system;
+
+import com.muyu.common.security.annotation.EnableCustomConfig;
+import com.muyu.common.security.annotation.EnableMyFeignClients;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+/**
+ * 系统模块
+ *
+ * @author muyu
+ */
+@EnableCustomConfig
+//@EnableCustomSwagger2
+@EnableMyFeignClients
+@SpringBootApplication
+public class CloudSystemApplication {
+ public static void main (String[] args) {
+ SpringApplication.run(CloudSystemApplication.class, args);
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysConfigController.java b/src/main/java/com/muyu/system/controller/SysConfigController.java
new file mode 100644
index 0000000..3bced52
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysConfigController.java
@@ -0,0 +1,122 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.utils.poi.ExcelUtil;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.web.page.TableDataInfo;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.system.domain.SysConfig;
+import com.muyu.system.service.SysConfigService;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.tags.Tag;
+import jakarta.servlet.http.HttpServletResponse;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.Arrays;
+import java.util.List;
+
+/**
+ * 参数配置 信息操作处理
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/config")
+@Tag(name = "SysConfigController", description = "系统参数配置")
+public class SysConfigController extends BaseController {
+
+ @Autowired
+ private SysConfigService configService;
+
+ /**
+ * 获取参数配置列表
+ */
+ @RequiresPermissions("system:config:list")
+ @GetMapping("/list")
+ @Operation(summary = "查询集合", description = "更新水果信息")
+ public Result> list (SysConfig config) {
+ startPage();
+ List list = configService.pageQuery(config);
+ return getDataTable(list);
+ }
+
+ @Log(title = "参数管理", businessType = BusinessType.EXPORT)
+ @RequiresPermissions("system:config:export")
+ @PostMapping("/export")
+ public void export (HttpServletResponse response, SysConfig config) {
+ List list = configService.pageQuery(config);
+ ExcelUtil util = new ExcelUtil(SysConfig.class);
+ util.exportExcel(response, list, "参数数据");
+ }
+
+ /**
+ * 根据参数编号获取详细信息
+ */
+ @GetMapping(value = "/{configId}")
+ public Result getInfo (@PathVariable("configId") Long configId) {
+ return success(configService.getById(configId));
+ }
+
+ /**
+ * 根据参数键名查询参数值
+ */
+ @GetMapping(value = "/configKey/{configKey}")
+ public Result getConfigKey (@PathVariable("configKey") String configKey) {
+ return success(configService.selectConfigByKey(configKey));
+ }
+
+ /**
+ * 新增参数配置
+ */
+ @RequiresPermissions("system:config:add")
+ @Log(title = "参数管理", businessType = BusinessType.INSERT)
+ @PostMapping
+ public Result add (@Validated @RequestBody SysConfig config) {
+ if (!configService.checkConfigKeyUnique(config)) {
+ return error("新增参数'" + config.getConfigName() + "'失败,参数键名已存在");
+ }
+ config.setCreateBy(SecurityUtils.getUsername());
+ return toAjax(configService.save(config));
+ }
+
+ /**
+ * 修改参数配置
+ */
+ @RequiresPermissions("system:config:edit")
+ @Log(title = "参数管理", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public Result edit (@Validated @RequestBody SysConfig config) {
+ if (!configService.checkConfigKeyUnique(config)) {
+ return error("修改参数'" + config.getConfigName() + "'失败,参数键名已存在");
+ }
+ config.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(configService.updateById(config));
+ }
+
+ /**
+ * 删除参数配置
+ */
+ @RequiresPermissions("system:config:remove")
+ @Log(title = "参数管理", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{configIds}")
+ public Result remove (@PathVariable("configIds") Long[] configIds) {
+ configService.removeBatchByIds(Arrays.asList(configIds));
+ return success();
+ }
+
+ /**
+ * 刷新参数缓存
+ */
+ @RequiresPermissions("system:config:remove")
+ @Log(title = "参数管理", businessType = BusinessType.CLEAN)
+ @DeleteMapping("/refreshCache")
+ public Result refreshCache () {
+ configService.resetConfigCache();
+ return success();
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysDeptController.java b/src/main/java/com/muyu/system/controller/SysDeptController.java
new file mode 100644
index 0000000..37e48fc
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysDeptController.java
@@ -0,0 +1,113 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.constant.UserConstants;
+import com.muyu.common.core.utils.StringUtils;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.common.system.domain.SysDept;
+import com.muyu.system.service.SysDeptService;
+import org.apache.commons.lang3.ArrayUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 部门信息
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/dept")
+public class SysDeptController extends BaseController {
+
+ @Autowired
+ private SysDeptService deptService;
+
+ /**
+ * 获取部门列表
+ */
+ @RequiresPermissions("system:dept:list")
+ @GetMapping("/list")
+ public Result list (SysDept dept) {
+ List depts = deptService.selectDeptList(dept);
+ return success(depts);
+ }
+
+ /**
+ * 查询部门列表(排除节点)
+ */
+ @RequiresPermissions("system:dept:list")
+ @GetMapping("/list/exclude/{deptId}")
+ public Result excludeChild (@PathVariable(value = "deptId", required = false) Long deptId) {
+ List depts = deptService.selectDeptList(new SysDept());
+ depts.removeIf(d -> d.getDeptId().intValue() == deptId || ArrayUtils.contains(StringUtils.split(d.getAncestors(), ","), deptId + ""));
+ return success(depts);
+ }
+
+ /**
+ * 根据部门编号获取详细信息
+ */
+ @RequiresPermissions("system:dept:query")
+ @GetMapping(value = "/{deptId}")
+ public Result getInfo (@PathVariable("deptId") Long deptId) {
+ deptService.checkDeptDataScope(deptId);
+ return success(deptService.selectDeptById(deptId));
+ }
+
+ /**
+ * 新增部门
+ */
+ @RequiresPermissions("system:dept:add")
+ @Log(title = "部门管理", businessType = BusinessType.INSERT)
+ @PostMapping
+ public Result add (@Validated @RequestBody SysDept dept) {
+ if (!deptService.checkDeptNameUnique(dept)) {
+ return error("新增部门'" + dept.getDeptName() + "'失败,部门名称已存在");
+ }
+ dept.setCreateBy(SecurityUtils.getUsername());
+ return toAjax(deptService.insertDept(dept));
+ }
+
+ /**
+ * 修改部门
+ */
+ @RequiresPermissions("system:dept:edit")
+ @Log(title = "部门管理", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public Result edit (@Validated @RequestBody SysDept dept) {
+ Long deptId = dept.getDeptId();
+ deptService.checkDeptDataScope(deptId);
+ if (!deptService.checkDeptNameUnique(dept)) {
+ return error("修改部门'" + dept.getDeptName() + "'失败,部门名称已存在");
+ } else if (dept.getParentId().equals(deptId)) {
+ return error("修改部门'" + dept.getDeptName() + "'失败,上级部门不能是自己");
+ } else if (StringUtils.equals(UserConstants.DEPT_DISABLE, dept.getStatus()) && deptService.selectNormalChildrenDeptById(deptId) > 0) {
+ return error("该部门包含未停用的子部门!");
+ }
+ dept.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(deptService.updateDept(dept));
+ }
+
+ /**
+ * 删除部门
+ */
+ @RequiresPermissions("system:dept:remove")
+ @Log(title = "部门管理", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{deptId}")
+ public Result remove (@PathVariable("deptId") Long deptId) {
+ if (deptService.hasChildByDeptId(deptId)) {
+ return warn("存在下级部门,不允许删除");
+ }
+ if (deptService.checkDeptExistUser(deptId)) {
+ return warn("部门存在用户,不允许删除");
+ }
+ deptService.checkDeptDataScope(deptId);
+ return toAjax(deptService.deleteDeptById(deptId));
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysDictDataController.java b/src/main/java/com/muyu/system/controller/SysDictDataController.java
new file mode 100644
index 0000000..f9862d9
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysDictDataController.java
@@ -0,0 +1,107 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.utils.StringUtils;
+import com.muyu.common.core.utils.poi.ExcelUtil;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.web.page.TableDataInfo;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.common.system.domain.SysDictData;
+import com.muyu.system.service.SysDictDataService;
+import com.muyu.system.service.SysDictTypeService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+
+import jakarta.servlet.http.HttpServletResponse;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * 数据字典信息
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/dict/data")
+public class SysDictDataController extends BaseController {
+ @Autowired
+ private SysDictDataService dictDataService;
+
+ @Autowired
+ private SysDictTypeService dictTypeService;
+
+ @RequiresPermissions("system:dict:list")
+ @GetMapping("/list")
+ public Result> list (SysDictData dictData) {
+ startPage();
+ List list = dictDataService.selectDictDataList(dictData);
+ return getDataTable(list);
+ }
+
+ @Log(title = "字典数据", businessType = BusinessType.EXPORT)
+ @RequiresPermissions("system:dict:export")
+ @PostMapping("/export")
+ public void export (HttpServletResponse response, SysDictData dictData) {
+ List list = dictDataService.selectDictDataList(dictData);
+ ExcelUtil util = new ExcelUtil(SysDictData.class);
+ util.exportExcel(response, list, "字典数据");
+ }
+
+ /**
+ * 查询字典数据详细
+ */
+ @RequiresPermissions("system:dict:query")
+ @GetMapping(value = "/{dictCode}")
+ public Result getInfo (@PathVariable("dictCode") Long dictCode) {
+ return success(dictDataService.selectDictDataById(dictCode));
+ }
+
+ /**
+ * 根据字典类型查询字典数据信息
+ */
+ @GetMapping(value = "/type/{dictType}")
+ public Result dictType (@PathVariable("dictType") String dictType) {
+ List data = dictTypeService.selectDictDataByType(dictType);
+ if (StringUtils.isNull(data)) {
+ data = new ArrayList();
+ }
+ return success(data);
+ }
+
+ /**
+ * 新增字典类型
+ */
+ @RequiresPermissions("system:dict:add")
+ @Log(title = "字典数据", businessType = BusinessType.INSERT)
+ @PostMapping
+ public Result add (@Validated @RequestBody SysDictData dict) {
+ dict.setCreateBy(SecurityUtils.getUsername());
+ return toAjax(dictDataService.insertDictData(dict));
+ }
+
+ /**
+ * 修改保存字典类型
+ */
+ @RequiresPermissions("system:dict:edit")
+ @Log(title = "字典数据", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public Result edit (@Validated @RequestBody SysDictData dict) {
+ dict.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(dictDataService.updateDictData(dict));
+ }
+
+ /**
+ * 删除字典类型
+ */
+ @RequiresPermissions("system:dict:remove")
+ @Log(title = "字典类型", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{dictCodes}")
+ public Result remove (@PathVariable("dictCode") Long[] dictCodes) {
+ dictDataService.deleteDictDataByIds(dictCodes);
+ return success();
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysDictTypeController.java b/src/main/java/com/muyu/system/controller/SysDictTypeController.java
new file mode 100644
index 0000000..c4a7b9f
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysDictTypeController.java
@@ -0,0 +1,115 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.utils.poi.ExcelUtil;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.web.page.TableDataInfo;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.common.system.domain.SysDictType;
+import com.muyu.system.service.SysDictTypeService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+
+import jakarta.servlet.http.HttpServletResponse;
+import java.util.List;
+
+/**
+ * 数据字典信息
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/dict/type")
+public class SysDictTypeController extends BaseController {
+ @Autowired
+ private SysDictTypeService dictTypeService;
+
+ @RequiresPermissions("system:dict:list")
+ @GetMapping("/list")
+ public Result> list (SysDictType dictType) {
+ startPage();
+ List list = dictTypeService.selectDictTypeList(dictType);
+ return getDataTable(list);
+ }
+
+ @Log(title = "字典类型", businessType = BusinessType.EXPORT)
+ @RequiresPermissions("system:dict:export")
+ @PostMapping("/export")
+ public void export (HttpServletResponse response, SysDictType dictType) {
+ List list = dictTypeService.selectDictTypeList(dictType);
+ ExcelUtil util = new ExcelUtil(SysDictType.class);
+ util.exportExcel(response, list, "字典类型");
+ }
+
+ /**
+ * 查询字典类型详细
+ */
+ @RequiresPermissions("system:dict:query")
+ @GetMapping(value = "/{dictId}")
+ public Result getInfo (@PathVariable("dictId") Long dictId) {
+ return success(dictTypeService.selectDictTypeById(dictId));
+ }
+
+ /**
+ * 新增字典类型
+ */
+ @RequiresPermissions("system:dict:add")
+ @Log(title = "字典类型", businessType = BusinessType.INSERT)
+ @PostMapping
+ public Result add (@Validated @RequestBody SysDictType dict) {
+ if (!dictTypeService.checkDictTypeUnique(dict)) {
+ return error("新增字典'" + dict.getDictName() + "'失败,字典类型已存在");
+ }
+ dict.setCreateBy(SecurityUtils.getUsername());
+ return toAjax(dictTypeService.insertDictType(dict));
+ }
+
+ /**
+ * 修改字典类型
+ */
+ @RequiresPermissions("system:dict:edit")
+ @Log(title = "字典类型", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public Result edit (@Validated @RequestBody SysDictType dict) {
+ if (!dictTypeService.checkDictTypeUnique(dict)) {
+ return error("修改字典'" + dict.getDictName() + "'失败,字典类型已存在");
+ }
+ dict.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(dictTypeService.updateDictType(dict));
+ }
+
+ /**
+ * 删除字典类型
+ */
+ @RequiresPermissions("system:dict:remove")
+ @Log(title = "字典类型", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{dictIds}")
+ public Result remove (@PathVariable("dictIds") Long[] dictIds) {
+ dictTypeService.deleteDictTypeByIds(dictIds);
+ return success();
+ }
+
+ /**
+ * 刷新字典缓存
+ */
+ @RequiresPermissions("system:dict:remove")
+ @Log(title = "字典类型", businessType = BusinessType.CLEAN)
+ @DeleteMapping("/refreshCache")
+ public Result refreshCache () {
+ dictTypeService.resetDictCache();
+ return success();
+ }
+
+ /**
+ * 获取字典选择框列表
+ */
+ @GetMapping("/optionselect")
+ public Result optionselect () {
+ List dictTypes = dictTypeService.selectDictTypeAll();
+ return success(dictTypes);
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysLogininforController.java b/src/main/java/com/muyu/system/controller/SysLogininforController.java
new file mode 100644
index 0000000..c1e92b7
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysLogininforController.java
@@ -0,0 +1,80 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.constant.CacheConstants;
+import com.muyu.common.core.utils.poi.ExcelUtil;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.web.page.TableDataInfo;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.redis.service.RedisService;
+import com.muyu.common.security.annotation.InnerAuth;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.system.domain.SysLogininfor;
+import com.muyu.system.service.SysLogininforService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import jakarta.servlet.http.HttpServletResponse;
+import java.util.List;
+
+/**
+ * 系统访问记录
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/logininfor")
+public class SysLogininforController extends BaseController {
+ @Autowired
+ private SysLogininforService logininforService;
+
+ @Autowired
+ private RedisService redisService;
+
+ @RequiresPermissions("system:logininfor:list")
+ @GetMapping("/list")
+ public Result> list (SysLogininfor logininfor) {
+ startPage();
+ List list = logininforService.selectLogininforList(logininfor);
+ return getDataTable(list);
+ }
+
+ @Log(title = "登录日志", businessType = BusinessType.EXPORT)
+ @RequiresPermissions("system:logininfor:export")
+ @PostMapping("/export")
+ public void export (HttpServletResponse response, SysLogininfor logininfor) {
+ List list = logininforService.selectLogininforList(logininfor);
+ ExcelUtil util = new ExcelUtil(SysLogininfor.class);
+ util.exportExcel(response, list, "登录日志");
+ }
+
+ @RequiresPermissions("system:logininfor:remove")
+ @Log(title = "登录日志", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{infoIds}")
+ public Result remove (@PathVariable("infoIds") Long[] infoIds) {
+ return toAjax(logininforService.deleteLogininforByIds(infoIds));
+ }
+
+ @RequiresPermissions("system:logininfor:remove")
+ @Log(title = "登录日志", businessType = BusinessType.DELETE)
+ @DeleteMapping("/clean")
+ public Result clean () {
+ logininforService.cleanLogininfor();
+ return success();
+ }
+
+ @RequiresPermissions("system:logininfor:unlock")
+ @Log(title = "账户解锁", businessType = BusinessType.OTHER)
+ @GetMapping("/unlock/{userName}")
+ public Result unlock (@PathVariable("userName") String userName) {
+ redisService.deleteObject(CacheConstants.PWD_ERR_CNT_KEY + userName);
+ return success();
+ }
+
+ @InnerAuth
+ @PostMapping
+ public Result add (@RequestBody SysLogininfor logininfor) {
+ return toAjax(logininforService.insertLogininfor(logininfor));
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysMenuController.java b/src/main/java/com/muyu/system/controller/SysMenuController.java
new file mode 100644
index 0000000..e5ae348
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysMenuController.java
@@ -0,0 +1,137 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.constant.UserConstants;
+import com.muyu.common.core.utils.StringUtils;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.system.domain.SysMenu;
+import com.muyu.system.domain.resp.RoleMenuTreeResp;
+import com.muyu.system.service.SysMenuService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 菜单信息
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/menu")
+public class SysMenuController extends BaseController {
+ @Autowired
+ private SysMenuService menuService;
+
+ /**
+ * 获取菜单列表
+ */
+ @RequiresPermissions("system:menu:list")
+ @GetMapping("/list")
+ public Result list (SysMenu menu) {
+ Long userId = SecurityUtils.getUserId();
+ List menus = menuService.selectMenuList(menu, userId);
+ return success(menus);
+ }
+
+ /**
+ * 根据菜单编号获取详细信息
+ */
+ @RequiresPermissions("system:menu:query")
+ @GetMapping(value = "/{menuId}")
+ public Result getInfo (@PathVariable("menuId") Long menuId) {
+ return success(menuService.selectMenuById(menuId));
+ }
+
+ /**
+ * 获取菜单下拉树列表
+ */
+ @GetMapping("/treeselect")
+ public Result treeselect (SysMenu menu) {
+ Long userId = SecurityUtils.getUserId();
+ List menus = menuService.selectMenuList(menu, userId);
+ return success(menuService.buildMenuTreeSelect(menus));
+ }
+
+ /**
+ * 加载对应角色菜单列表树
+ */
+ @GetMapping(value = "/roleMenuTreeselect/{roleId}")
+ public Result roleMenuTreeselect (@PathVariable("roleId") Long roleId) {
+ Long userId = SecurityUtils.getUserId();
+ List menus = menuService.selectMenuList(userId);
+ return Result.success(
+ RoleMenuTreeResp.builder()
+ .menus(menuService.buildMenuTreeSelect(menus))
+ .checkedKeys(menuService.selectMenuListByRoleId(roleId))
+ .build()
+ );
+ }
+
+ /**
+ * 新增菜单
+ */
+ @RequiresPermissions("system:menu:add")
+ @Log(title = "菜单管理", businessType = BusinessType.INSERT)
+ @PostMapping
+ public Result add (@Validated @RequestBody SysMenu menu) {
+ if (!menuService.checkMenuNameUnique(menu)) {
+ return error("新增菜单'" + menu.getMenuName() + "'失败,菜单名称已存在");
+ } else if (UserConstants.YES_FRAME.equals(menu.getIsFrame()) && !StringUtils.ishttp(menu.getPath())) {
+ return error("新增菜单'" + menu.getMenuName() + "'失败,地址必须以http(s)://开头");
+ }
+ menu.setCreateBy(SecurityUtils.getUsername());
+ return toAjax(menuService.insertMenu(menu));
+ }
+
+ /**
+ * 修改菜单
+ */
+ @RequiresPermissions("system:menu:edit")
+ @Log(title = "菜单管理", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public Result edit (@Validated @RequestBody SysMenu menu) {
+ if (!menuService.checkMenuNameUnique(menu)) {
+ return error("修改菜单'" + menu.getMenuName() + "'失败,菜单名称已存在");
+ } else if (UserConstants.YES_FRAME.equals(menu.getIsFrame()) && !StringUtils.ishttp(menu.getPath())) {
+ return error("修改菜单'" + menu.getMenuName() + "'失败,地址必须以http(s)://开头");
+ } else if (menu.getMenuId().equals(menu.getParentId())) {
+ return error("修改菜单'" + menu.getMenuName() + "'失败,上级菜单不能选择自己");
+ }
+ menu.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(menuService.updateMenu(menu));
+ }
+
+ /**
+ * 删除菜单
+ */
+ @RequiresPermissions("system:menu:remove")
+ @Log(title = "菜单管理", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{menuId}")
+ public Result remove (@PathVariable("menuId") Long menuId) {
+ if (menuService.hasChildByMenuId(menuId)) {
+ return warn("存在子菜单,不允许删除");
+ }
+ if (menuService.checkMenuExistRole(menuId)) {
+ return warn("菜单已分配,不允许删除");
+ }
+ return toAjax(menuService.deleteMenuById(menuId));
+ }
+
+ /**
+ * 获取路由信息
+ *
+ * @return 路由信息
+ */
+ @GetMapping("getRouters")
+ public Result getRouters () {
+ Long userId = SecurityUtils.getUserId();
+ List menus = menuService.selectMenuTreeByUserId(userId);
+ return success(menuService.buildMenus(menus));
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysNoticeController.java b/src/main/java/com/muyu/system/controller/SysNoticeController.java
new file mode 100644
index 0000000..e6b9ede
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysNoticeController.java
@@ -0,0 +1,80 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.web.page.TableDataInfo;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.system.domain.SysNotice;
+import com.muyu.system.service.SysNoticeService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 公告 信息操作处理
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/notice")
+public class SysNoticeController extends BaseController {
+ @Autowired
+ private SysNoticeService noticeService;
+
+ /**
+ * 获取通知公告列表
+ */
+ @RequiresPermissions("system:notice:list")
+ @GetMapping("/list")
+ public Result> list (SysNotice notice) {
+ startPage();
+ List list = noticeService.selectNoticeList(notice);
+ return getDataTable(list);
+ }
+
+ /**
+ * 根据通知公告编号获取详细信息
+ */
+ @RequiresPermissions("system:notice:query")
+ @GetMapping(value = "/{noticeId}")
+ public Result getInfo (@PathVariable("noticeId") Long noticeId) {
+ return success(noticeService.selectNoticeById(noticeId));
+ }
+
+ /**
+ * 新增通知公告
+ */
+ @RequiresPermissions("system:notice:add")
+ @Log(title = "通知公告", businessType = BusinessType.INSERT)
+ @PostMapping
+ public Result add (@Validated @RequestBody SysNotice notice) {
+ notice.setCreateBy(SecurityUtils.getUsername());
+ return toAjax(noticeService.insertNotice(notice));
+ }
+
+ /**
+ * 修改通知公告
+ */
+ @RequiresPermissions("system:notice:edit")
+ @Log(title = "通知公告", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public Result edit (@Validated @RequestBody SysNotice notice) {
+ notice.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(noticeService.updateNotice(notice));
+ }
+
+ /**
+ * 删除通知公告
+ */
+ @RequiresPermissions("system:notice:remove")
+ @Log(title = "通知公告", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{noticeIds}")
+ public Result remove (@PathVariable("noticeIds") Long[] noticeIds) {
+ return toAjax(noticeService.deleteNoticeByIds(noticeIds));
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysOperlogController.java b/src/main/java/com/muyu/system/controller/SysOperlogController.java
new file mode 100644
index 0000000..bb00d1d
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysOperlogController.java
@@ -0,0 +1,67 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.utils.poi.ExcelUtil;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.web.page.TableDataInfo;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.annotation.InnerAuth;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.system.domain.SysOperLog;
+import com.muyu.system.service.SysOperLogService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import jakarta.servlet.http.HttpServletResponse;
+import java.util.List;
+
+/**
+ * 操作日志记录
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/operlog")
+public class SysOperlogController extends BaseController {
+ @Autowired
+ private SysOperLogService operLogService;
+
+ @RequiresPermissions("system:operlog:list")
+ @GetMapping("/list")
+ public Result> list (SysOperLog operLog) {
+ startPage();
+ List list = operLogService.selectOperLogList(operLog);
+ return getDataTable(list);
+ }
+
+ @Log(title = "操作日志", businessType = BusinessType.EXPORT)
+ @RequiresPermissions("system:operlog:export")
+ @PostMapping("/export")
+ public void export (HttpServletResponse response, SysOperLog operLog) {
+ List list = operLogService.selectOperLogList(operLog);
+ ExcelUtil util = new ExcelUtil(SysOperLog.class);
+ util.exportExcel(response, list, "操作日志");
+ }
+
+ @Log(title = "操作日志", businessType = BusinessType.DELETE)
+ @RequiresPermissions("system:operlog:remove")
+ @DeleteMapping("/{operIds}")
+ public Result remove (@PathVariable("operIds") Long[] operIds) {
+ return toAjax(operLogService.deleteOperLogByIds(operIds));
+ }
+
+ @RequiresPermissions("system:operlog:remove")
+ @Log(title = "操作日志", businessType = BusinessType.CLEAN)
+ @DeleteMapping("/clean")
+ public Result clean () {
+ operLogService.cleanOperLog();
+ return success();
+ }
+
+ @InnerAuth
+ @PostMapping
+ public Result add (@RequestBody SysOperLog operLog) {
+ return toAjax(operLogService.insertOperlog(operLog));
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysPostController.java b/src/main/java/com/muyu/system/controller/SysPostController.java
new file mode 100644
index 0000000..79f3f47
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysPostController.java
@@ -0,0 +1,110 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.utils.poi.ExcelUtil;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.web.page.TableDataInfo;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.system.domain.SysPost;
+import com.muyu.system.service.SysPostService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+
+import jakarta.servlet.http.HttpServletResponse;
+import java.util.List;
+
+/**
+ * 岗位信息操作处理
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/post")
+public class SysPostController extends BaseController {
+ @Autowired
+ private SysPostService postService;
+
+ /**
+ * 获取岗位列表
+ */
+ @RequiresPermissions("system:post:list")
+ @GetMapping("/list")
+ public Result> list (SysPost post) {
+ startPage();
+ List list = postService.selectPostList(post);
+ return getDataTable(list);
+ }
+
+ @Log(title = "岗位管理", businessType = BusinessType.EXPORT)
+ @RequiresPermissions("system:post:export")
+ @PostMapping("/export")
+ public void export (HttpServletResponse response, SysPost post) {
+ List list = postService.selectPostList(post);
+ ExcelUtil util = new ExcelUtil(SysPost.class);
+ util.exportExcel(response, list, "岗位数据");
+ }
+
+ /**
+ * 根据岗位编号获取详细信息
+ */
+ @RequiresPermissions("system:post:query")
+ @GetMapping(value = "/{postId}")
+ public Result getInfo (@PathVariable("postId") Long postId) {
+ return success(postService.selectPostById(postId));
+ }
+
+ /**
+ * 新增岗位
+ */
+ @RequiresPermissions("system:post:add")
+ @Log(title = "岗位管理", businessType = BusinessType.INSERT)
+ @PostMapping
+ public Result add (@Validated @RequestBody SysPost post) {
+ if (!postService.checkPostNameUnique(post)) {
+ return error("新增岗位'" + post.getPostName() + "'失败,岗位名称已存在");
+ } else if (!postService.checkPostCodeUnique(post)) {
+ return error("新增岗位'" + post.getPostName() + "'失败,岗位编码已存在");
+ }
+ post.setCreateBy(SecurityUtils.getUsername());
+ return toAjax(postService.insertPost(post));
+ }
+
+ /**
+ * 修改岗位
+ */
+ @RequiresPermissions("system:post:edit")
+ @Log(title = "岗位管理", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public Result edit (@Validated @RequestBody SysPost post) {
+ if (!postService.checkPostNameUnique(post)) {
+ return error("修改岗位'" + post.getPostName() + "'失败,岗位名称已存在");
+ } else if (!postService.checkPostCodeUnique(post)) {
+ return error("修改岗位'" + post.getPostName() + "'失败,岗位编码已存在");
+ }
+ post.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(postService.updatePost(post));
+ }
+
+ /**
+ * 删除岗位
+ */
+ @RequiresPermissions("system:post:remove")
+ @Log(title = "岗位管理", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{postIds}")
+ public Result remove (@PathVariable("postIds") Long[] postIds) {
+ return toAjax(postService.deletePostByIds(postIds));
+ }
+
+ /**
+ * 获取岗位选择框列表
+ */
+ @GetMapping("/optionselect")
+ public Result optionselect () {
+ List posts = postService.selectPostAll();
+ return success(posts);
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysProfileController.java b/src/main/java/com/muyu/system/controller/SysProfileController.java
new file mode 100644
index 0000000..ae49255
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysProfileController.java
@@ -0,0 +1,134 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.utils.StringUtils;
+import com.muyu.common.core.utils.file.FileTypeUtils;
+import com.muyu.common.core.utils.file.MimeTypeUtils;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.service.TokenService;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.common.system.remote.RemoteFileService;
+import com.muyu.common.system.domain.SysFile;
+import com.muyu.common.system.domain.SysUser;
+import com.muyu.common.system.domain.LoginUser;
+import com.muyu.system.domain.resp.ProfileResp;
+import com.muyu.system.service.SysUserService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+
+import java.util.Arrays;
+
+/**
+ * 个人信息 业务处理
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/user/profile")
+public class SysProfileController extends BaseController {
+ @Autowired
+ private SysUserService userService;
+
+ @Autowired
+ private TokenService tokenService;
+
+ @Autowired
+ private RemoteFileService remoteFileService;
+
+ /**
+ * 个人信息
+ */
+ @GetMapping
+ public Result profile () {
+ String username = SecurityUtils.getUsername();
+ SysUser user = userService.selectUserByUserName(username);
+ return Result.success(
+ ProfileResp.builder()
+ .roleGroup( userService.selectUserRoleGroup(username) )
+ .postGroup( userService.selectUserPostGroup(username) )
+ .sysUser(user)
+ .build()
+ );
+ }
+
+ /**
+ * 修改用户
+ */
+ @Log(title = "个人信息", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public Result updateProfile (@RequestBody SysUser user) {
+ LoginUser loginUser = SecurityUtils.getLoginUser();
+ SysUser currentUser = loginUser.getSysUser();
+ currentUser.setNickName(user.getNickName());
+ currentUser.setEmail(user.getEmail());
+ currentUser.setPhonenumber(user.getPhonenumber());
+ currentUser.setSex(user.getSex());
+ if (StringUtils.isNotEmpty(user.getPhonenumber()) && !userService.checkPhoneUnique(currentUser)) {
+ return error("修改用户'" + user.getUserName() + "'失败,手机号码已存在");
+ }
+ if (StringUtils.isNotEmpty(user.getEmail()) && !userService.checkEmailUnique(currentUser)) {
+ return error("修改用户'" + user.getUserName() + "'失败,邮箱账号已存在");
+ }
+ if (userService.updateUserProfile(currentUser) > 0) {
+ // 更新缓存用户信息
+ tokenService.setLoginUser(loginUser);
+ return success();
+ }
+ return error("修改个人信息异常,请联系管理员");
+ }
+
+ /**
+ * 重置密码
+ */
+ @Log(title = "个人信息", businessType = BusinessType.UPDATE)
+ @PutMapping("/updatePwd")
+ public Result updatePwd (String oldPassword, String newPassword) {
+ String username = SecurityUtils.getUsername();
+ SysUser user = userService.selectUserByUserName(username);
+ String password = user.getPassword();
+ if (!SecurityUtils.matchesPassword(oldPassword, password)) {
+ return error("修改密码失败,旧密码错误");
+ }
+ if (SecurityUtils.matchesPassword(newPassword, password)) {
+ return error("新密码不能与旧密码相同");
+ }
+ if (userService.resetUserPwd(username, SecurityUtils.encryptPassword(newPassword)) > 0) {
+ // 更新缓存用户密码
+ LoginUser loginUser = SecurityUtils.getLoginUser();
+ loginUser.getSysUser().setPassword(SecurityUtils.encryptPassword(newPassword));
+ tokenService.setLoginUser(loginUser);
+ return success();
+ }
+ return error("修改密码异常,请联系管理员");
+ }
+
+ /**
+ * 头像上传
+ */
+ @Log(title = "用户头像", businessType = BusinessType.UPDATE)
+ @PostMapping("/avatar")
+ public Result avatar (@RequestParam("avatarfile") MultipartFile file) {
+ if (!file.isEmpty()) {
+ LoginUser loginUser = SecurityUtils.getLoginUser();
+ String extension = FileTypeUtils.getExtension(file);
+ if (!StringUtils.equalsAnyIgnoreCase(extension, MimeTypeUtils.IMAGE_EXTENSION)) {
+ return error("文件格式不正确,请上传" + Arrays.toString(MimeTypeUtils.IMAGE_EXTENSION) + "格式");
+ }
+ Result fileResult = remoteFileService.upload(file);
+ if (StringUtils.isNull(fileResult) || StringUtils.isNull(fileResult.getData())) {
+ return error("文件服务异常,请联系管理员");
+ }
+ String url = fileResult.getData().getUrl();
+ if (userService.updateUserAvatar(loginUser.getUsername(), url)) {
+ // 更新缓存用户头像
+ loginUser.getSysUser().setAvatar(url);
+ tokenService.setLoginUser(loginUser);
+ return Result.success(url);
+ }
+ }
+ return error("上传图片异常,请联系管理员");
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysRoleController.java b/src/main/java/com/muyu/system/controller/SysRoleController.java
new file mode 100644
index 0000000..f8b05ad
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysRoleController.java
@@ -0,0 +1,215 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.utils.poi.ExcelUtil;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.web.page.TableDataInfo;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.common.system.domain.SysDept;
+import com.muyu.common.system.domain.SysRole;
+import com.muyu.common.system.domain.SysUser;
+import com.muyu.system.domain.SysUserRole;
+import com.muyu.system.domain.resp.DeptTreeResp;
+import com.muyu.system.service.SysDeptService;
+import com.muyu.system.service.SysRoleService;
+import com.muyu.system.service.SysUserService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+
+import jakarta.servlet.http.HttpServletResponse;
+import java.util.List;
+
+/**
+ * 角色信息
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/role")
+public class SysRoleController extends BaseController {
+ @Autowired
+ private SysRoleService roleService;
+
+ @Autowired
+ private SysUserService userService;
+
+ @Autowired
+ private SysDeptService deptService;
+
+ @RequiresPermissions("system:role:list")
+ @GetMapping("/list")
+ public Result> list (SysRole role) {
+ startPage();
+ List list = roleService.selectRoleList(role);
+ return getDataTable(list);
+ }
+
+ @Log(title = "角色管理", businessType = BusinessType.EXPORT)
+ @RequiresPermissions("system:role:export")
+ @PostMapping("/export")
+ public void export (HttpServletResponse response, SysRole role) {
+ List list = roleService.selectRoleList(role);
+ ExcelUtil util = new ExcelUtil(SysRole.class);
+ util.exportExcel(response, list, "角色数据");
+ }
+
+ /**
+ * 根据角色编号获取详细信息
+ */
+ @RequiresPermissions("system:role:query")
+ @GetMapping(value = "/{roleId}")
+ public Result getInfo (@PathVariable("roleId") Long roleId) {
+ roleService.checkRoleDataScope(roleId);
+ return success(roleService.selectRoleById(roleId));
+ }
+
+ /**
+ * 新增角色
+ */
+ @RequiresPermissions("system:role:add")
+ @Log(title = "角色管理", businessType = BusinessType.INSERT)
+ @PostMapping
+ public Result add (@Validated @RequestBody SysRole role) {
+ if (!roleService.checkRoleNameUnique(role)) {
+ return error("新增角色'" + role.getRoleName() + "'失败,角色名称已存在");
+ } else if (!roleService.checkRoleKeyUnique(role)) {
+ return error("新增角色'" + role.getRoleName() + "'失败,角色权限已存在");
+ }
+ role.setCreateBy(SecurityUtils.getUsername());
+ return toAjax(roleService.insertRole(role));
+
+ }
+
+ /**
+ * 修改保存角色
+ */
+ @RequiresPermissions("system:role:edit")
+ @Log(title = "角色管理", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public Result edit (@Validated @RequestBody SysRole role) {
+ roleService.checkRoleAllowed(role);
+ roleService.checkRoleDataScope(role.getRoleId());
+ if (!roleService.checkRoleNameUnique(role)) {
+ return error("修改角色'" + role.getRoleName() + "'失败,角色名称已存在");
+ } else if (!roleService.checkRoleKeyUnique(role)) {
+ return error("修改角色'" + role.getRoleName() + "'失败,角色权限已存在");
+ }
+ role.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(roleService.updateRole(role));
+ }
+
+ /**
+ * 修改保存数据权限
+ */
+ @RequiresPermissions("system:role:edit")
+ @Log(title = "角色管理", businessType = BusinessType.UPDATE)
+ @PutMapping("/dataScope")
+ public Result dataScope (@RequestBody SysRole role) {
+ roleService.checkRoleAllowed(role);
+ roleService.checkRoleDataScope(role.getRoleId());
+ return toAjax(roleService.authDataScope(role));
+ }
+
+ /**
+ * 状态修改
+ */
+ @RequiresPermissions("system:role:edit")
+ @Log(title = "角色管理", businessType = BusinessType.UPDATE)
+ @PutMapping("/changeStatus")
+ public Result changeStatus (@RequestBody SysRole role) {
+ roleService.checkRoleAllowed(role);
+ roleService.checkRoleDataScope(role.getRoleId());
+ role.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(roleService.updateRoleStatus(role));
+ }
+
+ /**
+ * 删除角色
+ */
+ @RequiresPermissions("system:role:remove")
+ @Log(title = "角色管理", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{roleIds}")
+ public Result remove (@PathVariable("roleIds") Long[] roleIds) {
+ return toAjax(roleService.deleteRoleByIds(roleIds));
+ }
+
+ /**
+ * 获取角色选择框列表
+ */
+ @RequiresPermissions("system:role:query")
+ @GetMapping("/optionselect")
+ public Result optionselect () {
+ return success(roleService.selectRoleAll());
+ }
+
+ /**
+ * 查询已分配用户角色列表
+ */
+ @RequiresPermissions("system:role:list")
+ @GetMapping("/authUser/allocatedList")
+ public Result> allocatedList (SysUser user) {
+ startPage();
+ List list = userService.selectAllocatedList(user);
+ return getDataTable(list);
+ }
+
+ /**
+ * 查询未分配用户角色列表
+ */
+ @RequiresPermissions("system:role:list")
+ @GetMapping("/authUser/unallocatedList")
+ public Result> unallocatedList (SysUser user) {
+ startPage();
+ List list = userService.selectUnallocatedList(user);
+ return getDataTable(list);
+ }
+
+ /**
+ * 取消授权用户
+ */
+ @RequiresPermissions("system:role:edit")
+ @Log(title = "角色管理", businessType = BusinessType.GRANT)
+ @PutMapping("/authUser/cancel")
+ public Result cancelAuthUser (@RequestBody SysUserRole userRole) {
+ return toAjax(roleService.deleteAuthUser(userRole));
+ }
+
+ /**
+ * 批量取消授权用户
+ */
+ @RequiresPermissions("system:role:edit")
+ @Log(title = "角色管理", businessType = BusinessType.GRANT)
+ @PutMapping("/authUser/cancelAll")
+ public Result cancelAuthUserAll (Long roleId, Long[] userIds) {
+ return toAjax(roleService.deleteAuthUsers(roleId, userIds));
+ }
+
+ /**
+ * 批量选择用户授权
+ */
+ @RequiresPermissions("system:role:edit")
+ @Log(title = "角色管理", businessType = BusinessType.GRANT)
+ @PutMapping("/authUser/selectAll")
+ public Result selectAuthUserAll (Long roleId, Long[] userIds) {
+ roleService.checkRoleDataScope(roleId);
+ return toAjax(roleService.insertAuthUsers(roleId, userIds));
+ }
+
+ /**
+ * 获取对应角色部门树列表
+ */
+ @RequiresPermissions("system:role:query")
+ @GetMapping(value = "/deptTree/{roleId}")
+ public Result deptTree (@PathVariable("roleId") Long roleId) {
+ return Result.success(
+ DeptTreeResp.builder()
+ .depts(deptService.selectDeptTreeList(new SysDept()))
+ .checkedKeys(deptService.selectDeptListByRoleId(roleId))
+ .build()
+ );
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysUserController.java b/src/main/java/com/muyu/system/controller/SysUserController.java
new file mode 100644
index 0000000..bc0b5fe
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysUserController.java
@@ -0,0 +1,293 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.utils.StringUtils;
+import com.muyu.common.core.utils.poi.ExcelUtil;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.web.page.TableDataInfo;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.security.annotation.InnerAuth;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.common.system.domain.SysDept;
+import com.muyu.common.system.domain.SysRole;
+import com.muyu.common.system.domain.SysUser;
+import com.muyu.common.system.domain.LoginUser;
+import com.muyu.system.domain.resp.AuthRoleResp;
+import com.muyu.system.domain.resp.UserDetailInfoResp;
+import com.muyu.system.domain.resp.UserInfoResp;
+import com.muyu.system.service.*;
+import org.apache.commons.lang3.ArrayUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+
+import jakarta.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.util.List;
+import java.util.Set;
+import java.util.stream.Collectors;
+
+/**
+ * 用户信息
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/user")
+public class SysUserController extends BaseController {
+ @Autowired
+ private SysUserService userService;
+
+ @Autowired
+ private SysRoleService roleService;
+
+ @Autowired
+ private SysDeptService deptService;
+
+ @Autowired
+ private SysPostService postService;
+
+ @Autowired
+ private SysPermissionService permissionService;
+
+ @Autowired
+ private SysConfigService configService;
+
+ /**
+ * 获取用户列表
+ */
+ @RequiresPermissions("system:user:list")
+ @GetMapping("/list")
+ public Result> list (SysUser user) {
+ startPage();
+ List list = userService.selectUserList(user);
+ return getDataTable(list);
+ }
+
+ @Log(title = "用户管理", businessType = BusinessType.EXPORT)
+ @RequiresPermissions("system:user:export")
+ @PostMapping("/export")
+ public void export (HttpServletResponse response, SysUser user) {
+ List list = userService.selectUserList(user);
+ ExcelUtil util = new ExcelUtil(SysUser.class);
+ util.exportExcel(response, list, "用户数据");
+ }
+
+ @Log(title = "用户管理", businessType = BusinessType.IMPORT)
+ @RequiresPermissions("system:user:import")
+ @PostMapping("/importData")
+ public Result importData (MultipartFile file, boolean updateSupport) throws Exception {
+ ExcelUtil util = new ExcelUtil(SysUser.class);
+ List userList = util.importExcel(file.getInputStream());
+ String operName = SecurityUtils.getUsername();
+ String message = userService.importUser(userList, updateSupport, operName);
+ return success(message);
+ }
+
+ @PostMapping("/importTemplate")
+ public void importTemplate (HttpServletResponse response) throws IOException {
+ ExcelUtil util = new ExcelUtil(SysUser.class);
+ util.importTemplateExcel(response, "用户数据");
+ }
+
+ /**
+ * 获取当前用户信息
+ */
+ @InnerAuth
+ @GetMapping("/info/{username}")
+ public Result info (@PathVariable("username") String username) {
+ SysUser sysUser = userService.selectUserByUserName(username);
+ if (StringUtils.isNull(sysUser)) {
+ return Result.error("用户名或密码错误");
+ }
+ // 角色集合
+ Set roles = permissionService.getRolePermission(sysUser);
+ // 权限集合
+ Set permissions = permissionService.getMenuPermission(sysUser);
+ LoginUser sysUserVo = new LoginUser();
+ sysUserVo.setSysUser(sysUser);
+ sysUserVo.setRoles(roles);
+ sysUserVo.setPermissions(permissions);
+ return Result.success(sysUserVo);
+ }
+
+ /**
+ * 注册用户信息
+ */
+ @InnerAuth
+ @PostMapping("/register")
+ public Result register (@RequestBody SysUser sysUser) {
+ String username = sysUser.getUserName();
+ if (!("true".equals(configService.selectConfigByKey("sys.account.registerUser")))) {
+ return Result.error("当前系统没有开启注册功能!");
+ }
+ if (!userService.checkUserNameUnique(sysUser)) {
+ return Result.error("保存用户'" + username + "'失败,注册账号已存在");
+ }
+ return Result.success(userService.registerUser(sysUser));
+ }
+
+ /**
+ * 获取用户信息
+ *
+ * @return 用户信息
+ */
+ @GetMapping("getInfo")
+ public Result getInfo () {
+ SysUser user = userService.selectUserById(SecurityUtils.getUserId());
+ // 角色集合
+ Set roles = permissionService.getRolePermission(user);
+ // 权限集合
+ Set permissions = permissionService.getMenuPermission(user);
+
+ return Result.success(
+ UserInfoResp.builder()
+ .user(user)
+ .roles(roles)
+ .permissions(permissions)
+ .build()
+ );
+ }
+
+ /**
+ * 根据用户编号获取详细信息
+ */
+ @RequiresPermissions("system:user:query")
+ @GetMapping(value = {"/", "/{userId}"})
+ public Result getInfo (@PathVariable(value = "userId", required = false) Long userId) {
+ userService.checkUserDataScope(userId);
+ UserDetailInfoResp.UserDetailInfoRespBuilder, ?> builder = UserDetailInfoResp.builder();
+ List roles = roleService.selectRoleAll();
+ builder.roles(
+ SysUser.isAdmin(userId) ? roles : roles.stream().filter(r -> !r.isAdmin()).collect(Collectors.toList())
+ )
+ .posts( postService.selectPostAll() );
+ if (StringUtils.isNotNull(userId)) {
+ SysUser sysUser = userService.selectUserById(userId);
+ builder.sysUser(sysUser)
+ .postIds(postService.selectPostListByUserId(userId))
+ .roleIds(sysUser.getRoles().stream().map(SysRole::getRoleId).collect(Collectors.toList()))
+ .build();
+ }
+ return Result.success(builder.build());
+ }
+
+ /**
+ * 新增用户
+ */
+ @RequiresPermissions("system:user:add")
+ @Log(title = "用户管理", businessType = BusinessType.INSERT)
+ @PostMapping
+ public Result add (@Validated @RequestBody SysUser user) {
+ if (!userService.checkUserNameUnique(user)) {
+ return error("新增用户'" + user.getUserName() + "'失败,登录账号已存在");
+ } else if (StringUtils.isNotEmpty(user.getPhonenumber()) && !userService.checkPhoneUnique(user)) {
+ return error("新增用户'" + user.getUserName() + "'失败,手机号码已存在");
+ } else if (StringUtils.isNotEmpty(user.getEmail()) && !userService.checkEmailUnique(user)) {
+ return error("新增用户'" + user.getUserName() + "'失败,邮箱账号已存在");
+ }
+ user.setCreateBy(SecurityUtils.getUsername());
+ user.setPassword(SecurityUtils.encryptPassword(user.getPassword()));
+ return toAjax(userService.insertUser(user));
+ }
+
+ /**
+ * 修改用户
+ */
+ @RequiresPermissions("system:user:edit")
+ @Log(title = "用户管理", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public Result edit (@Validated @RequestBody SysUser user) {
+ userService.checkUserAllowed(user);
+ userService.checkUserDataScope(user.getUserId());
+ if (!userService.checkUserNameUnique(user)) {
+ return error("修改用户'" + user.getUserName() + "'失败,登录账号已存在");
+ } else if (StringUtils.isNotEmpty(user.getPhonenumber()) && !userService.checkPhoneUnique(user)) {
+ return error("修改用户'" + user.getUserName() + "'失败,手机号码已存在");
+ } else if (StringUtils.isNotEmpty(user.getEmail()) && !userService.checkEmailUnique(user)) {
+ return error("修改用户'" + user.getUserName() + "'失败,邮箱账号已存在");
+ }
+ user.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(userService.updateUser(user));
+ }
+
+ /**
+ * 删除用户
+ */
+ @RequiresPermissions("system:user:remove")
+ @Log(title = "用户管理", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{userIds}")
+ public Result remove (@PathVariable("userIds") Long[] userIds) {
+ if (ArrayUtils.contains(userIds, SecurityUtils.getUserId())) {
+ return error("当前用户不能删除");
+ }
+ return toAjax(userService.deleteUserByIds(userIds));
+ }
+
+ /**
+ * 重置密码
+ */
+ @RequiresPermissions("system:user:edit")
+ @Log(title = "用户管理", businessType = BusinessType.UPDATE)
+ @PutMapping("/resetPwd")
+ public Result resetPwd (@RequestBody SysUser user) {
+ userService.checkUserAllowed(user);
+ userService.checkUserDataScope(user.getUserId());
+ user.setPassword(SecurityUtils.encryptPassword(user.getPassword()));
+ user.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(userService.resetPwd(user));
+ }
+
+ /**
+ * 状态修改
+ */
+ @RequiresPermissions("system:user:edit")
+ @Log(title = "用户管理", businessType = BusinessType.UPDATE)
+ @PutMapping("/changeStatus")
+ public Result changeStatus (@RequestBody SysUser user) {
+ userService.checkUserAllowed(user);
+ userService.checkUserDataScope(user.getUserId());
+ user.setUpdateBy(SecurityUtils.getUsername());
+ return toAjax(userService.updateUserStatus(user));
+ }
+
+ /**
+ * 根据用户编号获取授权角色
+ */
+ @RequiresPermissions("system:user:query")
+ @GetMapping("/authRole/{userId}")
+ public Result authRole (@PathVariable("userId") Long userId) {
+ SysUser user = userService.selectUserById(userId);
+ List roles = roleService.selectRolesByUserId(userId);
+ return Result.success(
+ AuthRoleResp.builder()
+ .roles(SysUser.isAdmin(userId) ? roles : roles.stream().filter(r -> !r.isAdmin()).collect(Collectors.toList()))
+ .user(user)
+ .build()
+ );
+ }
+
+ /**
+ * 用户授权角色
+ */
+ @RequiresPermissions("system:user:edit")
+ @Log(title = "用户管理", businessType = BusinessType.GRANT)
+ @PutMapping("/authRole")
+ public Result insertAuthRole (Long userId, Long[] roleIds) {
+ userService.checkUserDataScope(userId);
+ userService.insertUserAuth(userId, roleIds);
+ return success();
+ }
+
+ /**
+ * 获取部门树列表
+ */
+ @RequiresPermissions("system:user:list")
+ @GetMapping("/deptTree")
+ public Result deptTree (SysDept dept) {
+ return success(deptService.selectDeptTreeList(dept));
+ }
+}
diff --git a/src/main/java/com/muyu/system/controller/SysUserOnlineController.java b/src/main/java/com/muyu/system/controller/SysUserOnlineController.java
new file mode 100644
index 0000000..5b78721
--- /dev/null
+++ b/src/main/java/com/muyu/system/controller/SysUserOnlineController.java
@@ -0,0 +1,69 @@
+package com.muyu.system.controller;
+
+import com.muyu.common.core.constant.CacheConstants;
+import com.muyu.common.core.utils.StringUtils;
+import com.muyu.common.core.web.controller.BaseController;
+import com.muyu.common.core.domain.Result;
+import com.muyu.common.core.web.page.TableDataInfo;
+import com.muyu.common.log.annotation.Log;
+import com.muyu.common.log.enums.BusinessType;
+import com.muyu.common.redis.service.RedisService;
+import com.muyu.common.security.annotation.RequiresPermissions;
+import com.muyu.common.system.domain.LoginUser;
+import com.muyu.system.domain.SysUserOnline;
+import com.muyu.system.service.SysUserOnlineService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ * 在线用户监控
+ *
+ * @author muyu
+ */
+@RestController
+@RequestMapping("/online")
+public class SysUserOnlineController extends BaseController {
+ @Autowired
+ private SysUserOnlineService userOnlineService;
+
+ @Autowired
+ private RedisService redisService;
+
+ @RequiresPermissions("monitor:online:list")
+ @GetMapping("/list")
+ public Result> list (String ipaddr, String userName) {
+ Collection keys = redisService.keys(CacheConstants.LOGIN_TOKEN_KEY + "*");
+ List userOnlineList = new ArrayList();
+ for (String key : keys) {
+ LoginUser user = redisService.getCacheObject(key);
+ if (StringUtils.isNotEmpty(ipaddr) && StringUtils.isNotEmpty(userName)) {
+ userOnlineList.add(userOnlineService.selectOnlineByInfo(ipaddr, userName, user));
+ } else if (StringUtils.isNotEmpty(ipaddr)) {
+ userOnlineList.add(userOnlineService.selectOnlineByIpaddr(ipaddr, user));
+ } else if (StringUtils.isNotEmpty(userName)) {
+ userOnlineList.add(userOnlineService.selectOnlineByUserName(userName, user));
+ } else {
+ userOnlineList.add(userOnlineService.loginUserToUserOnline(user));
+ }
+ }
+ Collections.reverse(userOnlineList);
+ userOnlineList.removeAll(Collections.singleton(null));
+ return getDataTable(userOnlineList);
+ }
+
+ /**
+ * 强退用户
+ */
+ @RequiresPermissions("monitor:online:forceLogout")
+ @Log(title = "在线用户", businessType = BusinessType.FORCE)
+ @DeleteMapping("/{tokenId}")
+ public Result forceLogout (@PathVariable("tokenId") String tokenId) {
+ redisService.deleteObject(CacheConstants.LOGIN_TOKEN_KEY + tokenId);
+ return success();
+ }
+}
diff --git a/src/main/java/com/muyu/system/domain/SysConfig.java b/src/main/java/com/muyu/system/domain/SysConfig.java
new file mode 100644
index 0000000..6f7e8bf
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/SysConfig.java
@@ -0,0 +1,81 @@
+package com.muyu.system.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.muyu.common.core.annotation.Excel;
+import com.muyu.common.core.annotation.Excel.ColumnType;
+import com.muyu.common.core.web.domain.BaseEntity;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.NoArgsConstructor;
+import lombok.experimental.SuperBuilder;
+
+import jakarta.validation.constraints.NotBlank;
+import jakarta.validation.constraints.Size;
+
+/**
+ * 参数配置表 sys_config
+ *
+ * @author muyu
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@AllArgsConstructor
+@EqualsAndHashCode(callSuper = true)
+@TableName("sys_config")
+public class SysConfig extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 参数主键
+ */
+ @Excel(name = "参数主键", cellType = ColumnType.NUMERIC)
+ @TableId( type = IdType.AUTO)
+ private Long configId;
+
+ /**
+ * 参数名称
+ */
+ @Excel(name = "参数名称")
+ private String configName;
+
+ /**
+ * 参数键名
+ */
+ @Excel(name = "参数键名")
+ private String configKey;
+
+ /**
+ * 参数键值
+ */
+ @Excel(name = "参数键值")
+ private String configValue;
+
+ /**
+ * 系统内置(Y是 N否)
+ */
+ @Excel(name = "系统内置", readConverterExp = "Y=是,N=否")
+ private String configType;
+
+ @NotBlank(message = "参数名称不能为空")
+ @Size(min = 0, max = 100, message = "参数名称不能超过100个字符")
+ public String getConfigName () {
+ return configName;
+ }
+
+ @NotBlank(message = "参数键名长度不能为空")
+ @Size(min = 0, max = 100, message = "参数键名长度不能超过100个字符")
+ public String getConfigKey () {
+ return configKey;
+ }
+
+ @NotBlank(message = "参数键值不能为空")
+ @Size(min = 0, max = 500, message = "参数键值长度不能超过500个字符")
+ public String getConfigValue () {
+ return configValue;
+ }
+
+}
diff --git a/src/main/java/com/muyu/system/domain/SysMenu.java b/src/main/java/com/muyu/system/domain/SysMenu.java
new file mode 100644
index 0000000..e4ad4e4
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/SysMenu.java
@@ -0,0 +1,138 @@
+package com.muyu.system.domain;
+
+import com.muyu.common.core.web.domain.BaseEntity;
+import lombok.*;
+import lombok.experimental.SuperBuilder;
+
+import jakarta.validation.constraints.NotBlank;
+import jakarta.validation.constraints.NotNull;
+import jakarta.validation.constraints.Size;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * 菜单权限表 sys_menu
+ *
+ * @author muyu
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@AllArgsConstructor
+@EqualsAndHashCode(callSuper = true)
+public class SysMenu extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 菜单ID
+ */
+ private Long menuId;
+
+ /**
+ * 菜单名称
+ */
+ private String menuName;
+
+ /**
+ * 父菜单名称
+ */
+ private String parentName;
+
+ /**
+ * 父菜单ID
+ */
+ private Long parentId;
+
+ /**
+ * 显示顺序
+ */
+ private Integer orderNum;
+
+ /**
+ * 路由地址
+ */
+ private String path;
+
+ /**
+ * 组件路径
+ */
+ private String component;
+
+ /**
+ * 路由参数
+ */
+ private String query;
+
+ /**
+ * 是否为外链(0是 1否)
+ */
+ private String isFrame;
+
+ /**
+ * 是否缓存(0缓存 1不缓存)
+ */
+ private String isCache;
+
+ /**
+ * 类型(M目录 C菜单 F按钮)
+ */
+ private String menuType;
+
+ /**
+ * 显示状态(0显示 1隐藏)
+ */
+ private String visible;
+
+ /**
+ * 菜单状态(0正常 1停用)
+ */
+ private String status;
+
+ /**
+ * 权限字符串
+ */
+ private String perms;
+
+ /**
+ * 菜单图标
+ */
+ private String icon;
+
+ /**
+ * 子菜单
+ */
+ @Builder.Default
+ private List children = new ArrayList();
+
+ @NotBlank(message = "菜单名称不能为空")
+ @Size(min = 0, max = 50, message = "菜单名称长度不能超过50个字符")
+ public String getMenuName () {
+ return menuName;
+ }
+
+ @NotNull(message = "显示顺序不能为空")
+ public Integer getOrderNum () {
+ return orderNum;
+ }
+
+ @Size(min = 0, max = 200, message = "路由地址不能超过200个字符")
+ public String getPath () {
+ return path;
+ }
+
+ @Size(min = 0, max = 200, message = "组件路径不能超过255个字符")
+ public String getComponent () {
+ return component;
+ }
+
+ @NotBlank(message = "菜单类型不能为空")
+ public String getMenuType () {
+ return menuType;
+ }
+
+ @Size(min = 0, max = 100, message = "权限标识长度不能超过100个字符")
+ public String getPerms () {
+ return perms;
+ }
+
+}
diff --git a/src/main/java/com/muyu/system/domain/SysNotice.java b/src/main/java/com/muyu/system/domain/SysNotice.java
new file mode 100644
index 0000000..a0c30e0
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/SysNotice.java
@@ -0,0 +1,58 @@
+package com.muyu.system.domain;
+
+import com.muyu.common.core.web.domain.BaseEntity;
+import com.muyu.common.core.xss.Xss;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.NoArgsConstructor;
+import lombok.experimental.SuperBuilder;
+
+import jakarta.validation.constraints.NotBlank;
+import jakarta.validation.constraints.Size;
+
+/**
+ * 通知公告表 sys_notice
+ *
+ * @author muyu
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@AllArgsConstructor
+@EqualsAndHashCode(callSuper = true)
+public class SysNotice extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 公告ID
+ */
+ private Long noticeId;
+
+ /**
+ * 公告标题
+ */
+ private String noticeTitle;
+
+ /**
+ * 公告类型(1通知 2公告)
+ */
+ private String noticeType;
+
+ /**
+ * 公告内容
+ */
+ private String noticeContent;
+
+ /**
+ * 公告状态(0正常 1关闭)
+ */
+ private String status;
+
+ @Xss(message = "公告标题不能包含脚本字符")
+ @NotBlank(message = "公告标题不能为空")
+ @Size(min = 0, max = 50, message = "公告标题不能超过50个字符")
+ public String getNoticeTitle () {
+ return noticeTitle;
+ }
+ }
diff --git a/src/main/java/com/muyu/system/domain/SysPost.java b/src/main/java/com/muyu/system/domain/SysPost.java
new file mode 100644
index 0000000..326987c
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/SysPost.java
@@ -0,0 +1,78 @@
+package com.muyu.system.domain;
+
+import com.muyu.common.core.annotation.Excel;
+import com.muyu.common.core.annotation.Excel.ColumnType;
+import com.muyu.common.core.web.domain.BaseEntity;
+import lombok.*;
+import lombok.experimental.SuperBuilder;
+
+import jakarta.validation.constraints.NotBlank;
+import jakarta.validation.constraints.NotNull;
+import jakarta.validation.constraints.Size;
+
+/**
+ * 岗位表 sys_post
+ *
+ * @author muyu
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@AllArgsConstructor
+@EqualsAndHashCode(callSuper = true)
+public class SysPost extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 岗位序号
+ */
+ @Excel(name = "岗位序号", cellType = ColumnType.NUMERIC)
+ private Long postId;
+
+ /**
+ * 岗位编码
+ */
+ @Excel(name = "岗位编码")
+ private String postCode;
+
+ /**
+ * 岗位名称
+ */
+ @Excel(name = "岗位名称")
+ private String postName;
+
+ /**
+ * 岗位排序
+ */
+ @Excel(name = "岗位排序")
+ private Integer postSort;
+
+ /**
+ * 状态(0正常 1停用)
+ */
+ @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
+ private String status;
+
+ /**
+ * 用户是否存在此岗位标识 默认不存在
+ */
+ @Builder.Default
+ private boolean flag = false;
+
+ @NotBlank(message = "岗位编码不能为空")
+ @Size(min = 0, max = 64, message = "岗位编码长度不能超过64个字符")
+ public String getPostCode () {
+ return postCode;
+ }
+
+ @NotBlank(message = "岗位名称不能为空")
+ @Size(min = 0, max = 50, message = "岗位名称长度不能超过50个字符")
+ public String getPostName () {
+ return postName;
+ }
+
+ @NotNull(message = "显示顺序不能为空")
+ public Integer getPostSort () {
+ return postSort;
+ }
+}
diff --git a/src/main/java/com/muyu/system/domain/SysRoleDept.java b/src/main/java/com/muyu/system/domain/SysRoleDept.java
new file mode 100644
index 0000000..ef9f13c
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/SysRoleDept.java
@@ -0,0 +1,27 @@
+package com.muyu.system.domain;
+
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * 角色和部门关联 sys_role_dept
+ *
+ * @author muyu
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class SysRoleDept {
+ /**
+ * 角色ID
+ */
+ private Long roleId;
+
+ /**
+ * 部门ID
+ */
+ private Long deptId;
+}
diff --git a/src/main/java/com/muyu/system/domain/SysRoleMenu.java b/src/main/java/com/muyu/system/domain/SysRoleMenu.java
new file mode 100644
index 0000000..fe4074b
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/SysRoleMenu.java
@@ -0,0 +1,28 @@
+package com.muyu.system.domain;
+
+
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * 角色和菜单关联 sys_role_menu
+ *
+ * @author muyu
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class SysRoleMenu {
+ /**
+ * 角色ID
+ */
+ private Long roleId;
+
+ /**
+ * 菜单ID
+ */
+ private Long menuId;
+}
diff --git a/src/main/java/com/muyu/system/domain/SysUserOnline.java b/src/main/java/com/muyu/system/domain/SysUserOnline.java
new file mode 100644
index 0000000..23d1979
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/SysUserOnline.java
@@ -0,0 +1,52 @@
+package com.muyu.system.domain;
+
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * 当前在线会话
+ *
+ * @author muyu
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class SysUserOnline {
+ /**
+ * 会话编号
+ */
+ private String tokenId;
+
+ /**
+ * 用户名称
+ */
+ private String userName;
+
+ /**
+ * 登录IP地址
+ */
+ private String ipaddr;
+
+ /**
+ * 登录地址
+ */
+ private String loginLocation;
+
+ /**
+ * 浏览器类型
+ */
+ private String browser;
+
+ /**
+ * 操作系统
+ */
+ private String os;
+
+ /**
+ * 登录时间
+ */
+ private Long loginTime;
+}
diff --git a/src/main/java/com/muyu/system/domain/SysUserPost.java b/src/main/java/com/muyu/system/domain/SysUserPost.java
new file mode 100644
index 0000000..229dc70
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/SysUserPost.java
@@ -0,0 +1,28 @@
+package com.muyu.system.domain;
+
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * 用户和岗位关联 sys_user_post
+ *
+ * @author muyu
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class SysUserPost {
+ /**
+ * 用户ID
+ */
+ private Long userId;
+
+ /**
+ * 岗位ID
+ */
+ private Long postId;
+
+}
diff --git a/src/main/java/com/muyu/system/domain/SysUserRole.java b/src/main/java/com/muyu/system/domain/SysUserRole.java
new file mode 100644
index 0000000..ee9c945
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/SysUserRole.java
@@ -0,0 +1,27 @@
+package com.muyu.system.domain;
+
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * 用户和角色关联 sys_user_role
+ *
+ * @author muyu
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class SysUserRole {
+ /**
+ * 用户ID
+ */
+ private Long userId;
+
+ /**
+ * 角色ID
+ */
+ private Long roleId;
+}
diff --git a/src/main/java/com/muyu/system/domain/resp/AuthRoleResp.java b/src/main/java/com/muyu/system/domain/resp/AuthRoleResp.java
new file mode 100644
index 0000000..69294b6
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/resp/AuthRoleResp.java
@@ -0,0 +1,33 @@
+package com.muyu.system.domain.resp;
+
+
+import com.muyu.common.system.domain.SysRole;
+import com.muyu.common.system.domain.SysUser;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.experimental.SuperBuilder;
+
+import java.util.List;
+
+/**
+ * @author DongZl
+ * @description: 授权角色返回结果集
+ * @Date 2023-6-19 下午 02:50
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@AllArgsConstructor
+public class AuthRoleResp {
+
+ /**
+ * 用户信息
+ */
+ private SysUser user;
+
+ /**
+ * 角色集合
+ */
+ private List roles;
+}
diff --git a/src/main/java/com/muyu/system/domain/resp/DeptTreeResp.java b/src/main/java/com/muyu/system/domain/resp/DeptTreeResp.java
new file mode 100644
index 0000000..cd72807
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/resp/DeptTreeResp.java
@@ -0,0 +1,32 @@
+package com.muyu.system.domain.resp;
+
+
+import com.muyu.system.domain.vo.TreeSelect;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.experimental.SuperBuilder;
+
+import java.util.List;
+
+/**
+ * @author DongZl
+ * @description: 部门树返回结果集
+ * @Date 2023-6-19 下午 02:52
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@AllArgsConstructor
+public class DeptTreeResp {
+
+ /**
+ * 授权的ID
+ */
+ private List checkedKeys;
+
+ /**
+ * 部门树
+ */
+ private List depts;
+}
diff --git a/src/main/java/com/muyu/system/domain/resp/ProfileResp.java b/src/main/java/com/muyu/system/domain/resp/ProfileResp.java
new file mode 100644
index 0000000..21d9808
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/resp/ProfileResp.java
@@ -0,0 +1,34 @@
+package com.muyu.system.domain.resp;
+
+import com.muyu.common.system.domain.SysUser;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.experimental.SuperBuilder;
+
+/**
+ * @author DongZl
+ * @description: 个人信息模型对象
+ * @Date 2023-6-19 下午 02:05
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@AllArgsConstructor
+public class ProfileResp {
+
+ /**
+ * 系统用户
+ */
+ private SysUser sysUser;
+
+ /**
+ * 用户权限组
+ */
+ private String roleGroup;
+
+ /**
+ * 用户岗位组
+ */
+ private String postGroup;
+}
diff --git a/src/main/java/com/muyu/system/domain/resp/RoleMenuTreeResp.java b/src/main/java/com/muyu/system/domain/resp/RoleMenuTreeResp.java
new file mode 100644
index 0000000..696763e
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/resp/RoleMenuTreeResp.java
@@ -0,0 +1,31 @@
+package com.muyu.system.domain.resp;
+
+import com.muyu.system.domain.vo.TreeSelect;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.experimental.SuperBuilder;
+
+import java.util.List;
+
+/**
+ * @author DongZl
+ * @description: 角色返回菜单树
+ * @Date 2023-6-19 下午 02:40
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@AllArgsConstructor
+public class RoleMenuTreeResp {
+
+ /**
+ * 拥有的菜单权限
+ */
+ private List checkedKeys;
+
+ /**
+ * 系统所有的菜单
+ */
+ private List menus;
+}
diff --git a/src/main/java/com/muyu/system/domain/resp/UserDetailInfoResp.java b/src/main/java/com/muyu/system/domain/resp/UserDetailInfoResp.java
new file mode 100644
index 0000000..4c61832
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/resp/UserDetailInfoResp.java
@@ -0,0 +1,47 @@
+package com.muyu.system.domain.resp;
+
+import com.muyu.common.system.domain.SysRole;
+import com.muyu.common.system.domain.SysUser;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.experimental.SuperBuilder;
+
+import java.util.List;
+
+/**
+ * @author DongZl
+ * @description: 用户详细信息
+ * @Date 2023-6-19 下午 02:45
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@AllArgsConstructor
+public class UserDetailInfoResp {
+
+ /**
+ * 角色权限集合
+ */
+ private List roles;
+
+ /**
+ * 岗位集合
+ */
+ private List posts;
+
+ /**
+ * 用户信息
+ */
+ private SysUser sysUser;
+
+ /**
+ * 用户又有的职位ID
+ */
+ private List postIds;
+
+ /**
+ * 用户拥有的角色ID
+ */
+ private List roleIds;
+}
diff --git a/src/main/java/com/muyu/system/domain/resp/UserInfoResp.java b/src/main/java/com/muyu/system/domain/resp/UserInfoResp.java
new file mode 100644
index 0000000..d15a760
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/resp/UserInfoResp.java
@@ -0,0 +1,36 @@
+package com.muyu.system.domain.resp;
+
+import com.muyu.common.system.domain.SysUser;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.experimental.SuperBuilder;
+
+import java.util.Set;
+
+/**
+ * @author DongZl
+ * @description: 用户信息结果集
+ * @Date 2023-6-19 下午 02:42
+ */
+@Data
+@SuperBuilder
+@NoArgsConstructor
+@AllArgsConstructor
+public class UserInfoResp {
+
+ /**
+ * 用户
+ */
+ private SysUser user;
+
+ /**
+ * 角色集合
+ */
+ private Set roles;
+
+ /**
+ * 权限集合
+ */
+ private Set permissions;
+}
diff --git a/src/main/java/com/muyu/system/domain/vo/MetaVo.java b/src/main/java/com/muyu/system/domain/vo/MetaVo.java
new file mode 100644
index 0000000..c7d5f25
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/vo/MetaVo.java
@@ -0,0 +1,54 @@
+package com.muyu.system.domain.vo;
+
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * 路由显示信息
+ *
+ * @author muyu
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class MetaVo {
+ /**
+ * 设置该路由在侧边栏和面包屑中展示的名字
+ */
+ private String title;
+
+ /**
+ * 设置该路由的图标,对应路径src/assets/icons/svg
+ */
+ private String icon;
+
+ /**
+ * 设置为true,则不会被 缓存
+ */
+ private boolean noCache;
+
+ /**
+ * 内链地址(http(s)://开头)
+ */
+ private String link;
+
+ public MetaVo (String title, String icon) {
+ this.title = title;
+ this.icon = icon;
+ }
+
+ public MetaVo (String title, String icon, boolean noCache) {
+ this.title = title;
+ this.icon = icon;
+ this.noCache = noCache;
+ }
+
+ public MetaVo (String title, String icon, String link) {
+ this.title = title;
+ this.icon = icon;
+ this.link = link;
+ }
+}
diff --git a/src/main/java/com/muyu/system/domain/vo/RouterVo.java b/src/main/java/com/muyu/system/domain/vo/RouterVo.java
new file mode 100644
index 0000000..6ea8d3f
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/vo/RouterVo.java
@@ -0,0 +1,62 @@
+package com.muyu.system.domain.vo;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import lombok.Data;
+import lombok.Setter;
+
+import java.util.List;
+
+/**
+ * 路由配置信息
+ *
+ * @author muyu
+ */
+@Data
+@JsonInclude(JsonInclude.Include.NON_EMPTY)
+public class RouterVo {
+ /**
+ * 路由名字
+ */
+ private String name;
+
+ /**
+ * 路由地址
+ */
+ private String path;
+
+ /**
+ * 是否隐藏路由,当设置 true 的时候该路由不会再侧边栏出现
+ */
+ private boolean hidden;
+
+ /**
+ * 重定向地址,当设置 noRedirect 的时候该路由在面包屑导航中不可被点击
+ */
+ private String redirect;
+
+ /**
+ * 组件地址
+ */
+ private String component;
+
+ /**
+ * 路由参数:如 {"id": 1, "name": "ry"}
+ */
+ private String query;
+
+ /**
+ * 当你一个路由下面的 children 声明的路由大于1个时,自动会变成嵌套的模式--如组件页面
+ */
+ private Boolean alwaysShow;
+
+ /**
+ * 其他元素
+ */
+ private MetaVo meta;
+
+ /**
+ * 子路由
+ */
+ private List children;
+
+}
diff --git a/src/main/java/com/muyu/system/domain/vo/TreeSelect.java b/src/main/java/com/muyu/system/domain/vo/TreeSelect.java
new file mode 100644
index 0000000..d1ef75f
--- /dev/null
+++ b/src/main/java/com/muyu/system/domain/vo/TreeSelect.java
@@ -0,0 +1,56 @@
+package com.muyu.system.domain.vo;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.muyu.common.system.domain.SysDept;
+import com.muyu.system.domain.SysMenu;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.stream.Collectors;
+
+/**
+ * Treeselect树结构实体类
+ *
+ * @author muyu
+ */
+@Data
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class TreeSelect implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 节点ID
+ */
+ private Long id;
+
+ /**
+ * 节点名称
+ */
+ private String label;
+
+ /**
+ * 子节点
+ */
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List children;
+
+
+ public TreeSelect (SysDept dept) {
+ this.id = dept.getDeptId();
+ this.label = dept.getDeptName();
+ this.children = dept.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
+ }
+
+ public TreeSelect (SysMenu menu) {
+ this.id = menu.getMenuId();
+ this.label = menu.getMenuName();
+ this.children = menu.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
+ }
+
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysConfigMapper.java b/src/main/java/com/muyu/system/mapper/SysConfigMapper.java
new file mode 100644
index 0000000..ced239a
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysConfigMapper.java
@@ -0,0 +1,12 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.system.domain.SysConfig;
+
+/**
+ * @author DongZl
+ * @description: 配置mybatis配置
+ * @Date 2023-11-13 上午 10:05
+ */
+public interface SysConfigMapper extends BaseMapper {
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysDeptMapper.java b/src/main/java/com/muyu/system/mapper/SysDeptMapper.java
new file mode 100644
index 0000000..5ef9ab4
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysDeptMapper.java
@@ -0,0 +1,131 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.common.system.domain.SysDept;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 部门管理 数据层
+ *
+ * @author muyu
+ */
+public interface SysDeptMapper extends BaseMapper {
+ /**
+ * 查询部门管理数据
+ *
+ * @param dept 部门信息
+ *
+ * @return 部门信息集合
+ */
+ public List selectDeptList (SysDept dept);
+
+ /**
+ * 根据角色ID查询部门树信息
+ *
+ * @param roleId 角色ID
+ * @param deptCheckStrictly 部门树选择项是否关联显示
+ *
+ * @return 选中部门列表
+ */
+ public List selectDeptListByRoleId (@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
+
+ /**
+ * 根据部门ID查询信息
+ *
+ * @param deptId 部门ID
+ *
+ * @return 部门信息
+ */
+ public SysDept selectDeptById (Long deptId);
+
+ /**
+ * 根据ID查询所有子部门
+ *
+ * @param deptId 部门ID
+ *
+ * @return 部门列表
+ */
+ public List selectChildrenDeptById (Long deptId);
+
+ /**
+ * 根据ID查询所有子部门(正常状态)
+ *
+ * @param deptId 部门ID
+ *
+ * @return 子部门数
+ */
+ public int selectNormalChildrenDeptById (Long deptId);
+
+ /**
+ * 是否存在子节点
+ *
+ * @param deptId 部门ID
+ *
+ * @return 结果
+ */
+ public int hasChildByDeptId (Long deptId);
+
+ /**
+ * 查询部门是否存在用户
+ *
+ * @param deptId 部门ID
+ *
+ * @return 结果
+ */
+ public int checkDeptExistUser (Long deptId);
+
+ /**
+ * 校验部门名称是否唯一
+ *
+ * @param deptName 部门名称
+ * @param parentId 父部门ID
+ *
+ * @return 结果
+ */
+ public SysDept checkDeptNameUnique (@Param("deptName") String deptName, @Param("parentId") Long parentId);
+
+ /**
+ * 新增部门信息
+ *
+ * @param dept 部门信息
+ *
+ * @return 结果
+ */
+ public int insertDept (SysDept dept);
+
+ /**
+ * 修改部门信息
+ *
+ * @param dept 部门信息
+ *
+ * @return 结果
+ */
+ public int updateDept (SysDept dept);
+
+ /**
+ * 修改所在部门正常状态
+ *
+ * @param deptIds 部门ID组
+ */
+ public void updateDeptStatusNormal (Long[] deptIds);
+
+ /**
+ * 修改子元素关系
+ *
+ * @param depts 子元素
+ *
+ * @return 结果
+ */
+ public int updateDeptChildren (@Param("depts") List depts);
+
+ /**
+ * 删除部门管理信息
+ *
+ * @param deptId 部门ID
+ *
+ * @return 结果
+ */
+ public int deleteDeptById (Long deptId);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysDictDataMapper.java b/src/main/java/com/muyu/system/mapper/SysDictDataMapper.java
new file mode 100644
index 0000000..1e87a7e
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysDictDataMapper.java
@@ -0,0 +1,106 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.common.system.domain.SysDictData;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 字典表 数据层
+ *
+ * @author muyu
+ */
+public interface SysDictDataMapper extends BaseMapper {
+ /**
+ * 根据条件分页查询字典数据
+ *
+ * @param dictData 字典数据信息
+ *
+ * @return 字典数据集合信息
+ */
+ public List selectDictDataList (SysDictData dictData);
+
+ /**
+ * 根据字典类型查询字典数据
+ *
+ * @param dictType 字典类型
+ *
+ * @return 字典数据集合信息
+ */
+ public List selectDictDataByType (String dictType);
+
+ /**
+ * 根据字典类型和字典键值查询字典数据信息
+ *
+ * @param dictType 字典类型
+ * @param dictValue 字典键值
+ *
+ * @return 字典标签
+ */
+ public String selectDictLabel (@Param("dictType") String dictType, @Param("dictValue") String dictValue);
+
+ /**
+ * 根据字典数据ID查询信息
+ *
+ * @param dictCode 字典数据ID
+ *
+ * @return 字典数据
+ */
+ public SysDictData selectDictDataById (Long dictCode);
+
+ /**
+ * 查询字典数据
+ *
+ * @param dictType 字典类型
+ *
+ * @return 字典数据
+ */
+ public int countDictDataByType (String dictType);
+
+ /**
+ * 通过字典ID删除字典数据信息
+ *
+ * @param dictCode 字典数据ID
+ *
+ * @return 结果
+ */
+ public int deleteDictDataById (Long dictCode);
+
+ /**
+ * 批量删除字典数据信息
+ *
+ * @param dictCodes 需要删除的字典数据ID
+ *
+ * @return 结果
+ */
+ public int deleteDictDataByIds (Long[] dictCodes);
+
+ /**
+ * 新增字典数据信息
+ *
+ * @param dictData 字典数据信息
+ *
+ * @return 结果
+ */
+ public int insertDictData (SysDictData dictData);
+
+ /**
+ * 修改字典数据信息
+ *
+ * @param dictData 字典数据信息
+ *
+ * @return 结果
+ */
+ public int updateDictData (SysDictData dictData);
+
+ /**
+ * 同步修改字典类型
+ *
+ * @param oldDictType 旧字典类型
+ * @param newDictType 新旧字典类型
+ *
+ * @return 结果
+ */
+ public int updateDictDataType (@Param("oldDictType") String oldDictType, @Param("newDictType") String newDictType);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysDictTypeMapper.java b/src/main/java/com/muyu/system/mapper/SysDictTypeMapper.java
new file mode 100644
index 0000000..0a4ffe6
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysDictTypeMapper.java
@@ -0,0 +1,92 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.common.system.domain.SysDictType;
+
+import java.util.List;
+
+/**
+ * 字典表 数据层
+ *
+ * @author muyu
+ */
+public interface SysDictTypeMapper extends BaseMapper {
+ /**
+ * 根据条件分页查询字典类型
+ *
+ * @param dictType 字典类型信息
+ *
+ * @return 字典类型集合信息
+ */
+ public List selectDictTypeList (SysDictType dictType);
+
+ /**
+ * 根据所有字典类型
+ *
+ * @return 字典类型集合信息
+ */
+ public List selectDictTypeAll ();
+
+ /**
+ * 根据字典类型ID查询信息
+ *
+ * @param dictId 字典类型ID
+ *
+ * @return 字典类型
+ */
+ public SysDictType selectDictTypeById (Long dictId);
+
+ /**
+ * 根据字典类型查询信息
+ *
+ * @param dictType 字典类型
+ *
+ * @return 字典类型
+ */
+ public SysDictType selectDictTypeByType (String dictType);
+
+ /**
+ * 通过字典ID删除字典信息
+ *
+ * @param dictId 字典ID
+ *
+ * @return 结果
+ */
+ public int deleteDictTypeById (Long dictId);
+
+ /**
+ * 批量删除字典类型信息
+ *
+ * @param dictIds 需要删除的字典ID
+ *
+ * @return 结果
+ */
+ public int deleteDictTypeByIds (Long[] dictIds);
+
+ /**
+ * 新增字典类型信息
+ *
+ * @param dictType 字典类型信息
+ *
+ * @return 结果
+ */
+ public int insertDictType (SysDictType dictType);
+
+ /**
+ * 修改字典类型信息
+ *
+ * @param dictType 字典类型信息
+ *
+ * @return 结果
+ */
+ public int updateDictType (SysDictType dictType);
+
+ /**
+ * 校验字典类型称是否唯一
+ *
+ * @param dictType 字典类型
+ *
+ * @return 结果
+ */
+ public SysDictType checkDictTypeUnique (String dictType);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysLogininforMapper.java b/src/main/java/com/muyu/system/mapper/SysLogininforMapper.java
new file mode 100644
index 0000000..0f1f86a
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysLogininforMapper.java
@@ -0,0 +1,45 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.common.system.domain.SysLogininfor;
+
+import java.util.List;
+
+/**
+ * 系统访问日志情况信息 数据层
+ *
+ * @author muyu
+ */
+public interface SysLogininforMapper extends BaseMapper {
+ /**
+ * 新增系统登录日志
+ *
+ * @param logininfor 访问日志对象
+ */
+ public int insertLogininfor (SysLogininfor logininfor);
+
+ /**
+ * 查询系统登录日志集合
+ *
+ * @param logininfor 访问日志对象
+ *
+ * @return 登录记录集合
+ */
+ public List selectLogininforList (SysLogininfor logininfor);
+
+ /**
+ * 批量删除系统登录日志
+ *
+ * @param infoIds 需要删除的登录日志ID
+ *
+ * @return 结果
+ */
+ public int deleteLogininforByIds (Long[] infoIds);
+
+ /**
+ * 清空系统登录日志
+ *
+ * @return 结果
+ */
+ public int cleanLogininfor ();
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysMenuMapper.java b/src/main/java/com/muyu/system/mapper/SysMenuMapper.java
new file mode 100644
index 0000000..8ceaaa0
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysMenuMapper.java
@@ -0,0 +1,138 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.system.domain.SysMenu;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 菜单表 数据层
+ *
+ * @author muyu
+ */
+public interface SysMenuMapper extends BaseMapper {
+ /**
+ * 查询系统菜单列表
+ *
+ * @param menu 菜单信息
+ *
+ * @return 菜单列表
+ */
+ public List selectMenuList (SysMenu menu);
+
+ /**
+ * 根据用户所有权限
+ *
+ * @return 权限列表
+ */
+ public List selectMenuPerms ();
+
+ /**
+ * 根据用户查询系统菜单列表
+ *
+ * @param menu 菜单信息
+ *
+ * @return 菜单列表
+ */
+ public List selectMenuListByUserId (SysMenu menu);
+
+ /**
+ * 根据角色ID查询权限
+ *
+ * @param roleId 角色ID
+ *
+ * @return 权限列表
+ */
+ public List selectMenuPermsByRoleId (Long roleId);
+
+ /**
+ * 根据用户ID查询权限
+ *
+ * @param userId 用户ID
+ *
+ * @return 权限列表
+ */
+ public List selectMenuPermsByUserId (Long userId);
+
+ /**
+ * 根据用户ID查询菜单
+ *
+ * @return 菜单列表
+ */
+ public List selectMenuTreeAll ();
+
+ /**
+ * 根据用户ID查询菜单
+ *
+ * @param userId 用户ID
+ *
+ * @return 菜单列表
+ */
+ public List selectMenuTreeByUserId (Long userId);
+
+ /**
+ * 根据角色ID查询菜单树信息
+ *
+ * @param roleId 角色ID
+ * @param menuCheckStrictly 菜单树选择项是否关联显示
+ *
+ * @return 选中菜单列表
+ */
+ public List selectMenuListByRoleId (@Param("roleId") Long roleId, @Param("menuCheckStrictly") boolean menuCheckStrictly);
+
+ /**
+ * 根据菜单ID查询信息
+ *
+ * @param menuId 菜单ID
+ *
+ * @return 菜单信息
+ */
+ public SysMenu selectMenuById (Long menuId);
+
+ /**
+ * 是否存在菜单子节点
+ *
+ * @param menuId 菜单ID
+ *
+ * @return 结果
+ */
+ public int hasChildByMenuId (Long menuId);
+
+ /**
+ * 新增菜单信息
+ *
+ * @param menu 菜单信息
+ *
+ * @return 结果
+ */
+ public int insertMenu (SysMenu menu);
+
+ /**
+ * 修改菜单信息
+ *
+ * @param menu 菜单信息
+ *
+ * @return 结果
+ */
+ public int updateMenu (SysMenu menu);
+
+ /**
+ * 删除菜单管理信息
+ *
+ * @param menuId 菜单ID
+ *
+ * @return 结果
+ */
+ public int deleteMenuById (Long menuId);
+
+ /**
+ * 校验菜单名称是否唯一
+ *
+ * @param menuName 菜单名称
+ * @param parentId 父菜单ID
+ *
+ * @return 结果
+ */
+ public SysMenu checkMenuNameUnique (@Param("menuName") String menuName, @Param("parentId") Long parentId);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysNoticeMapper.java b/src/main/java/com/muyu/system/mapper/SysNoticeMapper.java
new file mode 100644
index 0000000..fee9930
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysNoticeMapper.java
@@ -0,0 +1,67 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.system.domain.SysNotice;
+
+import java.util.List;
+
+/**
+ * 通知公告表 数据层
+ *
+ * @author muyu
+ */
+public interface SysNoticeMapper extends BaseMapper {
+ /**
+ * 查询公告信息
+ *
+ * @param noticeId 公告ID
+ *
+ * @return 公告信息
+ */
+ public SysNotice selectNoticeById (Long noticeId);
+
+ /**
+ * 查询公告列表
+ *
+ * @param notice 公告信息
+ *
+ * @return 公告集合
+ */
+ public List selectNoticeList (SysNotice notice);
+
+ /**
+ * 新增公告
+ *
+ * @param notice 公告信息
+ *
+ * @return 结果
+ */
+ public int insertNotice (SysNotice notice);
+
+ /**
+ * 修改公告
+ *
+ * @param notice 公告信息
+ *
+ * @return 结果
+ */
+ public int updateNotice (SysNotice notice);
+
+ /**
+ * 批量删除公告
+ *
+ * @param noticeId 公告ID
+ *
+ * @return 结果
+ */
+ public int deleteNoticeById (Long noticeId);
+
+ /**
+ * 批量删除公告信息
+ *
+ * @param noticeIds 需要删除的公告ID
+ *
+ * @return 结果
+ */
+ public int deleteNoticeByIds (Long[] noticeIds);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysOperLogMapper.java b/src/main/java/com/muyu/system/mapper/SysOperLogMapper.java
new file mode 100644
index 0000000..6ea1bcd
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysOperLogMapper.java
@@ -0,0 +1,52 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.common.system.domain.SysOperLog;
+
+import java.util.List;
+
+/**
+ * 操作日志 数据层
+ *
+ * @author muyu
+ */
+public interface SysOperLogMapper extends BaseMapper {
+ /**
+ * 新增操作日志
+ *
+ * @param operLog 操作日志对象
+ */
+ public int insertOperlog (SysOperLog operLog);
+
+ /**
+ * 查询系统操作日志集合
+ *
+ * @param operLog 操作日志对象
+ *
+ * @return 操作日志集合
+ */
+ public List selectOperLogList (SysOperLog operLog);
+
+ /**
+ * 批量删除系统操作日志
+ *
+ * @param operIds 需要删除的操作日志ID
+ *
+ * @return 结果
+ */
+ public int deleteOperLogByIds (Long[] operIds);
+
+ /**
+ * 查询操作日志详细
+ *
+ * @param operId 操作ID
+ *
+ * @return 操作日志对象
+ */
+ public SysOperLog selectOperLogById (Long operId);
+
+ /**
+ * 清空操作日志
+ */
+ public void cleanOperLog ();
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysPostMapper.java b/src/main/java/com/muyu/system/mapper/SysPostMapper.java
new file mode 100644
index 0000000..4bfd66d
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysPostMapper.java
@@ -0,0 +1,110 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.system.domain.SysPost;
+
+import java.util.List;
+
+/**
+ * 岗位信息 数据层
+ *
+ * @author muyu
+ */
+public interface SysPostMapper extends BaseMapper {
+ /**
+ * 查询岗位数据集合
+ *
+ * @param post 岗位信息
+ *
+ * @return 岗位数据集合
+ */
+ public List selectPostList (SysPost post);
+
+ /**
+ * 查询所有岗位
+ *
+ * @return 岗位列表
+ */
+ public List selectPostAll ();
+
+ /**
+ * 通过岗位ID查询岗位信息
+ *
+ * @param postId 岗位ID
+ *
+ * @return 角色对象信息
+ */
+ public SysPost selectPostById (Long postId);
+
+ /**
+ * 根据用户ID获取岗位选择框列表
+ *
+ * @param userId 用户ID
+ *
+ * @return 选中岗位ID列表
+ */
+ public List selectPostListByUserId (Long userId);
+
+ /**
+ * 查询用户所属岗位组
+ *
+ * @param userName 用户名
+ *
+ * @return 结果
+ */
+ public List selectPostsByUserName (String userName);
+
+ /**
+ * 删除岗位信息
+ *
+ * @param postId 岗位ID
+ *
+ * @return 结果
+ */
+ public int deletePostById (Long postId);
+
+ /**
+ * 批量删除岗位信息
+ *
+ * @param postIds 需要删除的岗位ID
+ *
+ * @return 结果
+ */
+ public int deletePostByIds (Long[] postIds);
+
+ /**
+ * 修改岗位信息
+ *
+ * @param post 岗位信息
+ *
+ * @return 结果
+ */
+ public int updatePost (SysPost post);
+
+ /**
+ * 新增岗位信息
+ *
+ * @param post 岗位信息
+ *
+ * @return 结果
+ */
+ public int insertPost (SysPost post);
+
+ /**
+ * 校验岗位名称
+ *
+ * @param postName 岗位名称
+ *
+ * @return 结果
+ */
+ public SysPost checkPostNameUnique (String postName);
+
+ /**
+ * 校验岗位编码
+ *
+ * @param postCode 岗位编码
+ *
+ * @return 结果
+ */
+ public SysPost checkPostCodeUnique (String postCode);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysRoleDeptMapper.java b/src/main/java/com/muyu/system/mapper/SysRoleDeptMapper.java
new file mode 100644
index 0000000..0e6dd4d
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysRoleDeptMapper.java
@@ -0,0 +1,50 @@
+package com.muyu.system.mapper;
+
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.system.domain.SysRoleDept;
+
+import java.util.List;
+
+/**
+ * 角色与部门关联表 数据层
+ *
+ * @author muyu
+ */
+public interface SysRoleDeptMapper extends BaseMapper {
+ /**
+ * 通过角色ID删除角色和部门关联
+ *
+ * @param roleId 角色ID
+ *
+ * @return 结果
+ */
+ public int deleteRoleDeptByRoleId (Long roleId);
+
+ /**
+ * 批量删除角色部门关联信息
+ *
+ * @param ids 需要删除的数据ID
+ *
+ * @return 结果
+ */
+ public int deleteRoleDept (Long[] ids);
+
+ /**
+ * 查询部门使用数量
+ *
+ * @param deptId 部门ID
+ *
+ * @return 结果
+ */
+ public int selectCountRoleDeptByDeptId (Long deptId);
+
+ /**
+ * 批量新增角色部门信息
+ *
+ * @param roleDeptList 角色部门列表
+ *
+ * @return 结果
+ */
+ public int batchRoleDept (List roleDeptList);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysRoleMapper.java b/src/main/java/com/muyu/system/mapper/SysRoleMapper.java
new file mode 100644
index 0000000..2b01dc3
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysRoleMapper.java
@@ -0,0 +1,119 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.common.system.domain.SysRole;
+
+import java.util.List;
+
+/**
+ * 角色表 数据层
+ *
+ * @author muyu
+ */
+public interface SysRoleMapper extends BaseMapper {
+ /**
+ * 根据条件分页查询角色数据
+ *
+ * @param role 角色信息
+ *
+ * @return 角色数据集合信息
+ */
+ public List selectRoleList (SysRole role);
+
+ /**
+ * 根据用户ID查询角色
+ *
+ * @param userId 用户ID
+ *
+ * @return 角色列表
+ */
+ public List selectRolePermissionByUserId (Long userId);
+
+ /**
+ * 查询所有角色
+ *
+ * @return 角色列表
+ */
+ public List selectRoleAll ();
+
+ /**
+ * 根据用户ID获取角色选择框列表
+ *
+ * @param userId 用户ID
+ *
+ * @return 选中角色ID列表
+ */
+ public List selectRoleListByUserId (Long userId);
+
+ /**
+ * 通过角色ID查询角色
+ *
+ * @param roleId 角色ID
+ *
+ * @return 角色对象信息
+ */
+ public SysRole selectRoleById (Long roleId);
+
+ /**
+ * 根据用户ID查询角色
+ *
+ * @param userName 用户名
+ *
+ * @return 角色列表
+ */
+ public List selectRolesByUserName (String userName);
+
+ /**
+ * 校验角色名称是否唯一
+ *
+ * @param roleName 角色名称
+ *
+ * @return 角色信息
+ */
+ public SysRole checkRoleNameUnique (String roleName);
+
+ /**
+ * 校验角色权限是否唯一
+ *
+ * @param roleKey 角色权限
+ *
+ * @return 角色信息
+ */
+ public SysRole checkRoleKeyUnique (String roleKey);
+
+ /**
+ * 修改角色信息
+ *
+ * @param role 角色信息
+ *
+ * @return 结果
+ */
+ public int updateRole (SysRole role);
+
+ /**
+ * 新增角色信息
+ *
+ * @param role 角色信息
+ *
+ * @return 结果
+ */
+ public int insertRole (SysRole role);
+
+ /**
+ * 通过角色ID删除角色
+ *
+ * @param roleId 角色ID
+ *
+ * @return 结果
+ */
+ public int deleteRoleById (Long roleId);
+
+ /**
+ * 批量删除角色信息
+ *
+ * @param roleIds 需要删除的角色ID
+ *
+ * @return 结果
+ */
+ public int deleteRoleByIds (Long[] roleIds);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysRoleMenuMapper.java b/src/main/java/com/muyu/system/mapper/SysRoleMenuMapper.java
new file mode 100644
index 0000000..664ce26
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysRoleMenuMapper.java
@@ -0,0 +1,50 @@
+package com.muyu.system.mapper;
+
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.system.domain.SysRoleMenu;
+
+import java.util.List;
+
+/**
+ * 角色与菜单关联表 数据层
+ *
+ * @author muyu
+ */
+public interface SysRoleMenuMapper extends BaseMapper {
+ /**
+ * 查询菜单使用数量
+ *
+ * @param menuId 菜单ID
+ *
+ * @return 结果
+ */
+ public int checkMenuExistRole (Long menuId);
+
+ /**
+ * 通过角色ID删除角色和菜单关联
+ *
+ * @param roleId 角色ID
+ *
+ * @return 结果
+ */
+ public int deleteRoleMenuByRoleId (Long roleId);
+
+ /**
+ * 批量删除角色菜单关联信息
+ *
+ * @param ids 需要删除的数据ID
+ *
+ * @return 结果
+ */
+ public int deleteRoleMenu (Long[] ids);
+
+ /**
+ * 批量新增角色菜单信息
+ *
+ * @param roleMenuList 角色菜单列表
+ *
+ * @return 结果
+ */
+ public int batchRoleMenu (List roleMenuList);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysUserMapper.java b/src/main/java/com/muyu/system/mapper/SysUserMapper.java
new file mode 100644
index 0000000..e037b34
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysUserMapper.java
@@ -0,0 +1,142 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.common.system.domain.SysUser;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 用户表 数据层
+ *
+ * @author muyu
+ */
+public interface SysUserMapper extends BaseMapper {
+ /**
+ * 根据条件分页查询用户列表
+ *
+ * @param sysUser 用户信息
+ *
+ * @return 用户信息集合信息
+ */
+ public List selectUserList (SysUser sysUser);
+
+ /**
+ * 根据条件分页查询已配用户角色列表
+ *
+ * @param user 用户信息
+ *
+ * @return 用户信息集合信息
+ */
+ public List selectAllocatedList (SysUser user);
+
+ /**
+ * 根据条件分页查询未分配用户角色列表
+ *
+ * @param user 用户信息
+ *
+ * @return 用户信息集合信息
+ */
+ public List selectUnallocatedList (SysUser user);
+
+ /**
+ * 通过用户名查询用户
+ *
+ * @param userName 用户名
+ *
+ * @return 用户对象信息
+ */
+ public SysUser selectUserByUserName (String userName);
+
+ /**
+ * 通过用户ID查询用户
+ *
+ * @param userId 用户ID
+ *
+ * @return 用户对象信息
+ */
+ public SysUser selectUserById (Long userId);
+
+ /**
+ * 新增用户信息
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public int insertUser (SysUser user);
+
+ /**
+ * 修改用户信息
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public int updateUser (SysUser user);
+
+ /**
+ * 修改用户头像
+ *
+ * @param userName 用户名
+ * @param avatar 头像地址
+ *
+ * @return 结果
+ */
+ public int updateUserAvatar (@Param("userName") String userName, @Param("avatar") String avatar);
+
+ /**
+ * 重置用户密码
+ *
+ * @param userName 用户名
+ * @param password 密码
+ *
+ * @return 结果
+ */
+ public int resetUserPwd (@Param("userName") String userName, @Param("password") String password);
+
+ /**
+ * 通过用户ID删除用户
+ *
+ * @param userId 用户ID
+ *
+ * @return 结果
+ */
+ public int deleteUserById (Long userId);
+
+ /**
+ * 批量删除用户信息
+ *
+ * @param userIds 需要删除的用户ID
+ *
+ * @return 结果
+ */
+ public int deleteUserByIds (Long[] userIds);
+
+ /**
+ * 校验用户名称是否唯一
+ *
+ * @param userName 用户名称
+ *
+ * @return 结果
+ */
+ public SysUser checkUserNameUnique (String userName);
+
+ /**
+ * 校验手机号码是否唯一
+ *
+ * @param phonenumber 手机号码
+ *
+ * @return 结果
+ */
+ public SysUser checkPhoneUnique (String phonenumber);
+
+ /**
+ * 校验email是否唯一
+ *
+ * @param email 用户邮箱
+ *
+ * @return 结果
+ */
+ public SysUser checkEmailUnique (String email);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysUserPostMapper.java b/src/main/java/com/muyu/system/mapper/SysUserPostMapper.java
new file mode 100644
index 0000000..8d09a47
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysUserPostMapper.java
@@ -0,0 +1,49 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.system.domain.SysUserPost;
+
+import java.util.List;
+
+/**
+ * 用户与岗位关联表 数据层
+ *
+ * @author muyu
+ */
+public interface SysUserPostMapper extends BaseMapper {
+ /**
+ * 通过用户ID删除用户和岗位关联
+ *
+ * @param userId 用户ID
+ *
+ * @return 结果
+ */
+ public int deleteUserPostByUserId (Long userId);
+
+ /**
+ * 通过岗位ID查询岗位使用数量
+ *
+ * @param postId 岗位ID
+ *
+ * @return 结果
+ */
+ public int countUserPostById (Long postId);
+
+ /**
+ * 批量删除用户和岗位关联
+ *
+ * @param ids 需要删除的数据ID
+ *
+ * @return 结果
+ */
+ public int deleteUserPost (Long[] ids);
+
+ /**
+ * 批量新增用户岗位信息
+ *
+ * @param userPostList 用户角色列表
+ *
+ * @return 结果
+ */
+ public int batchUserPost (List userPostList);
+}
diff --git a/src/main/java/com/muyu/system/mapper/SysUserRoleMapper.java b/src/main/java/com/muyu/system/mapper/SysUserRoleMapper.java
new file mode 100644
index 0000000..512adb8
--- /dev/null
+++ b/src/main/java/com/muyu/system/mapper/SysUserRoleMapper.java
@@ -0,0 +1,69 @@
+package com.muyu.system.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.muyu.system.domain.SysUserRole;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 用户与角色关联表 数据层
+ *
+ * @author muyu
+ */
+public interface SysUserRoleMapper extends BaseMapper {
+ /**
+ * 通过用户ID删除用户和角色关联
+ *
+ * @param userId 用户ID
+ *
+ * @return 结果
+ */
+ public int deleteUserRoleByUserId (Long userId);
+
+ /**
+ * 批量删除用户和角色关联
+ *
+ * @param ids 需要删除的数据ID
+ *
+ * @return 结果
+ */
+ public int deleteUserRole (Long[] ids);
+
+ /**
+ * 通过角色ID查询角色使用数量
+ *
+ * @param roleId 角色ID
+ *
+ * @return 结果
+ */
+ public int countUserRoleByRoleId (Long roleId);
+
+ /**
+ * 批量新增用户角色信息
+ *
+ * @param userRoleList 用户角色列表
+ *
+ * @return 结果
+ */
+ public int batchUserRole (List userRoleList);
+
+ /**
+ * 删除用户和角色关联信息
+ *
+ * @param userRole 用户和角色关联信息
+ *
+ * @return 结果
+ */
+ public int deleteUserRoleInfo (SysUserRole userRole);
+
+ /**
+ * 批量取消授权用户角色
+ *
+ * @param roleId 角色ID
+ * @param userIds 需要删除的用户数据ID
+ *
+ * @return 结果
+ */
+ public int deleteUserRoleInfos (@Param("roleId") Long roleId, @Param("userIds") Long[] userIds);
+}
diff --git a/src/main/java/com/muyu/system/service/SysConfigService.java b/src/main/java/com/muyu/system/service/SysConfigService.java
new file mode 100644
index 0000000..f23d67e
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysConfigService.java
@@ -0,0 +1,44 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.system.domain.SysConfig;
+
+import java.util.List;
+
+/**
+ * @author DongZl
+ * @description: 配置plus业务层
+ * @Date 2023-11-13 上午 10:06
+ */
+public interface SysConfigService extends IService {
+ List pageQuery (SysConfig config);
+
+ /**
+ * 通过Key进行查询值
+ * @param configKey
+ * @return
+ */
+ String selectConfigByKey (String configKey);
+
+ /**
+ * 检测参数是否唯一
+ * @param config
+ * @return
+ */
+ boolean checkConfigKeyUnique (SysConfig config);
+
+ /**
+ * 刷新缓存
+ */
+ void resetConfigCache ();
+
+ /**
+ * 清空参数缓存数据
+ */
+ public void clearConfigCache ();
+
+ /**
+ * 加载参数缓存数据
+ */
+ public void loadingConfigCache ();
+}
diff --git a/src/main/java/com/muyu/system/service/SysDeptService.java b/src/main/java/com/muyu/system/service/SysDeptService.java
new file mode 100644
index 0000000..140cf91
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysDeptService.java
@@ -0,0 +1,138 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.common.system.domain.SysDept;
+import com.muyu.system.domain.vo.TreeSelect;
+
+import java.util.List;
+
+/**
+ * 部门管理 服务层
+ *
+ * @author muyu
+ */
+public interface SysDeptService extends IService {
+ /**
+ * 查询部门管理数据
+ *
+ * @param dept 部门信息
+ *
+ * @return 部门信息集合
+ */
+ public List selectDeptList (SysDept dept);
+
+ /**
+ * 查询部门树结构信息
+ *
+ * @param dept 部门信息
+ *
+ * @return 部门树信息集合
+ */
+ public List selectDeptTreeList (SysDept dept);
+
+ /**
+ * 构建前端所需要树结构
+ *
+ * @param depts 部门列表
+ *
+ * @return 树结构列表
+ */
+ public List buildDeptTree (List depts);
+
+ /**
+ * 构建前端所需要下拉树结构
+ *
+ * @param depts 部门列表
+ *
+ * @return 下拉树结构列表
+ */
+ public List buildDeptTreeSelect (List depts);
+
+ /**
+ * 根据角色ID查询部门树信息
+ *
+ * @param roleId 角色ID
+ *
+ * @return 选中部门列表
+ */
+ public List selectDeptListByRoleId (Long roleId);
+
+ /**
+ * 根据部门ID查询信息
+ *
+ * @param deptId 部门ID
+ *
+ * @return 部门信息
+ */
+ public SysDept selectDeptById (Long deptId);
+
+ /**
+ * 根据ID查询所有子部门(正常状态)
+ *
+ * @param deptId 部门ID
+ *
+ * @return 子部门数
+ */
+ public int selectNormalChildrenDeptById (Long deptId);
+
+ /**
+ * 是否存在部门子节点
+ *
+ * @param deptId 部门ID
+ *
+ * @return 结果
+ */
+ public boolean hasChildByDeptId (Long deptId);
+
+ /**
+ * 查询部门是否存在用户
+ *
+ * @param deptId 部门ID
+ *
+ * @return 结果 true 存在 false 不存在
+ */
+ public boolean checkDeptExistUser (Long deptId);
+
+ /**
+ * 校验部门名称是否唯一
+ *
+ * @param dept 部门信息
+ *
+ * @return 结果
+ */
+ public boolean checkDeptNameUnique (SysDept dept);
+
+ /**
+ * 校验部门是否有数据权限
+ *
+ * @param deptId 部门id
+ */
+ public void checkDeptDataScope (Long deptId);
+
+ /**
+ * 新增保存部门信息
+ *
+ * @param dept 部门信息
+ *
+ * @return 结果
+ */
+ public int insertDept (SysDept dept);
+
+ /**
+ * 修改保存部门信息
+ *
+ * @param dept 部门信息
+ *
+ * @return 结果
+ */
+ public int updateDept (SysDept dept);
+
+ /**
+ * 删除部门管理信息
+ *
+ * @param deptId 部门ID
+ *
+ * @return 结果
+ */
+ public int deleteDeptById (Long deptId);
+}
diff --git a/src/main/java/com/muyu/system/service/SysDictDataService.java b/src/main/java/com/muyu/system/service/SysDictDataService.java
new file mode 100644
index 0000000..47aae4b
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysDictDataService.java
@@ -0,0 +1,66 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.common.system.domain.SysDictData;
+
+import java.util.List;
+
+/**
+ * 字典 业务层
+ *
+ * @author muyu
+ */
+public interface SysDictDataService extends IService {
+ /**
+ * 根据条件分页查询字典数据
+ *
+ * @param dictData 字典数据信息
+ *
+ * @return 字典数据集合信息
+ */
+ public List selectDictDataList (SysDictData dictData);
+
+ /**
+ * 根据字典类型和字典键值查询字典数据信息
+ *
+ * @param dictType 字典类型
+ * @param dictValue 字典键值
+ *
+ * @return 字典标签
+ */
+ public String selectDictLabel (String dictType, String dictValue);
+
+ /**
+ * 根据字典数据ID查询信息
+ *
+ * @param dictCode 字典数据ID
+ *
+ * @return 字典数据
+ */
+ public SysDictData selectDictDataById (Long dictCode);
+
+ /**
+ * 批量删除字典数据信息
+ *
+ * @param dictCodes 需要删除的字典数据ID
+ */
+ public void deleteDictDataByIds (Long[] dictCodes);
+
+ /**
+ * 新增保存字典数据信息
+ *
+ * @param dictData 字典数据信息
+ *
+ * @return 结果
+ */
+ public int insertDictData (SysDictData dictData);
+
+ /**
+ * 修改保存字典数据信息
+ *
+ * @param dictData 字典数据信息
+ *
+ * @return 结果
+ */
+ public int updateDictData (SysDictData dictData);
+}
diff --git a/src/main/java/com/muyu/system/service/SysDictTypeService.java b/src/main/java/com/muyu/system/service/SysDictTypeService.java
new file mode 100644
index 0000000..1b3212d
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysDictTypeService.java
@@ -0,0 +1,106 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.common.system.domain.SysDictData;
+import com.muyu.common.system.domain.SysDictType;
+
+import java.util.List;
+
+/**
+ * 字典 业务层
+ *
+ * @author muyu
+ */
+public interface SysDictTypeService extends IService {
+ /**
+ * 根据条件分页查询字典类型
+ *
+ * @param dictType 字典类型信息
+ *
+ * @return 字典类型集合信息
+ */
+ public List selectDictTypeList (SysDictType dictType);
+
+ /**
+ * 根据所有字典类型
+ *
+ * @return 字典类型集合信息
+ */
+ public List selectDictTypeAll ();
+
+ /**
+ * 根据字典类型查询字典数据
+ *
+ * @param dictType 字典类型
+ *
+ * @return 字典数据集合信息
+ */
+ public List selectDictDataByType (String dictType);
+
+ /**
+ * 根据字典类型ID查询信息
+ *
+ * @param dictId 字典类型ID
+ *
+ * @return 字典类型
+ */
+ public SysDictType selectDictTypeById (Long dictId);
+
+ /**
+ * 根据字典类型查询信息
+ *
+ * @param dictType 字典类型
+ *
+ * @return 字典类型
+ */
+ public SysDictType selectDictTypeByType (String dictType);
+
+ /**
+ * 批量删除字典信息
+ *
+ * @param dictIds 需要删除的字典ID
+ */
+ public void deleteDictTypeByIds (Long[] dictIds);
+
+ /**
+ * 加载字典缓存数据
+ */
+ public void loadingDictCache ();
+
+ /**
+ * 清空字典缓存数据
+ */
+ public void clearDictCache ();
+
+ /**
+ * 重置字典缓存数据
+ */
+ public void resetDictCache ();
+
+ /**
+ * 新增保存字典类型信息
+ *
+ * @param dictType 字典类型信息
+ *
+ * @return 结果
+ */
+ public int insertDictType (SysDictType dictType);
+
+ /**
+ * 修改保存字典类型信息
+ *
+ * @param dictType 字典类型信息
+ *
+ * @return 结果
+ */
+ public int updateDictType (SysDictType dictType);
+
+ /**
+ * 校验字典类型称是否唯一
+ *
+ * @param dictType 字典类型
+ *
+ * @return 结果
+ */
+ public boolean checkDictTypeUnique (SysDictType dictType);
+}
diff --git a/src/main/java/com/muyu/system/service/SysLogininforService.java b/src/main/java/com/muyu/system/service/SysLogininforService.java
new file mode 100644
index 0000000..bb3031e
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysLogininforService.java
@@ -0,0 +1,43 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.common.system.domain.SysLogininfor;
+
+import java.util.List;
+
+/**
+ * 系统访问日志情况信息 服务层
+ *
+ * @author muyu
+ */
+public interface SysLogininforService extends IService {
+ /**
+ * 新增系统登录日志
+ *
+ * @param logininfor 访问日志对象
+ */
+ public int insertLogininfor (SysLogininfor logininfor);
+
+ /**
+ * 查询系统登录日志集合
+ *
+ * @param logininfor 访问日志对象
+ *
+ * @return 登录记录集合
+ */
+ public List selectLogininforList (SysLogininfor logininfor);
+
+ /**
+ * 批量删除系统登录日志
+ *
+ * @param infoIds 需要删除的登录日志ID
+ *
+ * @return 结果
+ */
+ public int deleteLogininforByIds (Long[] infoIds);
+
+ /**
+ * 清空系统登录日志
+ */
+ public void cleanLogininfor ();
+}
diff --git a/src/main/java/com/muyu/system/service/SysMenuService.java b/src/main/java/com/muyu/system/service/SysMenuService.java
new file mode 100644
index 0000000..29bfb07
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysMenuService.java
@@ -0,0 +1,161 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.system.domain.SysMenu;
+import com.muyu.system.domain.vo.RouterVo;
+import com.muyu.system.domain.vo.TreeSelect;
+
+import java.util.List;
+import java.util.Set;
+
+/**
+ * 菜单 业务层
+ *
+ * @author muyu
+ */
+public interface SysMenuService extends IService {
+ /**
+ * 根据用户查询系统菜单列表
+ *
+ * @param userId 用户ID
+ *
+ * @return 菜单列表
+ */
+ public List selectMenuList (Long userId);
+
+ /**
+ * 根据用户查询系统菜单列表
+ *
+ * @param menu 菜单信息
+ * @param userId 用户ID
+ *
+ * @return 菜单列表
+ */
+ public List selectMenuList (SysMenu menu, Long userId);
+
+ /**
+ * 根据用户ID查询权限
+ *
+ * @param userId 用户ID
+ *
+ * @return 权限列表
+ */
+ public Set selectMenuPermsByUserId (Long userId);
+
+ /**
+ * 根据角色ID查询权限
+ *
+ * @param roleId 角色ID
+ *
+ * @return 权限列表
+ */
+ public Set selectMenuPermsByRoleId (Long roleId);
+
+ /**
+ * 根据用户ID查询菜单树信息
+ *
+ * @param userId 用户ID
+ *
+ * @return 菜单列表
+ */
+ public List selectMenuTreeByUserId (Long userId);
+
+ /**
+ * 根据角色ID查询菜单树信息
+ *
+ * @param roleId 角色ID
+ *
+ * @return 选中菜单列表
+ */
+ public List selectMenuListByRoleId (Long roleId);
+
+ /**
+ * 构建前端路由所需要的菜单
+ *
+ * @param menus 菜单列表
+ *
+ * @return 路由列表
+ */
+ public List buildMenus (List menus);
+
+ /**
+ * 构建前端所需要树结构
+ *
+ * @param menus 菜单列表
+ *
+ * @return 树结构列表
+ */
+ public List buildMenuTree (List menus);
+
+ /**
+ * 构建前端所需要下拉树结构
+ *
+ * @param menus 菜单列表
+ *
+ * @return 下拉树结构列表
+ */
+ public List buildMenuTreeSelect (List menus);
+
+ /**
+ * 根据菜单ID查询信息
+ *
+ * @param menuId 菜单ID
+ *
+ * @return 菜单信息
+ */
+ public SysMenu selectMenuById (Long menuId);
+
+ /**
+ * 是否存在菜单子节点
+ *
+ * @param menuId 菜单ID
+ *
+ * @return 结果 true 存在 false 不存在
+ */
+ public boolean hasChildByMenuId (Long menuId);
+
+ /**
+ * 查询菜单是否存在角色
+ *
+ * @param menuId 菜单ID
+ *
+ * @return 结果 true 存在 false 不存在
+ */
+ public boolean checkMenuExistRole (Long menuId);
+
+ /**
+ * 新增保存菜单信息
+ *
+ * @param menu 菜单信息
+ *
+ * @return 结果
+ */
+ public int insertMenu (SysMenu menu);
+
+ /**
+ * 修改保存菜单信息
+ *
+ * @param menu 菜单信息
+ *
+ * @return 结果
+ */
+ public int updateMenu (SysMenu menu);
+
+ /**
+ * 删除菜单管理信息
+ *
+ * @param menuId 菜单ID
+ *
+ * @return 结果
+ */
+ public int deleteMenuById (Long menuId);
+
+ /**
+ * 校验菜单名称是否唯一
+ *
+ * @param menu 菜单信息
+ *
+ * @return 结果
+ */
+ public boolean checkMenuNameUnique (SysMenu menu);
+}
diff --git a/src/main/java/com/muyu/system/service/SysNoticeService.java b/src/main/java/com/muyu/system/service/SysNoticeService.java
new file mode 100644
index 0000000..a1afe02
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysNoticeService.java
@@ -0,0 +1,67 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.system.domain.SysNotice;
+
+import java.util.List;
+
+/**
+ * 公告 服务层
+ *
+ * @author muyu
+ */
+public interface SysNoticeService extends IService {
+ /**
+ * 查询公告信息
+ *
+ * @param noticeId 公告ID
+ *
+ * @return 公告信息
+ */
+ public SysNotice selectNoticeById (Long noticeId);
+
+ /**
+ * 查询公告列表
+ *
+ * @param notice 公告信息
+ *
+ * @return 公告集合
+ */
+ public List selectNoticeList (SysNotice notice);
+
+ /**
+ * 新增公告
+ *
+ * @param notice 公告信息
+ *
+ * @return 结果
+ */
+ public int insertNotice (SysNotice notice);
+
+ /**
+ * 修改公告
+ *
+ * @param notice 公告信息
+ *
+ * @return 结果
+ */
+ public int updateNotice (SysNotice notice);
+
+ /**
+ * 删除公告信息
+ *
+ * @param noticeId 公告ID
+ *
+ * @return 结果
+ */
+ public int deleteNoticeById (Long noticeId);
+
+ /**
+ * 批量删除公告信息
+ *
+ * @param noticeIds 需要删除的公告ID
+ *
+ * @return 结果
+ */
+ public int deleteNoticeByIds (Long[] noticeIds);
+}
diff --git a/src/main/java/com/muyu/system/service/SysOperLogService.java b/src/main/java/com/muyu/system/service/SysOperLogService.java
new file mode 100644
index 0000000..70b63ee
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysOperLogService.java
@@ -0,0 +1,54 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.common.system.domain.SysOperLog;
+
+import java.util.List;
+
+/**
+ * 操作日志 服务层
+ *
+ * @author muyu
+ */
+public interface SysOperLogService extends IService {
+ /**
+ * 新增操作日志
+ *
+ * @param operLog 操作日志对象
+ *
+ * @return 结果
+ */
+ public int insertOperlog (SysOperLog operLog);
+
+ /**
+ * 查询系统操作日志集合
+ *
+ * @param operLog 操作日志对象
+ *
+ * @return 操作日志集合
+ */
+ public List selectOperLogList (SysOperLog operLog);
+
+ /**
+ * 批量删除系统操作日志
+ *
+ * @param operIds 需要删除的操作日志ID
+ *
+ * @return 结果
+ */
+ public int deleteOperLogByIds (Long[] operIds);
+
+ /**
+ * 查询操作日志详细
+ *
+ * @param operId 操作ID
+ *
+ * @return 操作日志对象
+ */
+ public SysOperLog selectOperLogById (Long operId);
+
+ /**
+ * 清空操作日志
+ */
+ public void cleanOperLog ();
+}
diff --git a/src/main/java/com/muyu/system/service/SysPermissionService.java b/src/main/java/com/muyu/system/service/SysPermissionService.java
new file mode 100644
index 0000000..02e9d14
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysPermissionService.java
@@ -0,0 +1,30 @@
+package com.muyu.system.service;
+
+import com.muyu.common.system.domain.SysUser;
+
+import java.util.Set;
+
+/**
+ * 权限信息 服务层
+ *
+ * @author muyu
+ */
+public interface SysPermissionService {
+ /**
+ * 获取角色数据权限
+ *
+ * @param userId 用户Id
+ *
+ * @return 角色权限信息
+ */
+ public Set getRolePermission (SysUser user);
+
+ /**
+ * 获取菜单数据权限
+ *
+ * @param userId 用户Id
+ *
+ * @return 菜单权限信息
+ */
+ public Set getMenuPermission (SysUser user);
+}
diff --git a/src/main/java/com/muyu/system/service/SysPostService.java b/src/main/java/com/muyu/system/service/SysPostService.java
new file mode 100644
index 0000000..fbd8677
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysPostService.java
@@ -0,0 +1,110 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.system.domain.SysPost;
+
+import java.util.List;
+
+/**
+ * 岗位信息 服务层
+ *
+ * @author muyu
+ */
+public interface SysPostService extends IService {
+ /**
+ * 查询岗位信息集合
+ *
+ * @param post 岗位信息
+ *
+ * @return 岗位列表
+ */
+ public List selectPostList (SysPost post);
+
+ /**
+ * 查询所有岗位
+ *
+ * @return 岗位列表
+ */
+ public List selectPostAll ();
+
+ /**
+ * 通过岗位ID查询岗位信息
+ *
+ * @param postId 岗位ID
+ *
+ * @return 角色对象信息
+ */
+ public SysPost selectPostById (Long postId);
+
+ /**
+ * 根据用户ID获取岗位选择框列表
+ *
+ * @param userId 用户ID
+ *
+ * @return 选中岗位ID列表
+ */
+ public List selectPostListByUserId (Long userId);
+
+ /**
+ * 校验岗位名称
+ *
+ * @param post 岗位信息
+ *
+ * @return 结果
+ */
+ public boolean checkPostNameUnique (SysPost post);
+
+ /**
+ * 校验岗位编码
+ *
+ * @param post 岗位信息
+ *
+ * @return 结果
+ */
+ public boolean checkPostCodeUnique (SysPost post);
+
+ /**
+ * 通过岗位ID查询岗位使用数量
+ *
+ * @param postId 岗位ID
+ *
+ * @return 结果
+ */
+ public int countUserPostById (Long postId);
+
+ /**
+ * 删除岗位信息
+ *
+ * @param postId 岗位ID
+ *
+ * @return 结果
+ */
+ public int deletePostById (Long postId);
+
+ /**
+ * 批量删除岗位信息
+ *
+ * @param postIds 需要删除的岗位ID
+ *
+ * @return 结果
+ */
+ public int deletePostByIds (Long[] postIds);
+
+ /**
+ * 新增保存岗位信息
+ *
+ * @param post 岗位信息
+ *
+ * @return 结果
+ */
+ public int insertPost (SysPost post);
+
+ /**
+ * 修改保存岗位信息
+ *
+ * @param post 岗位信息
+ *
+ * @return 结果
+ */
+ public int updatePost (SysPost post);
+}
diff --git a/src/main/java/com/muyu/system/service/SysRoleService.java b/src/main/java/com/muyu/system/service/SysRoleService.java
new file mode 100644
index 0000000..47009f8
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysRoleService.java
@@ -0,0 +1,191 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.common.system.domain.SysRole;
+import com.muyu.system.domain.SysUserRole;
+
+import java.util.List;
+import java.util.Set;
+
+/**
+ * 角色业务层
+ *
+ * @author muyu
+ */
+public interface SysRoleService extends IService {
+ /**
+ * 根据条件分页查询角色数据
+ *
+ * @param role 角色信息
+ *
+ * @return 角色数据集合信息
+ */
+ public List selectRoleList (SysRole role);
+
+ /**
+ * 根据用户ID查询角色列表
+ *
+ * @param userId 用户ID
+ *
+ * @return 角色列表
+ */
+ public List selectRolesByUserId (Long userId);
+
+ /**
+ * 根据用户ID查询角色权限
+ *
+ * @param userId 用户ID
+ *
+ * @return 权限列表
+ */
+ public Set selectRolePermissionByUserId (Long userId);
+
+ /**
+ * 查询所有角色
+ *
+ * @return 角色列表
+ */
+ public List selectRoleAll ();
+
+ /**
+ * 根据用户ID获取角色选择框列表
+ *
+ * @param userId 用户ID
+ *
+ * @return 选中角色ID列表
+ */
+ public List selectRoleListByUserId (Long userId);
+
+ /**
+ * 通过角色ID查询角色
+ *
+ * @param roleId 角色ID
+ *
+ * @return 角色对象信息
+ */
+ public SysRole selectRoleById (Long roleId);
+
+ /**
+ * 校验角色名称是否唯一
+ *
+ * @param role 角色信息
+ *
+ * @return 结果
+ */
+ public boolean checkRoleNameUnique (SysRole role);
+
+ /**
+ * 校验角色权限是否唯一
+ *
+ * @param role 角色信息
+ *
+ * @return 结果
+ */
+ public boolean checkRoleKeyUnique (SysRole role);
+
+ /**
+ * 校验角色是否允许操作
+ *
+ * @param role 角色信息
+ */
+ public void checkRoleAllowed (SysRole role);
+
+ /**
+ * 校验角色是否有数据权限
+ *
+ * @param roleId 角色id
+ */
+ public void checkRoleDataScope (Long roleId);
+
+ /**
+ * 通过角色ID查询角色使用数量
+ *
+ * @param roleId 角色ID
+ *
+ * @return 结果
+ */
+ public int countUserRoleByRoleId (Long roleId);
+
+ /**
+ * 新增保存角色信息
+ *
+ * @param role 角色信息
+ *
+ * @return 结果
+ */
+ public int insertRole (SysRole role);
+
+ /**
+ * 修改保存角色信息
+ *
+ * @param role 角色信息
+ *
+ * @return 结果
+ */
+ public int updateRole (SysRole role);
+
+ /**
+ * 修改角色状态
+ *
+ * @param role 角色信息
+ *
+ * @return 结果
+ */
+ public int updateRoleStatus (SysRole role);
+
+ /**
+ * 修改数据权限信息
+ *
+ * @param role 角色信息
+ *
+ * @return 结果
+ */
+ public int authDataScope (SysRole role);
+
+ /**
+ * 通过角色ID删除角色
+ *
+ * @param roleId 角色ID
+ *
+ * @return 结果
+ */
+ public int deleteRoleById (Long roleId);
+
+ /**
+ * 批量删除角色信息
+ *
+ * @param roleIds 需要删除的角色ID
+ *
+ * @return 结果
+ */
+ public int deleteRoleByIds (Long[] roleIds);
+
+ /**
+ * 取消授权用户角色
+ *
+ * @param userRole 用户和角色关联信息
+ *
+ * @return 结果
+ */
+ public int deleteAuthUser (SysUserRole userRole);
+
+ /**
+ * 批量取消授权用户角色
+ *
+ * @param roleId 角色ID
+ * @param userIds 需要取消授权的用户数据ID
+ *
+ * @return 结果
+ */
+ public int deleteAuthUsers (Long roleId, Long[] userIds);
+
+ /**
+ * 批量选择授权用户角色
+ *
+ * @param roleId 角色ID
+ * @param userIds 需要删除的用户数据ID
+ *
+ * @return 结果
+ */
+ public int insertAuthUsers (Long roleId, Long[] userIds);
+}
diff --git a/src/main/java/com/muyu/system/service/SysUserOnlineService.java b/src/main/java/com/muyu/system/service/SysUserOnlineService.java
new file mode 100644
index 0000000..531735b
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysUserOnlineService.java
@@ -0,0 +1,52 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.common.system.domain.LoginUser;
+import com.muyu.system.domain.SysUserOnline;
+
+/**
+ * 在线用户 服务层
+ *
+ * @author muyu
+ */
+public interface SysUserOnlineService {
+ /**
+ * 通过登录地址查询信息
+ *
+ * @param ipaddr 登录地址
+ * @param user 用户信息
+ *
+ * @return 在线用户信息
+ */
+ public SysUserOnline selectOnlineByIpaddr (String ipaddr, LoginUser user);
+
+ /**
+ * 通过用户名称查询信息
+ *
+ * @param userName 用户名称
+ * @param user 用户信息
+ *
+ * @return 在线用户信息
+ */
+ public SysUserOnline selectOnlineByUserName (String userName, LoginUser user);
+
+ /**
+ * 通过登录地址/用户名称查询信息
+ *
+ * @param ipaddr 登录地址
+ * @param userName 用户名称
+ * @param user 用户信息
+ *
+ * @return 在线用户信息
+ */
+ public SysUserOnline selectOnlineByInfo (String ipaddr, String userName, LoginUser user);
+
+ /**
+ * 设置在线用户信息
+ *
+ * @param user 用户信息
+ *
+ * @return 在线用户
+ */
+ public SysUserOnline loginUserToUserOnline (LoginUser user);
+}
diff --git a/src/main/java/com/muyu/system/service/SysUserService.java b/src/main/java/com/muyu/system/service/SysUserService.java
new file mode 100644
index 0000000..f4c6167
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/SysUserService.java
@@ -0,0 +1,228 @@
+package com.muyu.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.muyu.common.system.domain.SysUser;
+
+import java.util.List;
+
+/**
+ * 用户 业务层
+ *
+ * @author muyu
+ */
+public interface SysUserService extends IService {
+ /**
+ * 根据条件分页查询用户列表
+ *
+ * @param user 用户信息
+ *
+ * @return 用户信息集合信息
+ */
+ public List selectUserList (SysUser user);
+
+ /**
+ * 根据条件分页查询已分配用户角色列表
+ *
+ * @param user 用户信息
+ *
+ * @return 用户信息集合信息
+ */
+ public List selectAllocatedList (SysUser user);
+
+ /**
+ * 根据条件分页查询未分配用户角色列表
+ *
+ * @param user 用户信息
+ *
+ * @return 用户信息集合信息
+ */
+ public List selectUnallocatedList (SysUser user);
+
+ /**
+ * 通过用户名查询用户
+ *
+ * @param userName 用户名
+ *
+ * @return 用户对象信息
+ */
+ public SysUser selectUserByUserName (String userName);
+
+ /**
+ * 通过用户ID查询用户
+ *
+ * @param userId 用户ID
+ *
+ * @return 用户对象信息
+ */
+ public SysUser selectUserById (Long userId);
+
+ /**
+ * 根据用户ID查询用户所属角色组
+ *
+ * @param userName 用户名
+ *
+ * @return 结果
+ */
+ public String selectUserRoleGroup (String userName);
+
+ /**
+ * 根据用户ID查询用户所属岗位组
+ *
+ * @param userName 用户名
+ *
+ * @return 结果
+ */
+ public String selectUserPostGroup (String userName);
+
+ /**
+ * 校验用户名称是否唯一
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public boolean checkUserNameUnique (SysUser user);
+
+ /**
+ * 校验手机号码是否唯一
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public boolean checkPhoneUnique (SysUser user);
+
+ /**
+ * 校验email是否唯一
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public boolean checkEmailUnique (SysUser user);
+
+ /**
+ * 校验用户是否允许操作
+ *
+ * @param user 用户信息
+ */
+ public void checkUserAllowed (SysUser user);
+
+ /**
+ * 校验用户是否有数据权限
+ *
+ * @param userId 用户id
+ */
+ public void checkUserDataScope (Long userId);
+
+ /**
+ * 新增用户信息
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public int insertUser (SysUser user);
+
+ /**
+ * 注册用户信息
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public boolean registerUser (SysUser user);
+
+ /**
+ * 修改用户信息
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public int updateUser (SysUser user);
+
+ /**
+ * 用户授权角色
+ *
+ * @param userId 用户ID
+ * @param roleIds 角色组
+ */
+ public void insertUserAuth (Long userId, Long[] roleIds);
+
+ /**
+ * 修改用户状态
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public int updateUserStatus (SysUser user);
+
+ /**
+ * 修改用户基本信息
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public int updateUserProfile (SysUser user);
+
+ /**
+ * 修改用户头像
+ *
+ * @param userName 用户名
+ * @param avatar 头像地址
+ *
+ * @return 结果
+ */
+ public boolean updateUserAvatar (String userName, String avatar);
+
+ /**
+ * 重置用户密码
+ *
+ * @param user 用户信息
+ *
+ * @return 结果
+ */
+ public int resetPwd (SysUser user);
+
+ /**
+ * 重置用户密码
+ *
+ * @param userName 用户名
+ * @param password 密码
+ *
+ * @return 结果
+ */
+ public int resetUserPwd (String userName, String password);
+
+ /**
+ * 通过用户ID删除用户
+ *
+ * @param userId 用户ID
+ *
+ * @return 结果
+ */
+ public int deleteUserById (Long userId);
+
+ /**
+ * 批量删除用户信息
+ *
+ * @param userIds 需要删除的用户ID
+ *
+ * @return 结果
+ */
+ public int deleteUserByIds (Long[] userIds);
+
+ /**
+ * 导入用户数据
+ *
+ * @param userList 用户数据列表
+ * @param isUpdateSupport 是否更新支持,如果已存在,则进行更新数据
+ * @param operName 操作用户
+ *
+ * @return 结果
+ */
+ public String importUser (List userList, Boolean isUpdateSupport, String operName);
+}
diff --git a/src/main/java/com/muyu/system/service/impl/SysConfigServiceImpl.java b/src/main/java/com/muyu/system/service/impl/SysConfigServiceImpl.java
new file mode 100644
index 0000000..bc07cc8
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/impl/SysConfigServiceImpl.java
@@ -0,0 +1,114 @@
+package com.muyu.system.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.muyu.common.core.constant.CacheConstants;
+import com.muyu.common.core.utils.StringUtils;
+import com.muyu.common.redis.service.RedisService;
+import com.muyu.system.domain.SysConfig;
+import com.muyu.system.mapper.SysConfigMapper;
+import com.muyu.system.service.SysConfigService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import org.springframework.util.Assert;
+
+import java.util.Collection;
+import java.util.Date;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * @author DongZl
+ * @description: 配置plus业务实现层
+ * @Date 2023-11-13 上午 10:06
+ */
+@Service
+public class SysConfigServiceImpl extends ServiceImpl
+ implements SysConfigService {
+
+ @Autowired
+ private RedisService redisService;
+
+ @Override
+ public List pageQuery (SysConfig config) {
+ LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>();
+ if (StringUtils.isNotEmpty(config.getConfigName())){
+ queryWrapper.like(SysConfig::getConfigName, config.getConfigName());
+ }
+ if (StringUtils.isNotEmpty(config.getConfigType())){
+ queryWrapper.like(SysConfig::getConfigType, config.getConfigType());
+ }
+ if (StringUtils.isNotEmpty(config.getConfigKey())){
+ queryWrapper.like(SysConfig::getConfigKey, config.getConfigKey());
+ }
+ Object beginTime = config.getParams().get("beginTime");
+ if (Objects.nonNull(beginTime) && beginTime instanceof Date beginDate){
+ queryWrapper.gt(SysConfig::getCreateTime, beginDate);
+ }
+ Object endTime = config.getParams().get("endTime");
+ if (Objects.nonNull(endTime) && endTime instanceof Date endDate){
+ queryWrapper.lt(SysConfig::getCreateTime, endDate);
+ }
+ return this.list(queryWrapper);
+ }
+
+ /**
+ * 通过Key进行查询值
+ *
+ * @param configKey
+ *
+ * @return
+ */
+ @Override
+ public String selectConfigByKey (String configKey) {
+ LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>();
+ Assert.notNull(configKey, "key不可为空");
+ queryWrapper.eq(SysConfig::getConfigKey, configKey);
+ SysConfig sysConfig = this.getOne(queryWrapper);
+ return sysConfig.getConfigValue();
+ }
+
+ @Override
+ public boolean checkConfigKeyUnique (SysConfig config) {
+ LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>();
+ queryWrapper.eq(SysConfig::getConfigKey, config.getConfigKey());
+ return this.count(queryWrapper) > 0;
+ }
+
+ @Override
+ public void resetConfigCache () {
+ this.clearConfigCache();
+ this.loadingConfigCache();
+ }
+
+ /**
+ * 清空参数缓存数据
+ */
+ @Override
+ public void clearConfigCache () {
+ Collection keys = redisService.keys(CacheConstants.SYS_CONFIG_KEY + "*");
+ redisService.deleteObject(keys);
+ }
+
+ /**
+ * 加载参数缓存数据
+ */
+ @Override
+ public void loadingConfigCache () {
+ List configsList = this.list();
+ for (SysConfig config : configsList) {
+ redisService.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue());
+ }
+ }
+
+ /**
+ * 设置cache key
+ *
+ * @param configKey 参数键
+ *
+ * @return 缓存键key
+ */
+ private String getCacheKey (String configKey) {
+ return CacheConstants.SYS_CONFIG_KEY + configKey;
+ }
+}
diff --git a/src/main/java/com/muyu/system/service/impl/SysDeptServiceImpl.java b/src/main/java/com/muyu/system/service/impl/SysDeptServiceImpl.java
new file mode 100644
index 0000000..a55301b
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/impl/SysDeptServiceImpl.java
@@ -0,0 +1,318 @@
+package com.muyu.system.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.muyu.common.core.constant.UserConstants;
+import com.muyu.common.core.exception.ServiceException;
+import com.muyu.common.core.text.Convert;
+import com.muyu.common.core.utils.SpringUtils;
+import com.muyu.common.core.utils.StringUtils;
+import com.muyu.common.datascope.annotation.DataScope;
+import com.muyu.common.security.utils.SecurityUtils;
+import com.muyu.common.system.domain.SysDept;
+import com.muyu.common.system.domain.SysRole;
+import com.muyu.common.system.domain.SysUser;
+import com.muyu.system.domain.vo.TreeSelect;
+import com.muyu.system.mapper.SysDeptMapper;
+import com.muyu.system.mapper.SysRoleMapper;
+import com.muyu.system.service.SysDeptService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.stream.Collectors;
+
+/**
+ * 部门管理 服务实现
+ *
+ * @author muyu
+ */
+@Service
+public class SysDeptServiceImpl extends ServiceImpl implements SysDeptService {
+ @Autowired
+ private SysDeptMapper deptMapper;
+
+ @Autowired
+ private SysRoleMapper roleMapper;
+
+ /**
+ * 查询部门管理数据
+ *
+ * @param dept 部门信息
+ *
+ * @return 部门信息集合
+ */
+ @Override
+ @DataScope(deptAlias = "d")
+ public List selectDeptList (SysDept dept) {
+ return deptMapper.selectDeptList(dept);
+ }
+
+ /**
+ * 查询部门树结构信息
+ *
+ * @param dept 部门信息
+ *
+ * @return 部门树信息集合
+ */
+ @Override
+ public List selectDeptTreeList (SysDept dept) {
+ List depts = SpringUtils.getAopProxy(this).selectDeptList(dept);
+ return buildDeptTreeSelect(depts);
+ }
+
+ /**
+ * 构建前端所需要树结构
+ *
+ * @param depts 部门列表
+ *
+ * @return 树结构列表
+ */
+ @Override
+ public List buildDeptTree (List depts) {
+ List returnList = new ArrayList();
+ List tempList = depts.stream().map(SysDept::getDeptId).collect(Collectors.toList());
+ for (SysDept dept : depts) {
+ // 如果是顶级节点, 遍历该父节点的所有子节点
+ if (!tempList.contains(dept.getParentId())) {
+ recursionFn(depts, dept);
+ returnList.add(dept);
+ }
+ }
+ if (returnList.isEmpty()) {
+ returnList = depts;
+ }
+ return returnList;
+ }
+
+ /**
+ * 构建前端所需要下拉树结构
+ *
+ * @param depts 部门列表
+ *
+ * @return 下拉树结构列表
+ */
+ @Override
+ public List buildDeptTreeSelect (List depts) {
+ List deptTrees = buildDeptTree(depts);
+ return deptTrees.stream().map(TreeSelect::new).collect(Collectors.toList());
+ }
+
+ /**
+ * 根据角色ID查询部门树信息
+ *
+ * @param roleId 角色ID
+ *
+ * @return 选中部门列表
+ */
+ @Override
+ public List selectDeptListByRoleId (Long roleId) {
+ SysRole role = roleMapper.selectRoleById(roleId);
+ return deptMapper.selectDeptListByRoleId(roleId, role.isDeptCheckStrictly());
+ }
+
+ /**
+ * 根据部门ID查询信息
+ *
+ * @param deptId 部门ID
+ *
+ * @return 部门信息
+ */
+ @Override
+ public SysDept selectDeptById (Long deptId) {
+ return deptMapper.selectDeptById(deptId);
+ }
+
+ /**
+ * 根据ID查询所有子部门(正常状态)
+ *
+ * @param deptId 部门ID
+ *
+ * @return 子部门数
+ */
+ @Override
+ public int selectNormalChildrenDeptById (Long deptId) {
+ return deptMapper.selectNormalChildrenDeptById(deptId);
+ }
+
+ /**
+ * 是否存在子节点
+ *
+ * @param deptId 部门ID
+ *
+ * @return 结果
+ */
+ @Override
+ public boolean hasChildByDeptId (Long deptId) {
+ int result = deptMapper.hasChildByDeptId(deptId);
+ return result > 0;
+ }
+
+ /**
+ * 查询部门是否存在用户
+ *
+ * @param deptId 部门ID
+ *
+ * @return 结果 true 存在 false 不存在
+ */
+ @Override
+ public boolean checkDeptExistUser (Long deptId) {
+ int result = deptMapper.checkDeptExistUser(deptId);
+ return result > 0;
+ }
+
+ /**
+ * 校验部门名称是否唯一
+ *
+ * @param dept 部门信息
+ *
+ * @return 结果
+ */
+ @Override
+ public boolean checkDeptNameUnique (SysDept dept) {
+ Long deptId = StringUtils.isNull(dept.getDeptId()) ? -1L : dept.getDeptId();
+ SysDept info = deptMapper.checkDeptNameUnique(dept.getDeptName(), dept.getParentId());
+ if (StringUtils.isNotNull(info) && info.getDeptId().longValue() != deptId.longValue()) {
+ return UserConstants.NOT_UNIQUE;
+ }
+ return UserConstants.UNIQUE;
+ }
+
+ /**
+ * 校验部门是否有数据权限
+ *
+ * @param deptId 部门id
+ */
+ @Override
+ public void checkDeptDataScope (Long deptId) {
+ if (!SysUser.isAdmin(SecurityUtils.getUserId())) {
+ SysDept dept = new SysDept();
+ dept.setDeptId(deptId);
+ List depts = SpringUtils.getAopProxy(this).selectDeptList(dept);
+ if (StringUtils.isEmpty(depts)) {
+ throw new ServiceException("没有权限访问部门数据!");
+ }
+ }
+ }
+
+ /**
+ * 新增保存部门信息
+ *
+ * @param dept 部门信息
+ *
+ * @return 结果
+ */
+ @Override
+ public int insertDept (SysDept dept) {
+ SysDept info = deptMapper.selectDeptById(dept.getParentId());
+ // 如果父节点不为正常状态,则不允许新增子节点
+ if (!UserConstants.DEPT_NORMAL.equals(info.getStatus())) {
+ throw new ServiceException("部门停用,不允许新增");
+ }
+ dept.setAncestors(info.getAncestors() + "," + dept.getParentId());
+ return deptMapper.insertDept(dept);
+ }
+
+ /**
+ * 修改保存部门信息
+ *
+ * @param dept 部门信息
+ *
+ * @return 结果
+ */
+ @Override
+ public int updateDept (SysDept dept) {
+ SysDept newParentDept = deptMapper.selectDeptById(dept.getParentId());
+ SysDept oldDept = deptMapper.selectDeptById(dept.getDeptId());
+ if (StringUtils.isNotNull(newParentDept) && StringUtils.isNotNull(oldDept)) {
+ String newAncestors = newParentDept.getAncestors() + "," + newParentDept.getDeptId();
+ String oldAncestors = oldDept.getAncestors();
+ dept.setAncestors(newAncestors);
+ updateDeptChildren(dept.getDeptId(), newAncestors, oldAncestors);
+ }
+ int result = deptMapper.updateDept(dept);
+ if (UserConstants.DEPT_NORMAL.equals(dept.getStatus()) && StringUtils.isNotEmpty(dept.getAncestors())
+ && !StringUtils.equals("0", dept.getAncestors())) {
+ // 如果该部门是启用状态,则启用该部门的所有上级部门
+ updateParentDeptStatusNormal(dept);
+ }
+ return result;
+ }
+
+ /**
+ * 修改该部门的父级部门状态
+ *
+ * @param dept 当前部门
+ */
+ private void updateParentDeptStatusNormal (SysDept dept) {
+ String ancestors = dept.getAncestors();
+ Long[] deptIds = Convert.toLongArray(ancestors);
+ deptMapper.updateDeptStatusNormal(deptIds);
+ }
+
+ /**
+ * 修改子元素关系
+ *
+ * @param deptId 被修改的部门ID
+ * @param newAncestors 新的父ID集合
+ * @param oldAncestors 旧的父ID集合
+ */
+ public void updateDeptChildren (Long deptId, String newAncestors, String oldAncestors) {
+ List children = deptMapper.selectChildrenDeptById(deptId);
+ for (SysDept child : children) {
+ child.setAncestors(child.getAncestors().replaceFirst(oldAncestors, newAncestors));
+ }
+ if (children.size() > 0) {
+ deptMapper.updateDeptChildren(children);
+ }
+ }
+
+ /**
+ * 删除部门管理信息
+ *
+ * @param deptId 部门ID
+ *
+ * @return 结果
+ */
+ @Override
+ public int deleteDeptById (Long deptId) {
+ return deptMapper.deleteDeptById(deptId);
+ }
+
+ /**
+ * 递归列表
+ */
+ private void recursionFn (List list, SysDept t) {
+ // 得到子节点列表
+ List childList = getChildList(list, t);
+ t.setChildren(childList);
+ for (SysDept tChild : childList) {
+ if (hasChild(list, tChild)) {
+ recursionFn(list, tChild);
+ }
+ }
+ }
+
+ /**
+ * 得到子节点列表
+ */
+ private List getChildList (List list, SysDept t) {
+ List tlist = new ArrayList();
+ Iterator it = list.iterator();
+ while (it.hasNext()) {
+ SysDept n = (SysDept) it.next();
+ if (StringUtils.isNotNull(n.getParentId()) && n.getParentId().longValue() == t.getDeptId().longValue()) {
+ tlist.add(n);
+ }
+ }
+ return tlist;
+ }
+
+ /**
+ * 判断是否有子节点
+ */
+ private boolean hasChild (List list, SysDept t) {
+ return getChildList(list, t).size() > 0 ? true : false;
+ }
+}
diff --git a/src/main/java/com/muyu/system/service/impl/SysDictDataServiceImpl.java b/src/main/java/com/muyu/system/service/impl/SysDictDataServiceImpl.java
new file mode 100644
index 0000000..777ffbd
--- /dev/null
+++ b/src/main/java/com/muyu/system/service/impl/SysDictDataServiceImpl.java
@@ -0,0 +1,108 @@
+package com.muyu.system.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.muyu.common.security.utils.DictUtils;
+import com.muyu.common.system.domain.SysDictData;
+import com.muyu.system.mapper.SysDictDataMapper;
+import com.muyu.system.service.SysDictDataService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 字典 业务层处理
+ *
+ * @author muyu
+ */
+@Service
+public class SysDictDataServiceImpl extends ServiceImpl