PHP 클래스 Tencent, thinksns

저자: xiaopengzhu ([email protected])
파일 보기 프로젝트 열기: medz/thinksns-4 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$apiUrlHttp 接口url
$apiUrlHttps
$debug 调试模式

공개 메소드들

메소드 설명
api ( $command, $params = [], $method = 'GET', $multi = false ) : string 发起一个腾讯API请求

메소드 상세

api() 공개 정적인 메소드

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

프로퍼티 상세

$apiUrlHttp 공개적으로 정적으로 프로퍼티

接口url
public static $apiUrlHttp

$apiUrlHttps 공개적으로 정적으로 프로퍼티

public static $apiUrlHttps

$debug 공개적으로 정적으로 프로퍼티

调试模式
public static $debug