Init Repo

This commit is contained in:
root
2019-09-06 23:53:10 +08:00
commit f0ef89dfbb
7905 changed files with 914138 additions and 0 deletions

31
extend/wxpay/WxPayConf.php Executable file
View File

@ -0,0 +1,31 @@
<?php
/**
* 配置账号信息
*/
class WxPayConf {
static public $APPID;
static public $APPSECRET;
static public $MCHID;
static public $KEY;
static public $CURL_TIMEOUT;
static public $NOTIFY_URL;
static public $RETURN_URL;
// =======【基本信息设置】=====================================
public function __construct($wxpayconfig = array()) {
self::$APPID = $wxpayconfig['appid'];
self::$APPSECRET = $wxpayconfig['appsecret'];
self::$MCHID = $wxpayconfig['mchid'];
self::$KEY = $wxpayconfig['key'];
self::$CURL_TIMEOUT = $wxpayconfig['curl_timeout'];
self::$NOTIFY_URL = $wxpayconfig['notifyurl'];
self::$RETURN_URL = $wxpayconfig['returnurl'];
}
}
?>