Commit dab16d5b authored by wangjj's avatar wangjj

获取积分商城商品

parent ade26cc9
<?php
/**
* Created by PhpStorm.
* User: QQ
* Date: 2018/9/12
* Time: 17:48
*/
require __DIR__.'/_init.php';
use internalApi\bbs\Integralmall;
Integralmall::setDebug(true);
print_r(Integralmall::goods([529]));
\ No newline at end of file
<?php
/**
* Created by PhpStorm.
* User: QQ
* Date: 2018/9/12
* Time: 17:41
*/
namespace internalApi\bbs;
use internalApi\base\Client;
class Integralmall extends Client
{
/**
* 获取积分商城商品信息
* @param array $tids
* @return mixed
*/
public static function goods($tids = [])
{
return self::call('integralmall.goods', compact('tids'));
}
}
\ 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