作者 陈志颖

fix:移除素币兑换清单汇率计算错误

@@ -2239,7 +2239,7 @@ func (cashPoolService *CashPoolService) RemoveExchangeCashPerson(removeExchangeC @@ -2239,7 +2239,7 @@ func (cashPoolService *CashPoolService) RemoveExchangeCashPerson(removeExchangeC
2239 if systemExchangedSuMoney == 0 { 2239 if systemExchangedSuMoney == 0 {
2240 newRate = 0 2240 newRate = 0
2241 } else { 2241 } else {
2242 - newRate = (cashPoolsFound[0].ExchangedCash - personFoundExchangedSuMoney) / systemExchangedSuMoney 2242 + newRate = (cashPoolsFound[0].ExchangedCash - personFoundExchangedCash) / systemExchangedSuMoney
2243 } 2243 }
2244 2244
2245 // 更新现金池命令 2245 // 更新现金池命令
@@ -181,7 +181,7 @@ func (suMoneyService *SuMoneyService) SearchSuMoneyTransactionRecord(searchSuMon @@ -181,7 +181,7 @@ func (suMoneyService *SuMoneyService) SearchSuMoneyTransactionRecord(searchSuMon
181 "isPrincipal": suMoneyTransactionRecord.Operator.IsPrincipal, 181 "isPrincipal": suMoneyTransactionRecord.Operator.IsPrincipal,
182 }, 182 },
183 "recordDescription": suMoneyTransactionRecord.RecordDescription, 183 "recordDescription": suMoneyTransactionRecord.RecordDescription,
184 - "createTime": suMoneyTransactionRecord.CreateTime, 184 + "createTime": suMoneyTransactionRecord.CreateTime.Local(),
185 } 185 }
186 suMoneyTransactionRecordsFormat = append(suMoneyTransactionRecordsFormat, suMoneyTransactionRecordFormat) 186 suMoneyTransactionRecordsFormat = append(suMoneyTransactionRecordsFormat, suMoneyTransactionRecordFormat)
187 } 187 }