zxy 3 lat temu
rodzic
commit
a092341b66

+ 1 - 1
src/main/java/com/example/Thread/ThreadRunnable.java

@@ -32,7 +32,7 @@ class ThreadRun implements Runnable {
32 32
 class ProxyTest implements Runnable {
33 33
     @Override
34 34
     public void run() {
35
-        System.out.println("proxyTest---" + Thread.currentThread().getName());
35
+        System.out.println("proxyTest11---" + Thread.currentThread().getName());
36 36
     }
37 37
 }
38 38
 // 代理模式,可以把它当成是Thread 类

+ 1 - 1
src/main/resources/application-dev.yml

@@ -18,7 +18,7 @@ spring:
18 18
         login-username: zxy
19 19
         login-password: 123456
20 20
       driver-class-name: com.mysql.cj.jdbc.Driver
21
-      url: jdbc:mysql://localhost:3306/ceshi?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
21
+      url: jdbc:mysql://192.168.0.201:3306/ceshi?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
22 22
       username: root
23 23
       password:
24 24
   jpa: