Beispiel #1
0
 function __construct()
 {
     parent::__construct();
     //设置curl超时时间
     $this->curl_timeout = $this->curltimeout;
 }
 function __construct($appid, $mchid, $key, $appsecret)
 {
     Common_util_pub::__construct($appid, $mchid, $key, $appsecret);
     //设置curl超时时间
     $this->curl_timeout = 60;
 }
 public function __construct($appid, $mchid, $key)
 {
     Common_util_pub::__construct($appid, $mchid, $key);
     $this->curl_timeout = 60;
 }
Beispiel #4
0
 function __construct($appid, $mchid, $key, $appsecret)
 {
     Common_util_pub::__construct($appid, $mchid, $key, $appsecret);
     //设置curl超时时间
     //$this->curl_timeout = 60;
     $this->url = "https://api.mch.weixin.qq.com/mmpaymkttransfers/send_coupon";
 }
Beispiel #5
0
 public function __construct($config)
 {
     parent::__construct($config);
     //设置curl超时时间
     $this->curl_timeout = self::CURL_TIMEOUT;
 }