mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-04 22:59:49 +08:00
【修复】修复后台提现金额超过一定数量导致的int16长度不够而报错的问题。
This commit is contained in:
@@ -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
|
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
|
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
|
var model = new WeChatPayTransferBatchesBodyModel
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user