Skip to content

Commit a339193

Browse files
committed
[Test 网关模块] 网关模块端口更改为10000 <Auto> -e:test -m:rvc-gateway -v:1.0 -rp:10000 -de:<-e ACTIVE=test -e UNIQUE_ID=0 -e SERVER_PORT=10000>
1 parent 1383cfe commit a339193

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

rvc-feedback/pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
<artifactId>rvc-common</artifactId>
2525
</dependency>
2626

27+
<dependency>
28+
<groupId>com.tml</groupId>
29+
<artifactId>rvc-rpc</artifactId>
30+
<version>1.0-SNAPSHOT</version>
31+
</dependency>
32+
2733
<!-- nacos-->
2834
<dependency>
2935
<groupId>com.alibaba.cloud</groupId>

rvc-feedback/src/main/java/com/tml/service/impl/FeedbackServiceImpl.java

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.tml.service.impl;
22

33
import com.baomidou.mybatisplus.core.metadata.IPage;
4+
import com.tml.client.UserServiceClient;
45
import com.tml.common.DetectionStatusEnum;
56
import com.tml.constant.QueryType;
67
import com.tml.exception.RvcSQLException;
@@ -40,6 +41,9 @@ public class FeedbackServiceImpl implements FeedbackService {
4041
@Resource
4142
IFeedbackDaoService feedbackDaoService;
4243

44+
@Resource
45+
UserServiceClient userServiceClient;
46+
4347
@Resource
4448
IFeedbackLikeDaoService likeDaoService;
4549

rvc-gateway/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ EXPOSE ${SERVER_PORT}
2323
ENTRYPOINT ["java","-jar","/rvc-gateway.jar"]
2424

2525

26-
#<Auto> -e:prod -m:rvc-gateway -v:1.0 -rp:10010 -de:<-e ACTIVE=prod -e UNIQUE_ID=0 -e SERVER_PORT=10010>
26+
#<Auto> -e:prod -m:rvc-gateway -v:1.0 -rp:10000 -de:<-e ACTIVE=prod -e UNIQUE_ID=0 -e SERVER_PORT=10000>
2727

28-
#<Auto> -e:test -m:rvc-gateway -v:1.0 -rp:10010 -de:<-e ACTIVE=test -e UNIQUE_ID=0 -e SERVER_PORT=10010>
28+
#<Auto> -e:test -m:rvc-gateway -v:1.0 -rp:10000 -de:<-e ACTIVE=test -e UNIQUE_ID=0 -e SERVER_PORT=10000>

rvc-gateway/src/main/resources/bootstrap.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
server:
2-
port: ${SERVER_PORT:10010}
2+
port: ${SERVER_PORT:10000}
33

44
spring:
55
main:

0 commit comments

Comments
 (0)