コード例 #1
0
ファイル: WxPayPubHelper.php プロジェクト: guohao214/xinya
 function __construct($payObject)
 {
     //设置接口链接
     $this->url = "https://api.mch.weixin.qq.com/pay/downloadbill";
     //设置curl超时时间
     $this->curl_timeout = 15;
     parent::__construct($payObject);
 }
コード例 #2
0
ファイル: WxPayPubHelper.php プロジェクト: shiruolin/hzzshop
 function __construct()
 {
     parent::__construct();
     //设置接口链接
     $this->url = "https://api.mch.weixin.qq.com/pay/unifiedorder";
     //设置curl超时时间
     $this->curl_timeout = $this->curltimeout;
 }
コード例 #3
0
ファイル: WxPayServer.class.php プロジェクト: yellowriver/pay
 public function __construct($config)
 {
     parent::__construct($config);
     //设置接口链接
     $this->url = "https://api.mch.weixin.qq.com/tools/shorturl";
     //设置curl超时时间
     $this->curl_timeout = self::CURL_TIMEOUT;
 }