Commit 3a38f93c authored by 夏彬's avatar 夏彬

添加获取拼团商品

parent 5ba06b70
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 07/02/2018
* Time: 11:46 AM
*/
require(__DIR__ . '/../extend/internalApi/autoload.php');
require(__DIR__ . '/../config/config_ibanshou.php');
\internalApi\base\Client::config($config['wxh.internal']['client']);
echo json_encode(internalApi\bbs\Tcptuan::getGoods(3));
\ No newline at end of file
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 07/02/2018
* Time: 10:47 AM
*/
namespace internalApi\bbs;
use internalApi\base\Client;
class Tcptuan extends Client
{
public static function getGoods($num = 3)
{
return self::call('tcptuan.getGoods',compact('num'));
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment