Commit cc691e5f authored by 夏彬's avatar 夏彬

添加拼团相关

parent 6301b1ad
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 07/02/2018
* Time: 10:49 AM
*/
require __DIR__.'/_init.php';
\internalApi\bbs\Tcptuan::setDebug(true);
print_r(\internalApi\bbs\Tcptuan::getGoods(1));
\ 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