java爬取中国银行汇率数据

最近有个定时任务的需求, 要把中国银行官网上的汇率数据定时抓取下来

页面地址

https://srh.bankofchina.com/search/whpj/searchen.jsp

当请求页面传入page不存在时, 网站会返回最后一页的数据,下方有做处理

代码实现


import org.apache.commons.lang.StringUtils;
import org.apache.http.HttpEntity;
import org.apache.http.HttpStatus;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.utils.HttpClientUtils;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
import org.joda.time.DateTime;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;

/**
 * 爬取中国银行汇率
 *
 * @author zhangbs
 */
@Service
public class CrawlingExchangeRateService {
    public void execute() {
        List queryList = getExchangeRate("USD", "");
        System.out.println("长度:" + queryList.size());
        System.out.println("汇总:" + queryList);
    }


    /**
     * 获取当日传入币别汇率信息
     *
     * @param sourceCurrency 币别
     * @param date           日期
     * @return
     */
    private List getExchangeRate(String sourceCurrency, String date) {

        /***判断入参lsDate是否为空,若为空则赋值为当前时间**/
        String lsToday = StringUtils.isEmpty(date) ? new DateTime().toString("yyyy-MM-dd") : date;
        List list = new ArrayList();
        for (int page = 1; page <= 10; page++) {
            /**抓取时间为lsToday,币别为sourceCurrency,页数为page的中国银行网页信息*/
            String searchEnHtml = getSearchEnHtml(lsToday, sourceCurrency, String.valueOf(page));

            /**开始解析html中的汇率列表信息**/
            Map map = assembleObjByHtml(searchEnHtml, sourceCurrency, lsToday);
            String flag = (String) map.get("flag");
            String htmlPage = (String) map.get("page");
            list.add (map.get("list"));

            /**当flag为1执行成功时,或总页数等于循环查询到的页数时,则不需要再次进行查询**/
            if ("1".equals(flag) || Integer.parseInt(htmlPage) < page) {
                break;
            }
        }
        return list;
    }


    /**
     * 获取整个网页的内容
     *
     * @param lsToday          传入当前时间或空
     * @param lsSourceCurrency 币种
     * @param liPage           当前查询页数
     * @return
     */
    private String getSearchEnHtml(String lsToday, String lsSourceCurrency, String liPage) {

        StringBuilder url = new StringBuilder("https://srh.bankofchina.com/search/whpj/searchen.jsp?");
        url.append("erectDate=").append(lsToday);
        url.append("&nothing=").append(lsToday);
        url.append("&pjname=").append(lsSourceCurrency);
        url.append("&page=").append(liPage);
        System.out.println("拼接好的url:" + url);
        CloseableHttpClient httpClient = HttpClients.createDefault();
        CloseableHttpResponse response = null;
        HttpPost httpPost = new HttpPost(url.toString());
        httpPost.addHeader("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");
        httpPost.setHeader("Accept", "Accept: text/plain, */*");
        httpPost.addHeader("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3724.8 Safari/537.36");
        httpPost.addHeader("x-amazon-user-agent", "AmazonJavascriptScratchpad/1.0 (Language=Javascript)");
        httpPost.addHeader("X-Requested-With", "XMLHttpRequest");
        String html = "";
        try {
            response = httpClient.execute(httpPost);

            /**判断响应状态为200,进行处理**/
            if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
                HttpEntity httpEntity = response.getEntity();
                html = EntityUtils.toString(httpEntity, "utf-8");
            } else {
                System.out.println(EntityUtils.toString(response.getEntity(), "utf-8"));
            }
        } catch (ClientProtocolException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            HttpClientUtils.closeQuietly(response);
            HttpClientUtils.closeQuietly(httpClient);
        }

