Merge remote-tracking branch 'origin/main'
commit
7ed35400b9
|
@ -323,12 +323,12 @@ public class TenantGameQuotaServiceImpl implements ITenantGameQuotaService {
|
||||||
.tenantKey(gameBalanceExchange.getTenantKey())
|
.tenantKey(gameBalanceExchange.getTenantKey())
|
||||||
.memberId(member.getId())
|
.memberId(member.getId())
|
||||||
.build());
|
.build());
|
||||||
BigDecimal balanceOut = tenantGameQuotaFlowService.getExchangeMoneyByMemberId(TenantGameQuotaFlow.builder()
|
BigDecimal balanceOut = NumberUtil.add(tenantGameQuotaFlowService.getExchangeMoneyByMemberId(TenantGameQuotaFlow.builder()
|
||||||
.isOut(Boolean.FALSE)
|
.isOut(Boolean.FALSE)
|
||||||
.quotaType(quotaType)
|
.quotaType(quotaType)
|
||||||
.tenantKey(gameBalanceExchange.getTenantKey())
|
.tenantKey(gameBalanceExchange.getTenantKey())
|
||||||
.memberId(member.getId())
|
.memberId(member.getId())
|
||||||
.build());
|
.build()),BigDecimal.ZERO);
|
||||||
|
|
||||||
// 初始化平台额度
|
// 初始化平台额度
|
||||||
BigDecimal platformBalance = BigDecimal.ZERO;
|
BigDecimal platformBalance = BigDecimal.ZERO;
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
# 项目相关配置
|
# 项目相关配置
|
||||||
ff:
|
ff:
|
||||||
# 文件路径 示例( Windows配置D:/ff/uploadPath,Linux配置 /home/ff/uploadPath)
|
# 文件路径 示例( Windows配置D:/ff/uploadPath,Linux配置 /home/ff/uploadPath)
|
||||||
profile: D:/opt/sever/dist/ff-admin/uploadPath
|
profile: /opt/gameApi/dist/game-api/uploadPath
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
server:
|
server:
|
||||||
# 服务器的HTTP端口,默认为8080
|
# 服务器的HTTP端口,默认为8080
|
||||||
port: 28080
|
port: 38080
|
||||||
servlet:
|
servlet:
|
||||||
# 应用的访问路径
|
# 应用的访问路径
|
||||||
context-path: /ff-api
|
context-path: /ff-api
|
||||||
|
|
||||||
|
|
||||||
# 日志配置
|
# 日志配置
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
|
@ -49,7 +50,7 @@ spring:
|
||||||
druid:
|
druid:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://192.168.1.11:23306/ff-admin?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
|
url: jdbc:mysql://127.0.0.1:23306/ff-game?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||||
username: root
|
username: root
|
||||||
password: myAa123456
|
password: myAa123456
|
||||||
# 初始连接数
|
# 初始连接数
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
git pull
|
git pull
|
||||||
mvn -Dmaven.test.skip=true clean package
|
mvn -Dmaven.test.skip=true clean package
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
cp ff-admin/target/ff-*.jar /opt/sever/dist/ff-admin/
|
cp ff-admin/target/ff-*.jar /opt/gameApi/dist/game-api/
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "fail"
|
echo "fail"
|
||||||
|
|
Loading…
Reference in New Issue