##信息流服务

功能点：
1.  并发请求从推荐、运营、广告处获取相关信息列表 @邓伟伟
2.  将获取到的相关信息列表进行信息融合   @王丽敬
3.  取文章的动态计数
4.  判断是否已点赞

```php
调用并发请求示例
$request_data = [
    "recommend" => [
        "method" => 'Get',
        "url"   => 'http://sso.dengwei4378.com',
        "timeout" => 2
    ],
    "tool" => [
        "method" => 'post',
        "url"   => 'http://lock-screen-push.int.yidian-inc.com/lock-screen/list',
        "params" => [
            "bizid" => "YDZX",
            "uid" => "765073697",
            "platform" => "1",
            "appid" => "hipu"
        ],
        "timeout" => 2,
        'content_type' => 'json',
        'headers' => [
            'Content-type' => 'application/json',
            'User-Agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3100.0 Safari/537.36'
        ]
    ],
    "advert" => [
        "method" => 'Get',
        "url"   => 'http://gateway.wemedia.yidian-inc.com/wemedia-macross-achievement:prod/achievement/challenge/medal/getChallengeMedal',
        "params" => [
            'mediaId' => 2396707
        ],
        "timeout" => 2
    ],
];
$info_flow_service = new InfoFlow();
$ret = $info_flow_service->getInfos($request_data);
var_dump($ret);
exit;
```

```php
调用卡片融合方法示例
$recommend = [
    ['card_number'=>0,'card_weight'=>-1],
    ['card_number'=>1,'card_weight'=>3]
];
$tool = [
    ['card_number'=>1,'card_weight'=>1],
    ['card_number'=>2,'card_weight'=>2]
];
$flows = new InfoFlow();
$res = $flows->mixSort( $recommend, $tool, $advert=[] );
print_r($res);
exit();
```