IndexData.php 588 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(Yohobuy::SERVICE_URL . 'operations/api/v5/entrance/getEntrance',$param);
    }
}