Commit 3ee6ec40 authored by 汪波's avatar 汪波

Merge remote-tracking branch 'origin/test' into test

parents bc692e2f 7fb066b9
<?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