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">
<parent>
<artifactId>sxt-modules</artifactId>
<groupId>com.yxt</groupId>
<artifactId>yxt-parent</artifactId>
<version>0.0.1</version>
<relativePath/>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ss-common-purchase</artifactId>
<groupId>ss-common-purchase</groupId>
<version>2.0.1</version>
<artifactId>sxt-modules-purchase</artifactId>
<version>0.0.1</version>
<dependencies>
<dependency>
<groupId>com.yxt</groupId>
<artifactId>yxt-common-base</artifactId>
<artifactId>sxt-common-base</artifactId>
<version>0.0.1</version>
</dependency>

View File

@@ -3,27 +3,23 @@ spring:
hikari:
max-lifetime: 500000
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://8.130.39.13:3306/yxt_lpk_yythmall?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
username: root
# password: 1LAiGz$t1*Iw
password: yxt_mysql_138
password: Yxt@67508182
cloud:
nacos:
discovery:
namespace: common
server-addr: 39.104.100.138:8848
register-enabled: false
server-addr: 127.0.0.1:8848
redis:
database: 3 # Redis数据库索引默认为0
host: 39.104.100.138
host: 127.0.0.1
jedis:
pool:
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
max-idle: 8 #连接池中的最大空闲连接
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
min-idle: 0 # 连接池中的最小空闲连接
password:
password: 123456
port: 6379
timeout: 0 # 连接超时时间(毫秒)

View File

@@ -1,6 +1,6 @@
spring:
application:
name: ss-common-purchase
name: sxt-common-purchase
profiles:
active: dev
# active: test
@@ -19,7 +19,7 @@ spring:
enabled: true
server:
port: 6215
port: 10009
max-http-header-size: 102400
undertow:
max-http-post-size: -1
@@ -40,11 +40,5 @@ mybatis-plus:
call-setters-on-nulls: true
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"?>
<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">
<encoder>