Browse Source

feat:0 支付工程

devlop
yang_shj 4 years ago
parent
commit
f27bb4aaaf
  1. 33
      payment-base-app/pom.xml
  2. 13
      payment-base-app/src/main/resources/application.yml

33
payment-base-app/pom.xml

@ -190,6 +190,39 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>com.base.app</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<!--下面是为了使用 mvn package命令,如果不加则使用mvn assembly-->
<executions>
<execution>
<id>make-assemble</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>maven-public</id>

13
payment-base-app/src/main/resources/application.yml

@ -9,10 +9,10 @@ spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource #当前数据源操作类型
driver-class-name: org.gjt.mm.mysql.Driver #数据库驱动包
url: jdbc:mysql://106.14.81.251:3306/rbs_erp_test?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false
username: root
password: hnrr%%360
#rabbitmq 配置
url: jdbc:mysql://rm-uf672osw4deemr4yt.mysql.rds.aliyuncs.com:3306/rbs_erp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false
username: hnrr
password: hnrr@0b6759c29a8e
#rabbitmq 配置
#rabbitmq:
#host: localhost
#port: 5672
@ -20,12 +20,13 @@ spring:
#password: pay123123
# redis 配置
redis:
database: 10
# 地址
host: 127.0.0.1
host: r-uf643kmbsoz7ledq2j.redis.rds.aliyuncs.com
# 端口,默认为6379
port: 6379
# 密码
password: 123456
password: rds@53798a0fa6ce
# 连接超时时间
timeout: 10s
lettuce:

Loading…
Cancel
Save