        /***返回请求得到的页面**/
        return html;
    }


    /**
     * 根据取得的网页,解析html中的内容 先不做业务逻辑,全部查询
     *
     * @param html             要解析的html
     * @param lsSourceCurrency 币种
     * @param lsToday          日期
     * @return
     */
    private Map assembleObjByHtml(String html, String lsSourceCurrency, String lsToday) {
        /**存储数据**/
        Map map = new HashMap(5);

        /**使用Jsoup将html解析为Document对象**/
        Document document = Jsoup.parse(html);

        /**获取页面隐藏域中存放的当前页数**/
        Elements pageItem = document.getElementsByAttributeValue("name", "page");
        String pageItemValue = "";
        pageItemValue = pageItem.select("input[name=page]").val();
        map.put("page", pageItemValue);

        /**获取页面的整个table信息,这个返回的页面基本上是返回多个table,下方需要细化处理**/
        Elements tables = document.getElementsByTag("table");

        /**设置存放汇率信息的table下标为-1(默认不存在)**/
        int tableIndex = -1;

        /**从table中循环获取,查找含有Currency Name字段的table**/
        for (int i = 0; i < tables.size(); i++) {
            Element element = tables.get(i);
            String text = element.text();
            /**找到含有汇率信息的table,给tableIndex赋值,跳出循环**/
            if (text.indexOf("Currency Name") > -1) {
                tableIndex = i;
                break;
            }
        }
        List<TerstEntity> list = new ArrayList();
        /**如果找到汇率列表信息**/
        if (tableIndex > -1) {
            Element table = tables.get(tableIndex);
            /**遍历该表格内的所有的<tr> <tr/>*/
            Elements trs = table.select("tr");
            for (int i = 1; i < trs.size(); ++i) {
                TerstEntity terstEntity = new TerstEntity();
                Element tr = trs.get(i);
                /**将数据放入实体对象中*/
                Elements tds = tr.select("td");
                terstEntity.setCurrencyName(tds.get(0).text());
                terstEntity.setBuyingRate(tds.get(1).text());
                terstEntity.setCashBuyingRate(tds.get(2).text());
                terstEntity.setSellingRate(tds.get(3).text());
                terstEntity.setCashSellingRate(tds.get(4).text());
                terstEntity.setMiddleRate(tds.get(5).text());
                terstEntity.setPubTime(tds.get(6).text());
                list.add(terstEntity);
            }
            map.put("list", list);
        }else{
            map.put("flag", "1");
        }
        return map;
    }


}

实体类

/**
 * 测试使用
 */
public class TerstEntity {

    private String currencyName;
    private String buyingRate;
    private String cashBuyingRate;
    private String sellingRate;
    private String cashSellingRate;
    private String middleRate;
    private String PubTime;
    
}

依赖

        <dependency>
            <groupId>org.jsoup</groupId>
            <artifactId>jsoup</artifactId>
            <version>1.12.1</version>
        </dependency>

得到的数据

2020-04-16 15:13:58.069  INFO 1224 --- [           main] c.e.a.amazon.AmazonApplicationTests      : Starting AmazonApplicationTests on boston with PID 1224 (started by 11378 in C:\workspace\idie0409)
2020-04-16 15:13:58.070  INFO 1224 --- [           main] c.e.a.amazon.AmazonApplicationTests      : No active profile set, falling back to default profiles: default
2020-04-16 15:13:58.768  INFO 1224 --- [           main] c.e.a.amazon.AmazonApplicationTests      : Started AmazonApplicationTests in 1.468 seconds (JVM running for 4.035)

