[测试]公众号jsapi支付

This commit is contained in:
Anyon 2018-05-03 15:20:30 +08:00
parent 8213ecf353
commit d404b32751
4 changed files with 13 additions and 13 deletions

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit8a0c72f1be6c090d67392cf464d73972::getLoader();
return ComposerAutoloaderInit1bea0cc7e1b2c72f31786e6bf86d3d83::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit8a0c72f1be6c090d67392cf464d73972
class ComposerAutoloaderInit1bea0cc7e1b2c72f31786e6bf86d3d83
{
private static $loader;
@ -19,15 +19,15 @@ class ComposerAutoloaderInit8a0c72f1be6c090d67392cf464d73972
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit8a0c72f1be6c090d67392cf464d73972', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit1bea0cc7e1b2c72f31786e6bf86d3d83', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit8a0c72f1be6c090d67392cf464d73972', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit1bea0cc7e1b2c72f31786e6bf86d3d83', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit8a0c72f1be6c090d67392cf464d73972::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit1bea0cc7e1b2c72f31786e6bf86d3d83::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
@ -48,19 +48,19 @@ class ComposerAutoloaderInit8a0c72f1be6c090d67392cf464d73972
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit8a0c72f1be6c090d67392cf464d73972::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit1bea0cc7e1b2c72f31786e6bf86d3d83::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire8a0c72f1be6c090d67392cf464d73972($fileIdentifier, $file);
composerRequire1bea0cc7e1b2c72f31786e6bf86d3d83($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire8a0c72f1be6c090d67392cf464d73972($fileIdentifier, $file)
function composerRequire1bea0cc7e1b2c72f31786e6bf86d3d83($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit8a0c72f1be6c090d67392cf464d73972
class ComposerStaticInit1bea0cc7e1b2c72f31786e6bf86d3d83
{
public static $files = array (
'1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php',
@ -272,9 +272,9 @@ class ComposerStaticInit8a0c72f1be6c090d67392cf464d73972
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit8a0c72f1be6c090d67392cf464d73972::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit8a0c72f1be6c090d67392cf464d73972::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit8a0c72f1be6c090d67392cf464d73972::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit1bea0cc7e1b2c72f31786e6bf86d3d83::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit1bea0cc7e1b2c72f31786e6bf86d3d83::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit1bea0cc7e1b2c72f31786e6bf86d3d83::$classMap;
}, null, ClassLoader::class);
}

View File

@ -294,7 +294,7 @@ class Pay
* @return array
* @throws InvalidResponseException
*/
public function callPostApi($url, array $data, $isCert = false, $signType = 'MD5', $needSignType = true)
public function callPostApi($url, array $data, $isCert = false, $signType = 'HMAC-SHA256', $needSignType = true)
{
$option = [];
if ($isCert) {