IndexData.php 596 Bytes
<?php
namespace LibModels\Wap\Index;

use Api\Sign;
use Api\Yohobuy;
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of IndexChannel
 *
 * @author Administrator
 */
class IndexData {
    public static function channelData()
    {
        $param = Yohobuy::param();
        $param['client_secret'] = Sign::getSign($param);
        return Yohobuy::get('http://service.api.yohobuy.com/operations/api/v5/entrance/getEntrance',$param);
    }
}