Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rel_ai
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨阔
rel_ai
Commits
74d88477
Commit
74d88477
authored
Apr 30, 2026
by
杨阔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改大模型以及时间问题
parent
10c00f24
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
67 additions
and
30 deletions
+67
-30
BailianController.java
...m/example/customervisit/controller/BailianController.java
+3
-3
VisitPlanController.java
...example/customervisit/controller/VisitPlanController.java
+2
-2
VisitPlanRequest.java
.../java/com/example/customervisit/dto/VisitPlanRequest.java
+2
-0
Customer.java
src/main/java/com/example/customervisit/entity/Customer.java
+4
-3
DialogContext.java
.../java/com/example/customervisit/entity/DialogContext.java
+2
-1
UserMessage.java
...in/java/com/example/customervisit/entity/UserMessage.java
+1
-0
VisitPlanDetail.java
...ava/com/example/customervisit/entity/VisitPlanDetail.java
+2
-1
VisitReview.java
...in/java/com/example/customervisit/entity/VisitReview.java
+6
-1
VisitSimulation.java
...ava/com/example/customervisit/entity/VisitSimulation.java
+5
-1
DeepSeekServiceImpl.java
...ample/customervisit/service/impl/DeepSeekServiceImpl.java
+3
-3
IntentAnalyzeServiceImpl.java
.../customervisit/service/impl/IntentAnalyzeServiceImpl.java
+9
-6
VisitSimulationServiceImpl.java
...ustomervisit/service/impl/VisitSimulationServiceImpl.java
+1
-1
application-dev.yml
src/main/resources/application-dev.yml
+8
-3
application-prod.yml
src/main/resources/application-prod.yml
+7
-1
application-sit.yml
src/main/resources/application-sit.yml
+8
-3
application.yml
src/main/resources/application.yml
+4
-1
No files found.
src/main/java/com/example/customervisit/controller/BailianController.java
View file @
74d88477
...
@@ -46,7 +46,7 @@ public class BailianController {
...
@@ -46,7 +46,7 @@ public class BailianController {
headers
.
setBearerAuth
(
apiKey
);
headers
.
setBearerAuth
(
apiKey
);
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
8192
);
requestBody
.
put
(
"max_tokens"
,
8192
);
...
@@ -101,7 +101,7 @@ public class BailianController {
...
@@ -101,7 +101,7 @@ public class BailianController {
headers
.
setBearerAuth
(
apiKey
);
headers
.
setBearerAuth
(
apiKey
);
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
500
);
requestBody
.
put
(
"max_tokens"
,
500
);
...
@@ -164,7 +164,7 @@ public class BailianController {
...
@@ -164,7 +164,7 @@ public class BailianController {
headers
.
setBearerAuth
(
apiKey
);
headers
.
setBearerAuth
(
apiKey
);
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
1000
);
requestBody
.
put
(
"max_tokens"
,
1000
);
...
...
src/main/java/com/example/customervisit/controller/VisitPlanController.java
View file @
74d88477
...
@@ -746,7 +746,7 @@ public class VisitPlanController {
...
@@ -746,7 +746,7 @@ public class VisitPlanController {
// 构建请求体
// 构建请求体
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
2000
);
requestBody
.
put
(
"max_tokens"
,
2000
);
...
@@ -870,7 +870,7 @@ public class VisitPlanController {
...
@@ -870,7 +870,7 @@ public class VisitPlanController {
// 构建请求体
// 构建请求体
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
3000
);
requestBody
.
put
(
"max_tokens"
,
3000
);
...
...
src/main/java/com/example/customervisit/dto/VisitPlanRequest.java
View file @
74d88477
...
@@ -29,4 +29,6 @@ public class VisitPlanRequest {
...
@@ -29,4 +29,6 @@ public class VisitPlanRequest {
private
String
plan
;
private
String
plan
;
private
Map
<
String
,
Object
>
customerInfo
;
private
Map
<
String
,
Object
>
customerInfo
;
private
String
username
;
}
}
src/main/java/com/example/customervisit/entity/Customer.java
View file @
74d88477
...
@@ -290,8 +290,8 @@ public class Customer {
...
@@ -290,8 +290,8 @@ public class Customer {
@PrePersist
@PrePersist
protected
void
onCreate
()
{
protected
void
onCreate
()
{
createdAt
=
LocalDateTime
.
now
();
createdAt
=
LocalDateTime
.
now
(
java
.
time
.
ZoneId
.
of
(
"Asia/Shanghai"
)
);
updatedAt
=
LocalDateTime
.
now
();
updatedAt
=
LocalDateTime
.
now
(
java
.
time
.
ZoneId
.
of
(
"Asia/Shanghai"
)
);
if
(
id
==
null
||
id
.
isEmpty
())
{
if
(
id
==
null
||
id
.
isEmpty
())
{
id
=
String
.
valueOf
(
System
.
currentTimeMillis
());
id
=
String
.
valueOf
(
System
.
currentTimeMillis
());
}
}
...
@@ -299,6 +299,6 @@ public class Customer {
...
@@ -299,6 +299,6 @@ public class Customer {
@PreUpdate
@PreUpdate
protected
void
onUpdate
()
{
protected
void
onUpdate
()
{
updatedAt
=
LocalDateTime
.
now
();
updatedAt
=
LocalDateTime
.
now
(
java
.
time
.
ZoneId
.
of
(
"Asia/Shanghai"
)
);
}
}
}
}
\ No newline at end of file
src/main/java/com/example/customervisit/entity/DialogContext.java
View file @
74d88477
...
@@ -40,6 +40,6 @@ public class DialogContext {
...
@@ -40,6 +40,6 @@ public class DialogContext {
@PrePersist
@PrePersist
protected
void
onCreate
()
{
protected
void
onCreate
()
{
createdAt
=
LocalDateTime
.
now
();
createdAt
=
LocalDateTime
.
now
(
java
.
time
.
ZoneId
.
of
(
"Asia/Shanghai"
)
);
}
}
}
}
\ No newline at end of file
src/main/java/com/example/customervisit/entity/UserMessage.java
View file @
74d88477
package
com
.
example
.
customervisit
.
entity
;
package
com
.
example
.
customervisit
.
entity
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
jakarta.persistence.*
;
import
jakarta.persistence.*
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/main/java/com/example/customervisit/entity/VisitPlanDetail.java
View file @
74d88477
...
@@ -34,6 +34,6 @@ public class VisitPlanDetail {
...
@@ -34,6 +34,6 @@ public class VisitPlanDetail {
@PrePersist
@PrePersist
protected
void
onCreate
()
{
protected
void
onCreate
()
{
createdAt
=
LocalDateTime
.
now
();
createdAt
=
LocalDateTime
.
now
(
java
.
time
.
ZoneId
.
of
(
"Asia/Shanghai"
)
);
}
}
}
}
\ No newline at end of file
src/main/java/com/example/customervisit/entity/VisitReview.java
View file @
74d88477
...
@@ -31,7 +31,11 @@ public class VisitReview {
...
@@ -31,7 +31,11 @@ public class VisitReview {
@Column
(
name
=
"created_by"
)
@Column
(
name
=
"created_by"
)
private
String
createdBy
;
private
String
createdBy
;
@CreationTimestamp
@Column
(
name
=
"created_at"
,
updatable
=
false
)
@Column
(
name
=
"created_at"
,
updatable
=
false
)
private
LocalDateTime
createdAt
;
private
LocalDateTime
createdAt
;
@PrePersist
protected
void
onCreate
()
{
createdAt
=
LocalDateTime
.
now
(
java
.
time
.
ZoneId
.
of
(
"Asia/Shanghai"
));
}
}
}
\ No newline at end of file
src/main/java/com/example/customervisit/entity/VisitSimulation.java
View file @
74d88477
...
@@ -31,7 +31,11 @@ public class VisitSimulation {
...
@@ -31,7 +31,11 @@ public class VisitSimulation {
@Column
(
name
=
"created_by"
)
@Column
(
name
=
"created_by"
)
private
String
createdBy
;
private
String
createdBy
;
@CreationTimestamp
@Column
(
name
=
"created_at"
,
updatable
=
false
)
@Column
(
name
=
"created_at"
,
updatable
=
false
)
private
LocalDateTime
createdAt
;
private
LocalDateTime
createdAt
;
@PrePersist
protected
void
onCreate
()
{
createdAt
=
LocalDateTime
.
now
(
java
.
time
.
ZoneId
.
of
(
"Asia/Shanghai"
));
}
}
}
src/main/java/com/example/customervisit/service/impl/DeepSeekServiceImpl.java
View file @
74d88477
...
@@ -48,7 +48,7 @@ public class DeepSeekServiceImpl implements DeepSeekService {
...
@@ -48,7 +48,7 @@ public class DeepSeekServiceImpl implements DeepSeekService {
headers
.
setBearerAuth
(
apiKey
);
headers
.
setBearerAuth
(
apiKey
);
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
8192
);
requestBody
.
put
(
"max_tokens"
,
8192
);
...
@@ -108,7 +108,7 @@ public class DeepSeekServiceImpl implements DeepSeekService {
...
@@ -108,7 +108,7 @@ public class DeepSeekServiceImpl implements DeepSeekService {
headers
.
setBearerAuth
(
apiKey
);
headers
.
setBearerAuth
(
apiKey
);
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
500
);
requestBody
.
put
(
"max_tokens"
,
500
);
...
@@ -175,7 +175,7 @@ public class DeepSeekServiceImpl implements DeepSeekService {
...
@@ -175,7 +175,7 @@ public class DeepSeekServiceImpl implements DeepSeekService {
headers
.
setBearerAuth
(
apiKey
);
headers
.
setBearerAuth
(
apiKey
);
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
1000
);
requestBody
.
put
(
"max_tokens"
,
1000
);
...
...
src/main/java/com/example/customervisit/service/impl/IntentAnalyzeServiceImpl.java
View file @
74d88477
...
@@ -29,6 +29,7 @@ import org.springframework.transaction.annotation.Transactional;
...
@@ -29,6 +29,7 @@ import org.springframework.transaction.annotation.Transactional;
import
org.springframework.web.client.RestTemplate
;
import
org.springframework.web.client.RestTemplate
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.time.OffsetDateTime
;
import
java.time.format.DateTimeFormatter
;
import
java.time.format.DateTimeFormatter
;
import
java.time.format.DateTimeParseException
;
import
java.time.format.DateTimeParseException
;
import
java.util.HashMap
;
import
java.util.HashMap
;
...
@@ -267,7 +268,7 @@ public class IntentAnalyzeServiceImpl implements IntentAnalyzeService {
...
@@ -267,7 +268,7 @@ public class IntentAnalyzeServiceImpl implements IntentAnalyzeService {
headers
.
setBearerAuth
(
apiKey
);
headers
.
setBearerAuth
(
apiKey
);
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
8192
);
requestBody
.
put
(
"max_tokens"
,
8192
);
...
@@ -404,7 +405,7 @@ public class IntentAnalyzeServiceImpl implements IntentAnalyzeService {
...
@@ -404,7 +405,7 @@ public class IntentAnalyzeServiceImpl implements IntentAnalyzeService {
headers
.
setBearerAuth
(
apiKey
);
headers
.
setBearerAuth
(
apiKey
);
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
50
);
requestBody
.
put
(
"max_tokens"
,
50
);
...
@@ -447,7 +448,7 @@ public class IntentAnalyzeServiceImpl implements IntentAnalyzeService {
...
@@ -447,7 +448,7 @@ public class IntentAnalyzeServiceImpl implements IntentAnalyzeService {
headers
.
setBearerAuth
(
apiKey
);
headers
.
setBearerAuth
(
apiKey
);
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
2000
);
requestBody
.
put
(
"max_tokens"
,
2000
);
...
@@ -543,9 +544,11 @@ public class IntentAnalyzeServiceImpl implements IntentAnalyzeService {
...
@@ -543,9 +544,11 @@ public class IntentAnalyzeServiceImpl implements IntentAnalyzeService {
// 使用前端传递的时间戳,如果没有则使用当前时间
// 使用前端传递的时间戳,如果没有则使用当前时间
if
(
timestamp
!=
null
&&
!
timestamp
.
trim
().
isEmpty
())
{
if
(
timestamp
!=
null
&&
!
timestamp
.
trim
().
isEmpty
())
{
try
{
try
{
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ISO_DATE_TIME
;
// 使用 OffsetDateTime 来正确处理时区信息
LocalDateTime
dateTime
=
LocalDateTime
.
parse
(
timestamp
,
formatter
);
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ISO_OFFSET_DATE_TIME
;
userMessage
.
setCreatedAt
(
dateTime
);
OffsetDateTime
offsetDateTime
=
OffsetDateTime
.
parse
(
timestamp
,
formatter
);
// 转换为上海时区的 LocalDateTime
userMessage
.
setCreatedAt
(
offsetDateTime
.
atZoneSameInstant
(
java
.
time
.
ZoneId
.
of
(
"Asia/Shanghai"
)).
toLocalDateTime
());
}
catch
(
DateTimeParseException
e
)
{
}
catch
(
DateTimeParseException
e
)
{
// 如果解析失败,不设置,使用数据库默认值
// 如果解析失败,不设置,使用数据库默认值
}
}
...
...
src/main/java/com/example/customervisit/service/impl/VisitSimulationServiceImpl.java
View file @
74d88477
...
@@ -178,7 +178,7 @@ public class VisitSimulationServiceImpl implements VisitSimulationService {
...
@@ -178,7 +178,7 @@ public class VisitSimulationServiceImpl implements VisitSimulationService {
headers
.
setBearerAuth
(
apiKey
);
headers
.
setBearerAuth
(
apiKey
);
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
ObjectNode
requestBody
=
objectMapper
.
createObjectNode
();
requestBody
.
put
(
"model"
,
"
qwen3
"
);
requestBody
.
put
(
"model"
,
"
kt_qwen
"
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"temperature"
,
0.7
);
requestBody
.
put
(
"max_tokens"
,
2000
);
requestBody
.
put
(
"max_tokens"
,
2000
);
...
...
src/main/resources/application-dev.yml
View file @
74d88477
...
@@ -3,7 +3,7 @@ spring:
...
@@ -3,7 +3,7 @@ spring:
name
:
customer-visit
name
:
customer-visit
datasource
:
datasource
:
url
:
jdbc:mysql://localhost:3306/customer_visit?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://localhost:3306/customer_visit?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
&useLegacyDatetimeCode=false
username
:
root
username
:
root
password
:
123456
password
:
123456
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
@@ -18,10 +18,16 @@ spring:
...
@@ -18,10 +18,16 @@ spring:
format_sql
:
true
format_sql
:
true
hbm2ddl
:
hbm2ddl
:
foreign_keys
:
false
foreign_keys
:
false
jdbc
:
time_zone
:
Asia/Shanghai
connection
:
time_zone
:
Asia/Shanghai
jackson
:
jackson
:
time-zone
:
Asia/Shanghai
time-zone
:
Asia/Shanghai
date-format
:
yyyy-MM-dd HH:mm:ss
date-format
:
yyyy-MM-dd HH:mm:ss
deserialization
:
adjust-dates-to-context-time-zone
:
false
servlet
:
servlet
:
multipart
:
multipart
:
...
@@ -48,4 +54,4 @@ kt:
...
@@ -48,4 +54,4 @@ kt:
# 外部接口配置
# 外部接口配置
external-api
:
external-api
:
kt-userinfo-url
:
http://kt-uat-crm-common.tst.cp.xcloud.legendkaitian.com/userinfo/query/oneDimensionByItCode
kt-userinfo-url
:
http://kt-uat-crm-common.tst.cp.xcloud.legendkaitian.com/userinfo/query/oneDimensionByItCode
kt-customer-url
:
http://kt-uat-crm-common.tst.cp.xcloud.legendkaitian.com/common/esdataimprot/query/customerByItCode
kt-customer-url
:
http://kt-uat-crm-common.tst.cp.xcloud.legendkaitian.com/common/esdataimprot/query/customerByItCode
\ No newline at end of file
src/main/resources/application-prod.yml
View file @
74d88477
...
@@ -3,7 +3,7 @@ spring:
...
@@ -3,7 +3,7 @@ spring:
name
:
customer-visit
name
:
customer-visit
datasource
:
datasource
:
url
:
jdbc:mysql://tidb.legendkaitian.com:4000/aisandbox?useSSL=false&serverTimezone=Asia/Shanghai&
allowPublicKeyRetrieval=tru
e
url
:
jdbc:mysql://tidb.legendkaitian.com:4000/aisandbox?useSSL=false&serverTimezone=Asia/Shanghai&
useLegacyDatetimeCode=fals
e
username
:
aisandbox
username
:
aisandbox
password
:
yUQ1C48VG1zl6WYi
password
:
yUQ1C48VG1zl6WYi
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
@@ -18,10 +18,16 @@ spring:
...
@@ -18,10 +18,16 @@ spring:
format_sql
:
true
format_sql
:
true
hbm2ddl
:
hbm2ddl
:
foreign_keys
:
false
foreign_keys
:
false
jdbc
:
time_zone
:
Asia/Shanghai
connection
:
time_zone
:
Asia/Shanghai
jackson
:
jackson
:
time-zone
:
Asia/Shanghai
time-zone
:
Asia/Shanghai
date-format
:
yyyy-MM-dd HH:mm:ss
date-format
:
yyyy-MM-dd HH:mm:ss
deserialization
:
adjust-dates-to-context-time-zone
:
false
servlet
:
servlet
:
multipart
:
multipart
:
...
...
src/main/resources/application-sit.yml
View file @
74d88477
...
@@ -3,7 +3,7 @@ spring:
...
@@ -3,7 +3,7 @@ spring:
name
:
customer-visit
name
:
customer-visit
datasource
:
datasource
:
url
:
jdbc:mysql://etl-tst.kt.lenovo.com:4000/aisandbox?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://etl-tst.kt.lenovo.com:4000/aisandbox?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
&useLegacyDatetimeCode=false
username
:
aisandbox
username
:
aisandbox
password
:
Unzt9npj3I1lOWh4
password
:
Unzt9npj3I1lOWh4
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
@@ -18,10 +18,16 @@ spring:
...
@@ -18,10 +18,16 @@ spring:
format_sql
:
true
format_sql
:
true
hbm2ddl
:
hbm2ddl
:
foreign_keys
:
false
foreign_keys
:
false
jdbc
:
time_zone
:
Asia/Shanghai
connection
:
time_zone
:
Asia/Shanghai
jackson
:
jackson
:
time-zone
:
Asia/Shanghai
time-zone
:
Asia/Shanghai
date-format
:
yyyy-MM-dd HH:mm:ss
date-format
:
yyyy-MM-dd HH:mm:ss
deserialization
:
adjust-dates-to-context-time-zone
:
false
servlet
:
servlet
:
multipart
:
multipart
:
...
@@ -48,4 +54,4 @@ kt:
...
@@ -48,4 +54,4 @@ kt:
# 外部接口配置
# 外部接口配置
external-api
:
external-api
:
kt-userinfo-url
:
http://kt-uat-crm-common.tst.cp.xcloud.legendkaitian.com/userinfo/query/oneDimensionByItCode
kt-userinfo-url
:
http://kt-uat-crm-common.tst.cp.xcloud.legendkaitian.com/userinfo/query/oneDimensionByItCode
kt-customer-url
:
http://kt-uat-crm-common.tst.cp.xcloud.legendkaitian.com/common/esdataimprot/query/customerByItCode
kt-customer-url
:
http://kt-uat-crm-common.tst.cp.xcloud.legendkaitian.com/common/esdataimprot/query/customerByItCode
\ No newline at end of file
src/main/resources/application.yml
View file @
74d88477
...
@@ -4,5 +4,8 @@ spring:
...
@@ -4,5 +4,8 @@ spring:
application
:
application
:
name
:
customer-visit
name
:
customer-visit
profiles
:
profiles
:
active
:
${SPRING_PROFILES_ACTIVE:
prod
}
active
:
${SPRING_PROFILES_ACTIVE:
dev
}
# JVM 时区设置
jvm
:
timezone
:
Asia/Shanghai
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment