This commit is contained in:
2025-09-22 11:08:50 +08:00
parent b51fb6bb52
commit 52fe438544
5 changed files with 12 additions and 24 deletions

View File

10
pom.xml
View File

@@ -4,21 +4,19 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<artifactId>sxt-modules</artifactId>
<groupId>com.yxt</groupId> <groupId>com.yxt</groupId>
<artifactId>yxt-parent</artifactId>
<version>0.0.1</version> <version>0.0.1</version>
<relativePath/>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>ss-common-purchase</artifactId> <artifactId>sxt-modules-purchase</artifactId>
<groupId>ss-common-purchase</groupId> <version>0.0.1</version>
<version>2.0.1</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.yxt</groupId> <groupId>com.yxt</groupId>
<artifactId>yxt-common-base</artifactId> <artifactId>sxt-common-base</artifactId>
<version>0.0.1</version> <version>0.0.1</version>
</dependency> </dependency>

View File

@@ -3,27 +3,23 @@ spring:
hikari: hikari:
max-lifetime: 500000 max-lifetime: 500000
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://39.104.100.138:3306/ss_purchase?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true url: jdbc:mysql://101.200.164.102:3306/ss_purchase?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
# url: jdbc:mysql://8.130.39.13:3306/yxt_lpk_yythmall?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
username: root username: root
# password: 1LAiGz$t1*Iw password: Yxt@67508182
password: yxt_mysql_138
cloud: cloud:
nacos: nacos:
discovery: discovery:
namespace: common server-addr: 127.0.0.1:8848
server-addr: 39.104.100.138:8848
register-enabled: false
redis: redis:
database: 3 # Redis数据库索引默认为0 database: 3 # Redis数据库索引默认为0
host: 39.104.100.138 host: 127.0.0.1
jedis: jedis:
pool: pool:
max-active: -1 #连接池最大连接数(使用负值表示没有限制) max-active: -1 #连接池最大连接数(使用负值表示没有限制)
max-idle: 8 #连接池中的最大空闲连接 max-idle: 8 #连接池中的最大空闲连接
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
min-idle: 0 # 连接池中的最小空闲连接 min-idle: 0 # 连接池中的最小空闲连接
password: password: 123456
port: 6379 port: 6379
timeout: 0 # 连接超时时间(毫秒) timeout: 0 # 连接超时时间(毫秒)

View File

@@ -1,6 +1,6 @@
spring: spring:
application: application:
name: ss-common-purchase name: sxt-common-purchase
profiles: profiles:
active: dev active: dev
# active: test # active: test
@@ -19,7 +19,7 @@ spring:
enabled: true enabled: true
server: server:
port: 6215 port: 10009
max-http-header-size: 102400 max-http-header-size: 102400
undertow: undertow:
max-http-post-size: -1 max-http-post-size: -1
@@ -40,11 +40,5 @@ mybatis-plus:
call-setters-on-nulls: true call-setters-on-nulls: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#rocketmq:
# producer:
# group: yxt-supervise-gf
# name-server: 127.0.0.1:9876

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<configuration> <configuration>
<property name="log.base" value="logs/yxt_yyth" /> <property name="log.base" value="logs/yxt-purchase" />
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder> <encoder>