lvzhiqiang hace 2 años
padre
commit
a8d473f188

+ 2 - 0
src/main/java/top/lvzhiqiang/service/impl/CoinServiceImpl.java

@@ -1125,6 +1125,8 @@ public class CoinServiceImpl implements CoinService {
             jsonObject.put("usdtVol", readableFileSize(jsonObject.getDouble("quoteVolume")));
             // 其他字段兼容
             jsonObject.put("openUtc0",jsonObject.getString("openUtc"));
+            jsonObject.put("buyOne",jsonObject.getString("bestBid"));
+            jsonObject.put("sellOne",jsonObject.getString("bestAsk"));
         })).join();
 
         array4Spot.addAll(array4Mix);