__construct() __construct( $appId = null, $appSecret = null) 构造函数 WxBase constructor. Parameters $appId $appSecret
addList() addList(string $openId, array $productList) : boolean 导入商品收藏 Parameters string $openId array $productList Throws \app\common\exception\BaseException Returns boolean
delete() delete( $openId, $productList) : boolean 删除商品收藏 Parameters $openId $productList Throws \app\common\exception\BaseException Returns boolean
getAccessToken() getAccessToken() : mixed 获取access_token Throws \app\common\exception\BaseException Returns mixed
get() get(string $url) : string 模拟GET请求 HTTPS的页面 Parameters string $url 请求地址 Returns string — $result
post() post( $url, array $data = array(), boolean $useCert = false, array $sslCert = array()) : mixed 模拟POST请求 Parameters $url array $data boolean $useCert array $sslCert Returns mixed