拼接好的url:https://srh.bankofchina.com/search/whpj/searchen.jsp?erectDate=2020-04-16&nothing=2020-04-16&pjname=USD&page=1
拼接好的url:https://srh.bankofchina.com/search/whpj/searchen.jsp?erectDate=2020-04-16&nothing=2020-04-16&pjname=USD&page=2
拼接好的url:https://srh.bankofchina.com/search/whpj/searchen.jsp?erectDate=2020-04-16&nothing=2020-04-16&pjname=USD&page=3
拼接好的url:https://srh.bankofchina.com/search/whpj/searchen.jsp?erectDate=2020-04-16&nothing=2020-04-16&pjname=USD&page=4
拼接好的url:https://srh.bankofchina.com/search/whpj/searchen.jsp?erectDate=2020-04-16&nothing=2020-04-16&pjname=USD&page=5
拼接好的url:https://srh.bankofchina.com/search/whpj/searchen.jsp?erectDate=2020-04-16&nothing=2020-04-16&pjname=USD&page=6
拼接好的url:https://srh.bankofchina.com/search/whpj/searchen.jsp?erectDate=2020-04-16&nothing=2020-04-16&pjname=USD&page=7
长度:7
汇总:[[TerstEntity{currencyName='USD', buyingRate='706.07', cashBuyingRate='700.33', sellingRate='709.06', cashSellingRate='709.06', middleRate='707.14', PubTime='2020.04.16 15:11:46'}, TerstEntity{currencyName='USD', buyingRate='706.02', cashBuyingRate='700.28', sellingRate='709.01', cashSellingRate='709.01', middleRate='707.14', PubTime='2020.04.16 15:08:24'}, TerstEntity{currencyName='USD', buyingRate='706.07', cashBuyingRate='700.33', sellingRate='709.06', cashSellingRate='709.06', middleRate='707.14', PubTime='2020.04.16 15:08:00'}, TerstEntity{currencyName='USD', buyingRate='706.12', cashBuyingRate='700.38', sellingRate='709.11', cashSellingRate='709.11', middleRate='707.14', PubTime='2020.04.16 15:06:41'}, TerstEntity{currencyName='USD', buyingRate='706.17', cashBuyingRate='700.43', sellingRate='709.16', cashSellingRate='709.16', middleRate='707.14', PubTime='2020.04.16 15:04:48'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 15:02:55'}, TerstEntity{currencyName='USD', buyingRate='706.42', cashBuyingRate='700.67', sellingRate='709.41', cashSellingRate='709.41', middleRate='707.14', PubTime='2020.04.16 15:02:09'}, TerstEntity{currencyName='USD', buyingRate='706.37', cashBuyingRate='700.62', sellingRate='709.36', cashSellingRate='709.36', middleRate='707.14', PubTime='2020.04.16 14:51:38'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 14:47:52'}, TerstEntity{currencyName='USD', buyingRate='706.17', cashBuyingRate='700.43', sellingRate='709.16', cashSellingRate='709.16', middleRate='707.14', PubTime='2020.04.16 14:44:39'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 14:39:56'}, TerstEntity{currencyName='USD', buyingRate='706.22', cashBuyingRate='700.47', sellingRate='709.21', cashSellingRate='709.21', middleRate='707.14', PubTime='2020.04.16 14:37:43'}, TerstEntity{currencyName='USD', buyingRate='706.32', cashBuyingRate='700.57', sellingRate='709.31', cashSellingRate='709.31', middleRate='707.14', PubTime='2020.04.16 14:35:15'}, TerstEntity{currencyName='USD', buyingRate='706.42', cashBuyingRate='700.67', sellingRate='709.41', cashSellingRate='709.41', middleRate='707.14', PubTime='2020.04.16 14:31:43'}, TerstEntity{currencyName='USD', buyingRate='706.47', cashBuyingRate='700.72', sellingRate='709.46', cashSellingRate='709.46', middleRate='707.14', PubTime='2020.04.16 14:30:23'}, TerstEntity{currencyName='USD', buyingRate='706.72', cashBuyingRate='700.97', sellingRate='709.71', cashSellingRate='709.71', middleRate='707.14', PubTime='2020.04.16 14:29:28'}, TerstEntity{currencyName='USD', buyingRate='706.77', cashBuyingRate='701.02', sellingRate='709.76', cashSellingRate='709.76', middleRate='707.14', PubTime='2020.04.16 14:26:21'}, TerstEntity{currencyName='USD', buyingRate='706.87', cashBuyingRate='701.12', sellingRate='709.86', cashSellingRate='709.86', middleRate='707.14', PubTime='2020.04.16 14:23:45'}, TerstEntity{currencyName='USD', buyingRate='706.94', cashBuyingRate='701.19', sellingRate='709.93', cashSellingRate='709.93', middleRate='707.14', PubTime='2020.04.16 14:21:44'}, TerstEntity{currencyName='USD', buyingRate='706.84', cashBuyingRate='701.09', sellingRate='709.83', cashSellingRate='709.83', middleRate='707.14', PubTime='2020.04.16 14:19:16'}], [TerstEntity{currencyName='USD', buyingRate='706.77', cashBuyingRate='701.02', sellingRate='709.76', cashSellingRate='709.76', middleRate='707.14', PubTime='2020.04.16 14:16:37'}, TerstEntity{currencyName='USD', buyingRate='706.72', cashBuyingRate='700.97', sellingRate='709.71', cashSellingRate='709.71', middleRate='707.14', PubTime='2020.04.16 14:13:52'}, TerstEntity{currencyName='USD', buyingRate='706.77', cashBuyingRate='701.02', sellingRate='709.76', cashSellingRate='709.76', middleRate='707.14', PubTime='2020.04.16 14:10:47'}, TerstEntity{currencyName='USD', buyingRate='706.82', cashBuyingRate='701.07', sellingRate='709.81', cashSellingRate='709.81', middleRate='707.14', PubTime='2020.04.16 14:08:57'}, TerstEntity{currencyName='USD', buyingRate='706.77', cashBuyingRate='701.02', sellingRate='709.76', cashSellingRate='709.76', middleRate='707.14', PubTime='2020.04.16 14:02:02'}, TerstEntity{currencyName='USD', buyingRate='706.72', cashBuyingRate='700.97', sellingRate='709.71', cashSellingRate='709.71', middleRate='707.14', PubTime='2020.04.16 14:01:17'}, TerstEntity{currencyName='USD', buyingRate='706.66', cashBuyingRate='700.91', sellingRate='709.65', cashSellingRate='709.65', middleRate='707.14', PubTime='2020.04.16 13:59:16'}, TerstEntity{currencyName='USD', buyingRate='706.62', cashBuyingRate='700.87', sellingRate='709.61', cashSellingRate='709.61', middleRate='707.14', PubTime='2020.04.16 13:58:30'}, TerstEntity{currencyName='USD', buyingRate='706.57', cashBuyingRate='700.82', sellingRate='709.56', cashSellingRate='709.56', middleRate='707.14', PubTime='2020.04.16 13:58:06'}, TerstEntity{currencyName='USD', buyingRate='706.52', cashBuyingRate='700.77', sellingRate='709.51', cashSellingRate='709.51', middleRate='707.14', PubTime='2020.04.16 13:50:38'}, TerstEntity{currencyName='USD', buyingRate='706.57', cashBuyingRate='700.82', sellingRate='709.56', cashSellingRate='709.56', middleRate='707.14', PubTime='2020.04.16 13:47:09'}, TerstEntity{currencyName='USD', buyingRate='706.67', cashBuyingRate='700.92', sellingRate='709.66', cashSellingRate='709.66', middleRate='707.14', PubTime='2020.04.16 13:44:44'}, TerstEntity{currencyName='USD', buyingRate='706.62', cashBuyingRate='700.87', sellingRate='709.61', cashSellingRate='709.61', middleRate='707.14', PubTime='2020.04.16 13:40:14'}, TerstEntity{currencyName='USD', buyingRate='706.57', cashBuyingRate='700.82', sellingRate='709.56', cashSellingRate='709.56', middleRate='707.14', PubTime='2020.04.16 13:37:12'}, TerstEntity{currencyName='USD', buyingRate='706.52', cashBuyingRate='700.77', sellingRate='709.51', cashSellingRate='709.51', middleRate='707.14', PubTime='2020.04.16 13:31:00'}, TerstEntity{currencyName='USD', buyingRate='706.62', cashBuyingRate='700.87', sellingRate='709.61', cashSellingRate='709.61', middleRate='707.14', PubTime='2020.04.16 13:14:10'}, TerstEntity{currencyName='USD', buyingRate='706.67', cashBuyingRate='700.92', sellingRate='709.66', cashSellingRate='709.66', middleRate='707.14', PubTime='2020.04.16 12:52:05'}, TerstEntity{currencyName='USD', buyingRate='706.77', cashBuyingRate='701.02', sellingRate='709.76', cashSellingRate='709.76', middleRate='707.14', PubTime='2020.04.16 12:39:29'}, TerstEntity{currencyName='USD', buyingRate='706.82', cashBuyingRate='701.07', sellingRate='709.81', cashSellingRate='709.81', middleRate='707.14', PubTime='2020.04.16 12:15:11'}, TerstEntity{currencyName='USD', buyingRate='706.77', cashBuyingRate='701.02', sellingRate='709.76', cashSellingRate='709.76', middleRate='707.14', PubTime='2020.04.16 12:05:33'}], [TerstEntity{currencyName='USD', buyingRate='706.72', cashBuyingRate='700.97', sellingRate='709.71', cashSellingRate='709.71', middleRate='707.14', PubTime='2020.04.16 12:03:43'}, TerstEntity{currencyName='USD', buyingRate='706.72', cashBuyingRate='700.97', sellingRate='709.71', cashSellingRate='709.71', middleRate='707.14', PubTime='2020.04.16 11:44:14'}, TerstEntity{currencyName='USD', buyingRate='706.62', cashBuyingRate='700.87', sellingRate='709.61', cashSellingRate='709.61', middleRate='707.14', PubTime='2020.04.16 11:38:16'}, TerstEntity{currencyName='USD', buyingRate='706.67', cashBuyingRate='700.92', sellingRate='709.66', cashSellingRate='709.66', middleRate='707.14', PubTime='2020.04.16 11:37:15'}, TerstEntity{currencyName='USD', buyingRate='706.72', cashBuyingRate='700.97', sellingRate='709.71', cashSellingRate='709.71', middleRate='707.14', PubTime='2020.04.16 11:35:09'}, TerstEntity{currencyName='USD', buyingRate='706.77', cashBuyingRate='701.02', sellingRate='709.76', cashSellingRate='709.76', middleRate='707.14', PubTime='2020.04.16 11:32:57'}, TerstEntity{currencyName='USD', buyingRate='706.67', cashBuyingRate='700.92', sellingRate='709.66', cashSellingRate='709.66', middleRate='707.14', PubTime='2020.04.16 11:30:48'}, TerstEntity{currencyName='USD', buyingRate='706.72', cashBuyingRate='700.97', sellingRate='709.71', cashSellingRate='709.71', middleRate='707.14', PubTime='2020.04.16 11:22:02'}, TerstEntity{currencyName='USD', buyingRate='706.62', cashBuyingRate='700.87', sellingRate='709.61', cashSellingRate='709.61', middleRate='707.14', PubTime='2020.04.16 11:19:35'}, TerstEntity{currencyName='USD', buyingRate='706.52', cashBuyingRate='700.77', sellingRate='709.51', cashSellingRate='709.51', middleRate='707.14', PubTime='2020.04.16 11:18:23'}, TerstEntity{currencyName='USD', buyingRate='706.42', cashBuyingRate='700.67', sellingRate='709.41', cashSellingRate='709.41', middleRate='707.14', PubTime='2020.04.16 11:17:59'}, TerstEntity{currencyName='USD', buyingRate='706.32', cashBuyingRate='700.57', sellingRate='709.31', cashSellingRate='709.31', middleRate='707.14', PubTime='2020.04.16 11:17:36'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 11:07:21'}, TerstEntity{currencyName='USD', buyingRate='706.32', cashBuyingRate='700.57', sellingRate='709.31', cashSellingRate='709.31', middleRate='707.14', PubTime='2020.04.16 11:03:27'}, TerstEntity{currencyName='USD', buyingRate='706.22', cashBuyingRate='700.47', sellingRate='709.21', cashSellingRate='709.21', middleRate='707.14', PubTime='2020.04.16 10:57:13'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 10:55:45'}, TerstEntity{currencyName='USD', buyingRate='706.37', cashBuyingRate='700.62', sellingRate='709.36', cashSellingRate='709.36', middleRate='707.14', PubTime='2020.04.16 10:54:07'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 10:48:25'}, TerstEntity{currencyName='USD', buyingRate='706.22', cashBuyingRate='700.47', sellingRate='709.21', cashSellingRate='709.21', middleRate='707.14', PubTime='2020.04.16 10:47:00'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 10:45:25'}], [TerstEntity{currencyName='USD', buyingRate='706.22', cashBuyingRate='700.47', sellingRate='709.21', cashSellingRate='709.21', middleRate='707.14', PubTime='2020.04.16 10:38:37'}, TerstEntity{currencyName='USD', buyingRate='706.17', cashBuyingRate='700.43', sellingRate='709.16', cashSellingRate='709.16', middleRate='707.14', PubTime='2020.04.16 10:34:55'}, TerstEntity{currencyName='USD', buyingRate='706.12', cashBuyingRate='700.38', sellingRate='709.11', cashSellingRate='709.11', middleRate='707.14', PubTime='2020.04.16 10:30:39'}, TerstEntity{currencyName='USD', buyingRate='706.17', cashBuyingRate='700.43', sellingRate='709.16', cashSellingRate='709.16', middleRate='707.14', PubTime='2020.04.16 10:30:00'}, TerstEntity{currencyName='USD', buyingRate='706.17', cashBuyingRate='700.43', sellingRate='709.16', cashSellingRate='709.16', middleRate='707.14', PubTime='2020.04.16 10:30:00'}, TerstEntity{currencyName='USD', buyingRate='706.17', cashBuyingRate='700.43', sellingRate='709.16', cashSellingRate='709.16', middleRate='707.14', PubTime='2020.04.16 10:30:00'}, TerstEntity{currencyName='USD', buyingRate='706.17', cashBuyingRate='700.43', sellingRate='709.16', cashSellingRate='709.16', middleRate='707.14', PubTime='2020.04.16 10:28:31'}, TerstEntity{currencyName='USD', buyingRate='706.12', cashBuyingRate='700.38', sellingRate='709.11', cashSellingRate='709.11', middleRate='707.14', PubTime='2020.04.16 10:27:03'}, TerstEntity{currencyName='USD', buyingRate='706.17', cashBuyingRate='700.43', sellingRate='709.16', cashSellingRate='709.16', middleRate='707.14', PubTime='2020.04.16 10:21:27'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 10:20:06'}, TerstEntity{currencyName='USD', buyingRate='706.37', cashBuyingRate='700.62', sellingRate='709.36', cashSellingRate='709.36', middleRate='707.14', PubTime='2020.04.16 10:12:27'}, TerstEntity{currencyName='USD', buyingRate='706.32', cashBuyingRate='700.57', sellingRate='709.31', cashSellingRate='709.31', middleRate='707.14', PubTime='2020.04.16 10:11:42'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 10:08:47'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 10:08:47'}, TerstEntity{currencyName='USD', buyingRate='706.32', cashBuyingRate='700.57', sellingRate='709.31', cashSellingRate='709.31', middleRate='707.14', PubTime='2020.04.16 10:06:59'}, TerstEntity{currencyName='USD', buyingRate='706.37', cashBuyingRate='700.62', sellingRate='709.36', cashSellingRate='709.36', middleRate='707.14', PubTime='2020.04.16 10:02:25'}, TerstEntity{currencyName='USD', buyingRate='706.37', cashBuyingRate='700.62', sellingRate='709.36', cashSellingRate='709.36', middleRate='707.14', PubTime='2020.04.16 10:02:22'}, TerstEntity{currencyName='USD', buyingRate='706.32', cashBuyingRate='700.57', sellingRate='709.31', cashSellingRate='709.31', middleRate='707.14', PubTime='2020.04.16 09:58:16'}, TerstEntity{currencyName='USD', buyingRate='706.27', cashBuyingRate='700.52', sellingRate='709.26', cashSellingRate='709.26', middleRate='707.14', PubTime='2020.04.16 09:57:21'}, TerstEntity{currencyName='USD', buyingRate='706.22', cashBuyingRate='700.47', sellingRate='709.21', cashSellingRate='709.21', middleRate='707.14', PubTime='2020.04.16 09:53:21'}], [TerstEntity{currencyName='USD', buyingRate='706.02', cashBuyingRate='700.28', sellingRate='709.01', cashSellingRate='709.01', middleRate='707.14', PubTime='2020.04.16 09:51:11'}, TerstEntity{currencyName='USD', buyingRate='705.87', cashBuyingRate='700.13', sellingRate='708.86', cashSellingRate='708.86', middleRate='707.14', PubTime='2020.04.16 09:49:14'}, TerstEntity{currencyName='USD', buyingRate='705.97', cashBuyingRate='700.23', sellingRate='708.96', cashSellingRate='708.96', middleRate='707.14', PubTime='2020.04.16 09:47:18'}, TerstEntity{currencyName='USD', buyingRate='706', cashBuyingRate='700.26', sellingRate='708.99', cashSellingRate='708.99', middleRate='707.14', PubTime='2020.04.16 09:42:40'}, TerstEntity{currencyName='USD', buyingRate='705.97', cashBuyingRate='700.23', sellingRate='708.96', cashSellingRate='708.96', middleRate='707.14', PubTime='2020.04.16 09:42:27'}, TerstEntity{currencyName='USD', buyingRate='705.92', cashBuyingRate='700.18', sellingRate='708.91', cashSellingRate='708.91', middleRate='707.14', PubTime='2020.04.16 09:41:34'}, TerstEntity{currencyName='USD', buyingRate='705.87', cashBuyingRate='700.13', sellingRate='708.86', cashSellingRate='708.86', middleRate='707.14', PubTime='2020.04.16 09:41:13'}, TerstEntity{currencyName='USD', buyingRate='705.82', cashBuyingRate='700.08', sellingRate='708.81', cashSellingRate='708.81', middleRate='707.14', PubTime='2020.04.16 09:40:33'}, TerstEntity{currencyName='USD', buyingRate='705.87', cashBuyingRate='700.13', sellingRate='708.86', cashSellingRate='708.86', middleRate='707.14', PubTime='2020.04.16 09:38:35'}, TerstEntity{currencyName='USD', buyingRate='705.82', cashBuyingRate='700.08', sellingRate='708.81', cashSellingRate='708.81', middleRate='707.14', PubTime='2020.04.16 09:38:18'}, TerstEntity{currencyName='USD', buyingRate='705.77', cashBuyingRate='700.03', sellingRate='708.76', cashSellingRate='708.76', middleRate='707.14', PubTime='2020.04.16 09:37:26'}, TerstEntity{currencyName='USD', buyingRate='705.87', cashBuyingRate='700.13', sellingRate='708.86', cashSellingRate='708.86', middleRate='707.14', PubTime='2020.04.16 09:36:56'}, TerstEntity{currencyName='USD', buyingRate='705.92', cashBuyingRate='700.18', sellingRate='708.91', cashSellingRate='708.91', middleRate='707.14', PubTime='2020.04.16 09:34:00'}, TerstEntity{currencyName='USD', buyingRate='705.87', cashBuyingRate='700.13', sellingRate='708.86', cashSellingRate='708.86', middleRate='707.14', PubTime='2020.04.16 09:33:02'}, TerstEntity{currencyName='USD', buyingRate='705.97', cashBuyingRate='700.23', sellingRate='708.96', cashSellingRate='708.96', middleRate='707.14', PubTime='2020.04.16 09:31:53'}, TerstEntity{currencyName='USD', buyingRate='705.92', cashBuyingRate='700.18', sellingRate='708.91', cashSellingRate='708.91', middleRate='707.14', PubTime='2020.04.16 09:31:24'}, TerstEntity{currencyName='USD', buyingRate='705.97', cashBuyingRate='700.23', sellingRate='708.96', cashSellingRate='708.96', middleRate='707.14', PubTime='2020.04.16 09:23:29'}, TerstEntity{currencyName='USD', buyingRate='705.97', cashBuyingRate='700.23', sellingRate='708.96', cashSellingRate='708.96', middleRate='707.14', PubTime='2020.04.16 09:23:24'}, TerstEntity{currencyName='USD', buyingRate='705.77', cashBuyingRate='700.03', sellingRate='708.76', cashSellingRate='708.76', middleRate='704.02', PubTime='2020.04.16 09:19:58'}, TerstEntity{currencyName='USD', buyingRate='705.97', cashBuyingRate='700.23', sellingRate='708.96', cashSellingRate='708.96', middleRate='704.02', PubTime='2020.04.16 09:20:13'}], [TerstEntity{currencyName='USD', buyingRate='705.92', cashBuyingRate='700.18', sellingRate='708.91', cashSellingRate='708.91', middleRate='704.02', PubTime='2020.04.16 09:20:07'}, TerstEntity{currencyName='USD', buyingRate='705.87', cashBuyingRate='700.13', sellingRate='708.86', cashSellingRate='708.86', middleRate='704.02', PubTime='2020.04.16 09:20:02'}, TerstEntity{currencyName='USD', buyingRate='705.67', cashBuyingRate='699.93', sellingRate='708.66', cashSellingRate='708.66', middleRate='704.02', PubTime='2020.04.16 09:19:52'}, TerstEntity{currencyName='USD', buyingRate='705.67', cashBuyingRate='699.93', sellingRate='708.66', cashSellingRate='708.66', middleRate='704.02', PubTime='2020.04.16 09:19:02'}, TerstEntity{currencyName='USD', buyingRate='705.67', cashBuyingRate='699.93', sellingRate='708.66', cashSellingRate='708.66', middleRate='704.02', PubTime='2020.04.16 08:27:20'}, TerstEntity{currencyName='USD', buyingRate='705.42', cashBuyingRate='699.68', sellingRate='708.41', cashSellingRate='708.41', middleRate='704.02', PubTime='2020.04.16 06:52:31'}, TerstEntity{currencyName='USD', buyingRate='705.42', cashBuyingRate='699.68', sellingRate='708.41', cashSellingRate='708.41', middleRate='704.02', PubTime='2020.04.16 05:30:00'}, TerstEntity{currencyName='USD', buyingRate='705.42', cashBuyingRate='699.68', sellingRate='708.41', cashSellingRate='708.41', middleRate='704.02', PubTime='2020.04.16 05:30:00'}, TerstEntity{currencyName='USD', buyingRate='705.42', cashBuyingRate='699.68', sellingRate='708.41', cashSellingRate='708.41', middleRate='704.02', PubTime='2020.04.16 05:30:00'}, TerstEntity{currencyName='USD', buyingRate='705.42', cashBuyingRate='699.68', sellingRate='708.41', cashSellingRate='708.41', middleRate='704.02', PubTime='2020.04.16 00:00:44'}], [TerstEntity{currencyName='USD', buyingRate='705.92', cashBuyingRate='700.18', sellingRate='708.91', cashSellingRate='708.91', middleRate='704.02', PubTime='2020.04.16 09:20:07'}, TerstEntity{currencyName='USD', buyingRate='705.87', cashBuyingRate='700.13', sellingRate='708.86', cashSellingRate='708.86', middleRate='704.02', PubTime='2020.04.16 09:20:02'}, TerstEntity{currencyName='USD', buyingRate='705.67', cashBuyingRate='699.93', sellingRate='708.66', cashSellingRate='708.66', middleRate='704.02', PubTime='2020.04.16 09:19:52'}, TerstEntity{currencyName='USD', buyingRate='705.67', cashBuyingRate='699.93', sellingRate='708.66', cashSellingRate='708.66', middleRate='704.02', PubTime='2020.04.16 09:19:02'}, TerstEntity{currencyName='USD', buyingRate='705.67', cashBuyingRate='699.93', sellingRate='708.66', cashSellingRate='708.66', middleRate='704.02', PubTime='2020.04.16 08:27:20'}, TerstEntity{currencyName='USD', buyingRate='705.42', cashBuyingRate='699.68', sellingRate='708.41', cashSellingRate='708.41', middleRate='704.02', PubTime='2020.04.16 06:52:31'}, TerstEntity{currencyName='USD', buyingRate='705.42', cashBuyingRate='699.68', sellingRate='708.41', cashSellingRate='708.41', middleRate='704.02', PubTime='2020.04.16 05:30:00'}, TerstEntity{currencyName='USD', buyingRate='705.42', cashBuyingRate='699.68', sellingRate='708.41', cashSellingRate='708.41', middleRate='704.02', PubTime='2020.04.16 05:30:00'}, TerstEntity{currencyName='USD', buyingRate='705.42', cashBuyingRate='699.68', sellingRate='708.41', cashSellingRate='708.41', middleRate='704.02', PubTime='2020.04.16 05:30:00'}, TerstEntity{currencyName='USD', buyingRate='705.42', cashBuyingRate='699.68', sellingRate='708.41', cashSellingRate='708.41', middleRate='704.02', PubTime='2020.04.16 00:00:44'}]]


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 218,284评论 6 506
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 93,115评论 3 395
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 164,614评论 0 354
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 58,671评论 1 293
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 67,699评论 6 392
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 51,562评论 1 305
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 40,309评论 3 418
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 39,223评论 0 276
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 45,668评论 1 314
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 37,859评论 3 336
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 39,981评论 1 348
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 35,705评论 5 347
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 41,310评论 3 330
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,904评论 0 22
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 33,023评论 1 270
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 48,146评论 3 370
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 44,933评论 2 355

推荐阅读更多精彩内容