__construct() __construct( $appId = null, $appSecret = null) 构造函数 WxBase constructor. Parameters $appId $appSecret
import() import( $orderList, integer $isHistory) : boolean 导入订单 Parameters $orderList integer $isHistory Throws \app\common\exception\BaseException Returns boolean
update() update( $orderList, integer $isHistory) : boolean 更新订单 Parameters $orderList integer $isHistory Throws \app\common\exception\BaseException Returns boolean
delete() delete(string $openId, string $orderId) : boolean 删除商品收藏 Parameters string $openId string $orderId 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