Commit 96831c36 authored by licc's avatar licc

修改数据库密码

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