Commit 96831c36 authored by licc's avatar licc

修改数据库密码

parent 16964532
......@@ -409,7 +409,8 @@ public class DayTaskServiceImpl implements DayTaskService {
growthRate = (month - last) / last;
}
}
teamVo.setGrowthRate(growthRate);
BigDecimal grow = new BigDecimal(growthRate).setScale(2, RoundingMode.HALF_UP);
teamVo.setGrowthRate(grow.doubleValue());
double monthPerformance;
assert teamPerformance != null;
if (null == teamPerformance.getMonthTeamPerformance()) {
......
......@@ -126,10 +126,4 @@ public class UserLevelController {
recommendUserService.clearMonthCount();
}
// @ApiOperation(value = "订单测试用户直推的当月收益累加", notes = "订单测试用户直推的当月收益累加", httpMethod = "GET")
// @GetMapping("/jsonOrder")
// public void jsonOrder() throws IOException {
//
// orderService.orderJSON();
// }
}
......@@ -18,7 +18,7 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://8.131.244.76:3306/shop-mall?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
username: root
password: PRMHmHBr
password: qzh@xitiansen
initial-size: 10
max-active: 100
min-idle: 10
......
......@@ -3,9 +3,9 @@ spring:
type: com.alibaba.druid.pool.DruidDataSource
druid:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/shop-mall?useUnicode=true&serverTimezone=GMT%2B8
url: jdbc:mysql://8.140.108.250:3306/shop-mall?useUnicode=true&serverTimezone=GMT%2B8
username: xitiansen
password: RmRDH8xCxDjDjxM5
password: adm4HYservice
initial-size: 10
max-active: 100
min-idle: 10
......@@ -36,7 +36,7 @@ spring:
redis:
open: false # 是否开启redis缓存 true开启 false关闭
database: 0
host: 127.0.0.1
host: 8.140.108.250
port: 6379
password: 1qaz@WSX
timeout: 6000ms
......
......@@ -8,7 +8,7 @@ server:
max-http-form-post-size: 1024MB
# 1 073 741 824
port: 8997
port: 81
servlet:
context-path: /shop-mall
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment