From f3c28fa51fe735059dec43a288ab51485e1f2654 Mon Sep 17 00:00:00 2001 From: as2252258 Date: Thu, 19 Jul 2018 19:43:07 +0800 Subject: [PATCH] 1 --- config.php | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ test.php | 15 ++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 config.php create mode 100644 test.php diff --git a/config.php b/config.php new file mode 100644 index 0000000..ff7bb56 --- /dev/null +++ b/config.php @@ -0,0 +1,61 @@ + 'wx0a825f86f531c5d4', +// 'app_secret' => '79e644e1510da224a94ec7f61bf62565', +// 'key' => 'tZbiiLJG6ZKUo1jhy09M7ha4KIJiwskO', +// ]; +//}else{ +return [ + 'app_id' => 'wxb4c6efd3cca6385b', + 'app_secret' => '9b1ed69033c4e33a928daeab31945184', + 'key' => 'tZbiiLJG6ZKUo1jhy09M7ha4KIJiwskO', + 'mch_id' => '1502867261', + 'encodingAesKey' => '3ZcJvXrncPjbUucxxmlqQRXbmazdklECBEdmLqYt0PG', + 'token' => '837ee5101638f7321553fc2809cffdb0', + 'notify_url' => 'https://game-slave-trade-api.zhuangb123.com/friend_geet/NewPay/actionNotify', +]; +//} + +//function myAutoload($className) +//{ +// $files = glob(__DIR__ . '/packet'); +// $explode = end(explode('\\', $className)); +// if (!empty($files)) { +// foreach ($files as $key => $val) { +// if (strpos($val, $explode) !== false) { +// include $val; +// break; +// } +// } +// } +//} + +//spl_autoload_register('autoload'); +//return [ +// 'app_id' => 'wx0a825f86f531c5d4', +// 'app_secret' => '79e644e1510da224a94ec7f61bf62565', +// 'key' => 'tZbiiLJG6ZKUo1jhy09M7ha4KIJiwskO', +//]; diff --git a/test.php b/test.php new file mode 100644 index 0000000..9425b29 --- /dev/null +++ b/test.php @@ -0,0 +1,15 @@ +