PHP Class Tencent, thinksns

Author: xiaopengzhu ([email protected])
Mostra file Open project: medz/thinksns-4 Class Usage Examples

Public Properties

Property Type Description
$apiUrlHttp 接口url
$apiUrlHttps
$debug 调试模式

Public Methods

Method Description
api ( $command, $params = [], $method = 'GET', $multi = false ) : string 发起一个腾讯API请求

Method Details

api() public static method

发起一个腾讯API请求
public static api ( $command, $params = [], $method = 'GET', $multi = false ) : string
$command 接口名称 如:t/add
$params 接口参数 array('content'=>'test');
$method 请求方式 POST|GET
$multi 图片信息
return string

Property Details

$apiUrlHttp public_oe static_oe property

接口url
public static $apiUrlHttp

$apiUrlHttps public_oe static_oe property

public static $apiUrlHttps

$debug public_oe static_oe property

调试模式
public static $debug