reghao 2 týždňov pred
rodič
commit
691253fd4c

+ 0 - 5
auth/auth-service/src/main/resources/application-dev-full.yml

@@ -25,11 +25,6 @@ server:
         # 两个请求间隔的最大时间, 超过此时间则会话过期
       timeout: 10m
 spring:
-  threads:
-    virtual:
-      enabled: true
-  application:
-    name: auth-service
   mvc:
     pathmatch:
       matching-strategy: ant_path_matcher

+ 0 - 5
auth/auth-service/src/main/resources/application-test-full.yml

@@ -25,11 +25,6 @@ server:
         # 两个请求间隔的最大时间, 超过此时间则会话过期
       timeout: 10m
 spring:
-  threads:
-    virtual:
-      enabled: true
-  application:
-    name: auth-service
   mvc:
     pathmatch:
       matching-strategy: ant_path_matcher

+ 1 - 4
content/content-service/src/main/resources/mapper/vod/VideoPostMapper.xml

@@ -51,10 +51,7 @@
         <where>
             deleted=0
             <if test="status != null">
-                and `status` in
-                <foreach collection="status" item="id" index="index" open="(" close=")" separator=",">
-                    #{id}
-                </foreach>
+                and `status`=#{status}
             </if>
             <if test="scope != null">
                 and scope in

+ 0 - 5
gateway/src/main/resources/application-dev-full.yml

@@ -1,11 +1,6 @@
 server:
   port: 6000
 spring:
-  threads:
-    virtual:
-      enabled: true
-  application:
-    name: gateway
   cloud:
     discovery:
       enabled: true

+ 0 - 5
gateway/src/main/resources/application-test-full.yml

@@ -1,11 +1,6 @@
 server:
   port: 6000
 spring:
-  threads:
-    virtual:
-      enabled: true
-  application:
-    name: gateway
   cloud:
     discovery:
       enabled: true