【修复】修复后台提现金额超过一定数量导致的int16长度不够而报错的问题。

This commit is contained in:
jianweie
2023-06-06 16:55:33 +08:00
parent a7ec25d175
commit 33053df6b3

View File

@@ -314,7 +314,7 @@ namespace CoreCms.Net.Services
};
//按分计算
var amount = Convert.ToInt16((info.money - info.withdrawals) * 100);
var amount = Convert.ToInt32((info.money - info.withdrawals) * 100);
//企业付款到零钱
var request = new WeChatPayPromotionTransfersRequest
{
@@ -393,7 +393,7 @@ namespace CoreCms.Net.Services
};
//按分计算
var amount = Convert.ToInt16((info.money - info.withdrawals) * 100);
var amount = Convert.ToInt32((info.money - info.withdrawals) * 100);
//企业付款到零钱
var request = new WeChatPayPayBankRequest
{
@@ -459,7 +459,7 @@ namespace CoreCms.Net.Services
};
//按分计算
var amount = Convert.ToInt16((info.money - info.withdrawals) * 100);
var amount = Convert.ToInt32((info.money - info.withdrawals) * 100);
var model = new WeChatPayTransferBatchesBodyModel
{