正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
@@ -185,6 +185,11 @@ func (suMoneyService *SuMoneyService) SearchSuMoneyTransactionRecord(searchSuMon | @@ -185,6 +185,11 @@ func (suMoneyService *SuMoneyService) SearchSuMoneyTransactionRecord(searchSuMon | ||
185 | } | 185 | } |
186 | suMoneyTransactionRecordsFormat = append(suMoneyTransactionRecordsFormat, suMoneyTransactionRecordFormat) | 186 | suMoneyTransactionRecordsFormat = append(suMoneyTransactionRecordsFormat, suMoneyTransactionRecordFormat) |
187 | } | 187 | } |
188 | + | ||
189 | + if len(suMoneyTransactionRecordsFormat) == 0 { | ||
190 | + suMoneyTransactionRecordsFormat = []interface{}{} | ||
191 | + } | ||
192 | + | ||
188 | return map[string]interface{}{ | 193 | return map[string]interface{}{ |
189 | "count": count, | 194 | "count": count, |
190 | "suMoneyTransactionRecords": suMoneyTransactionRecordsFormat, | 195 | "suMoneyTransactionRecords": suMoneyTransactionRecordsFormat, |
-
请 注册 或 登录 后发表评论