ChannelData.php 506 Bytes
<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016-5-3
 * Time: 10:41
 */

namespace LibModels\Wap\Home;

use Api\Yohobuy;
use Api\Sign;


class ChannelData
{
    //日韩馆调取资源位
    public static function getChannelData($contentCode)
    {
        $param = Yohobuy::param();
        $param['content_code'] = $contentCode;
        $param['client_secret'] = Sign::getSign($param);

        return Yohobuy::get(SERVICE_URL . 'operations/api/v5/resource/get', $param);

    }

}