作者 陈志颖

fix:修复搜索素币记录返回值问题

... ... @@ -185,6 +185,11 @@ func (suMoneyService *SuMoneyService) SearchSuMoneyTransactionRecord(searchSuMon
}
suMoneyTransactionRecordsFormat = append(suMoneyTransactionRecordsFormat, suMoneyTransactionRecordFormat)
}
if len(suMoneyTransactionRecordsFormat) == 0 {
suMoneyTransactionRecordsFormat = []interface{}{}
}
return map[string]interface{}{
"count": count,
"suMoneyTransactionRecords": suMoneyTransactionRecordsFormat,
... ...