更新配置

master
youys 3 years ago
parent 65053774b3
commit 1abf49742d

@ -37,7 +37,7 @@ public class CallbackController {
private static List<String> ERROR_MSG_LIST = null; private static List<String> ERROR_MSG_LIST = null;
@PostMapping("/evaluationResult") @PostMapping("/evaluationResult")
public String evaluation(@RequestBody Map<String, Object> params) { public String evaluation(@RequestParam Map<String, Object> params) {
log.info("回调请求参数:{}", params); log.info("回调请求参数:{}", params);
if (params == null) { if (params == null) {

@ -1,3 +1,15 @@
spring:
# 数据库配置
datasource:
url: jdbc:mysql://rm-bp13v5020p7828r5rso.mysql.rds.aliyuncs.com:3306/testbridge?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false
username: testeducoder
password: TEST@123
driver-class-name: com.mysql.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
initialSize: 50
minIdle: 50
maxActive: 100
validationQuery: SELECT 1
## 评测钉钉机器人配置 ## 评测钉钉机器人配置
evaluation: evaluation:
token: 1069c45d4dfab187bb95599faeaf3687b630f79eda0d6fff914a18ee9e25db6f token: 1069c45d4dfab187bb95599faeaf3687b630f79eda0d6fff914a18ee9e25db6f

@ -1,3 +1,15 @@
spring:
# 数据库配置
datasource:
url: jdbc:mysql://rm-bp13v5020p7828r5rso.mysql.rds.aliyuncs.com:3306/testbridge?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false
username: testeducoder
password: TEST@123
driver-class-name: com.mysql.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
initialSize: 50
minIdle: 50
maxActive: 100
validationQuery: SELECT 1
## 评测钉钉机器人配置 ## 评测钉钉机器人配置
evaluation: evaluation:
token: a28abafca1eda791b2b09bf8a7f37d877cc27da986b92c8e1bd1157535d76fdc token: a28abafca1eda791b2b09bf8a7f37d877cc27da986b92c8e1bd1157535d76fdc

@ -6,17 +6,6 @@ server:
spring: spring:
profiles: profiles:
active: dev active: dev
# 数据库配置
datasource:
url: jdbc:mysql://rm-bp13v5020p7828r5rso.mysql.rds.aliyuncs.com:3306/testbridge?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false
username: testeducoder
password: TEST@123
driver-class-name: com.mysql.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
initialSize: 50
minIdle: 50
maxActive: 100
validationQuery: SELECT 1
# redis配置 # redis配置
redis: redis:
host: 127.0.0.1 host: 127.0.0.1

Loading…
Cancel
Save