Browse Source

fix汇率接口

zwxi 1 year ago
parent
commit
9ae93bc457
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/fms/currency_rate.go

+ 1 - 1
services/fms/currency_rate.go

@@ -93,7 +93,7 @@ func CurlCurrencyRateApi() (resList []*CurrencyRateItem, err error) {
 		t, e := time.ParseInLocation(utils.FormatDateTime, v.UpdateTime, time.Local)
 		if e != nil {
 			err = fmt.Errorf("rate api time parse err: %v", e)
-			return
+			continue
 		}
 		item.UpdateTime = t
 		resList = append(resList, item)