mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
ComposerUpdate
This commit is contained in:
parent
f0abce75e9
commit
aedfd9c4ea
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit9497ee4ec47f887a8df8ef0872aa0e54::getLoader();
|
||||
return ComposerAutoloaderInit90877748d7744ab95f84f0842f77a41e::getLoader();
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit9497ee4ec47f887a8df8ef0872aa0e54
|
||||
class ComposerAutoloaderInit90877748d7744ab95f84f0842f77a41e
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -19,15 +19,15 @@ class ComposerAutoloaderInit9497ee4ec47f887a8df8ef0872aa0e54
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit9497ee4ec47f887a8df8ef0872aa0e54', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit90877748d7744ab95f84f0842f77a41e', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit9497ee4ec47f887a8df8ef0872aa0e54', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit90877748d7744ab95f84f0842f77a41e', '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\ComposerStaticInit9497ee4ec47f887a8df8ef0872aa0e54::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit90877748d7744ab95f84f0842f77a41e::getInitializer($loader));
|
||||
} else {
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
@ -48,19 +48,19 @@ class ComposerAutoloaderInit9497ee4ec47f887a8df8ef0872aa0e54
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit9497ee4ec47f887a8df8ef0872aa0e54::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit90877748d7744ab95f84f0842f77a41e::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire9497ee4ec47f887a8df8ef0872aa0e54($fileIdentifier, $file);
|
||||
composerRequire90877748d7744ab95f84f0842f77a41e($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire9497ee4ec47f887a8df8ef0872aa0e54($fileIdentifier, $file)
|
||||
function composerRequire90877748d7744ab95f84f0842f77a41e($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
require $file;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit9497ee4ec47f887a8df8ef0872aa0e54
|
||||
class ComposerStaticInit90877748d7744ab95f84f0842f77a41e
|
||||
{
|
||||
public static $files = array (
|
||||
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
|
||||
@ -288,9 +288,9 @@ class ComposerStaticInit9497ee4ec47f887a8df8ef0872aa0e54
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit9497ee4ec47f887a8df8ef0872aa0e54::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit9497ee4ec47f887a8df8ef0872aa0e54::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit9497ee4ec47f887a8df8ef0872aa0e54::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit90877748d7744ab95f84f0842f77a41e::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit90877748d7744ab95f84f0842f77a41e::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit90877748d7744ab95f84f0842f77a41e::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
24
vendor/composer/installed.json
vendored
24
vendor/composer/installed.json
vendored
@ -177,17 +177,17 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/options-resolver",
|
||||
"version": "v3.4.36",
|
||||
"version_normalized": "3.4.36.0",
|
||||
"version": "v3.4.38",
|
||||
"version_normalized": "3.4.38.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/options-resolver.git",
|
||||
"reference": "b224d20be60e6f7b55cd66914379a13a0b28651a"
|
||||
"reference": "730ef56164ed6c9356c159e9f5ff2b84d753b9ed"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/b224d20be60e6f7b55cd66914379a13a0b28651a",
|
||||
"reference": "b224d20be60e6f7b55cd66914379a13a0b28651a",
|
||||
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/730ef56164ed6c9356c159e9f5ff2b84d753b9ed",
|
||||
"reference": "730ef56164ed6c9356c159e9f5ff2b84d753b9ed",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -199,7 +199,7 @@
|
||||
"require": {
|
||||
"php": "^5.5.9|>=7.0.8"
|
||||
},
|
||||
"time": "2019-10-26T11:02:01+00:00",
|
||||
"time": "2020-01-01T11:03:25+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
@ -443,17 +443,17 @@
|
||||
},
|
||||
{
|
||||
"name": "zoujingli/wechat-developer",
|
||||
"version": "v1.2.16",
|
||||
"version_normalized": "1.2.16.0",
|
||||
"version": "v1.2.17",
|
||||
"version_normalized": "1.2.17.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/WeChatDeveloper.git",
|
||||
"reference": "01fa1479e8c4d7a0875de96787a2bcaeacc755e9"
|
||||
"reference": "98f6e82311a364220a677cdfd56dc9f97851ab24"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/WeChatDeveloper/zipball/01fa1479e8c4d7a0875de96787a2bcaeacc755e9",
|
||||
"reference": "01fa1479e8c4d7a0875de96787a2bcaeacc755e9",
|
||||
"url": "https://api.github.com/repos/zoujingli/WeChatDeveloper/zipball/98f6e82311a364220a677cdfd56dc9f97851ab24",
|
||||
"reference": "98f6e82311a364220a677cdfd56dc9f97851ab24",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -471,7 +471,7 @@
|
||||
"ext-simplexml": "*",
|
||||
"php": ">=5.4"
|
||||
},
|
||||
"time": "2020-01-04T08:51:50+00:00",
|
||||
"time": "2020-03-03T01:38:07+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
|
2
vendor/symfony/options-resolver/LICENSE
vendored
2
vendor/symfony/options-resolver/LICENSE
vendored
@ -1,4 +1,4 @@
|
||||
Copyright (c) 2004-2019 Fabien Potencier
|
||||
Copyright (c) 2004-2020 Fabien Potencier
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -25,17 +25,7 @@ class Transfer extends BasicAliPay
|
||||
{
|
||||
|
||||
/**
|
||||
* Transfer constructor.
|
||||
* @param array $options
|
||||
*/
|
||||
public function __construct(array $options)
|
||||
{
|
||||
parent::__construct($options);
|
||||
$this->options->set('method', 'alipay.fund.trans.toaccount.transfer');
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建数据操作
|
||||
* 旧版 向指定支付宝账户转账
|
||||
* @param array $options
|
||||
* @return mixed
|
||||
* @throws \WeChat\Exceptions\InvalidResponseException
|
||||
@ -43,6 +33,47 @@ class Transfer extends BasicAliPay
|
||||
*/
|
||||
public function apply($options)
|
||||
{
|
||||
$this->options->set('method', 'alipay.fund.trans.toaccount.transfer');
|
||||
return $this->getResult($options);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新版 向指定支付宝账户转账
|
||||
* @param array $options
|
||||
* @return array|bool
|
||||
* @throws \WeChat\Exceptions\InvalidResponseException
|
||||
* @throws \WeChat\Exceptions\LocalCacheException
|
||||
*/
|
||||
public function create($options = [])
|
||||
{
|
||||
$this->options->set('method', 'alipay.fund.trans.uni.transfer');
|
||||
return $this->getResult($options);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新版 转账业务单据查询接口
|
||||
* @param array $options
|
||||
* @return array|bool
|
||||
* @throws \WeChat\Exceptions\InvalidResponseException
|
||||
* @throws \WeChat\Exceptions\LocalCacheException
|
||||
*/
|
||||
public function queryResult($options = [])
|
||||
{
|
||||
$this->options->set('method', 'alipay.fund.trans.common.query');
|
||||
return $this->getResult($options);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 新版 支付宝资金账户资产查询接口
|
||||
* @param array $options
|
||||
* @return array|bool
|
||||
* @throws \WeChat\Exceptions\InvalidResponseException
|
||||
* @throws \WeChat\Exceptions\LocalCacheException
|
||||
*/
|
||||
public function queryAccount($options = [])
|
||||
{
|
||||
$this->options->set('method', 'alipay.fund.account.query');
|
||||
return $this->getResult($options);
|
||||
}
|
||||
}
|
2
vendor/zoujingli/wechat-developer/We.php
vendored
2
vendor/zoujingli/wechat-developer/We.php
vendored
@ -81,7 +81,7 @@ class We
|
||||
* 定义当前版本
|
||||
* @var string
|
||||
*/
|
||||
const VERSION = '1.2.13';
|
||||
const VERSION = '1.2.17';
|
||||
|
||||
/**
|
||||
* 静态配置
|
||||
|
37
vendor/zoujingli/wechat-developer/_test/alipay-transfer-account.php
vendored
Normal file
37
vendor/zoujingli/wechat-developer/_test/alipay-transfer-account.php
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
// +----------------------------------------------------------------------
|
||||
// | WeChatDeveloper
|
||||
// +----------------------------------------------------------------------
|
||||
// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | 官方网站: http://think.ctolog.com
|
||||
// +----------------------------------------------------------------------
|
||||
// | 开源协议 ( https://mit-license.org )
|
||||
// +----------------------------------------------------------------------
|
||||
// | github开源项目:https://github.com/zoujingli/WeChatDeveloper
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// 1. 手动加载入口文件
|
||||
include "../include.php";
|
||||
|
||||
// 2. 准备公众号配置参数
|
||||
$config = include "./alipay.php";
|
||||
|
||||
try {
|
||||
// 实例支付对象
|
||||
// $pay = We::AliPayTransfer($config);
|
||||
// $pay = new \AliPay\Transfer($config);
|
||||
$pay = \AliPay\Transfer::instance($config);
|
||||
|
||||
// 参考链接:https://docs.open.alipay.com/api_28/alipay.fund.account.query/
|
||||
$result = $pay->queryAccount([
|
||||
'alipay_user_id' => $config['appid'], // 订单号
|
||||
'account_scene_code' => 'SCENE_000_000_000',
|
||||
]);
|
||||
echo '<pre>';
|
||||
var_export($result);
|
||||
} catch (Exception $e) {
|
||||
echo $e->getMessage();
|
||||
}
|
||||
|
44
vendor/zoujingli/wechat-developer/_test/alipay-transfer-create.php
vendored
Normal file
44
vendor/zoujingli/wechat-developer/_test/alipay-transfer-create.php
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
// +----------------------------------------------------------------------
|
||||
// | WeChatDeveloper
|
||||
// +----------------------------------------------------------------------
|
||||
// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | 官方网站: http://think.ctolog.com
|
||||
// +----------------------------------------------------------------------
|
||||
// | 开源协议 ( https://mit-license.org )
|
||||
// +----------------------------------------------------------------------
|
||||
// | github开源项目:https://github.com/zoujingli/WeChatDeveloper
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// 1. 手动加载入口文件
|
||||
include "../include.php";
|
||||
|
||||
// 2. 准备公众号配置参数
|
||||
$config = include "./alipay.php";
|
||||
|
||||
try {
|
||||
// 实例支付对象
|
||||
// $pay = We::AliPayTransfer($config);
|
||||
// $pay = new \AliPay\Transfer($config);
|
||||
$pay = \AliPay\Transfer::instance($config);
|
||||
|
||||
// 参考链接:https://docs.open.alipay.com/api_28/alipay.fund.trans.uni.transfer/
|
||||
$result = $pay->create([
|
||||
'out_biz_no' => time(), // 订单号
|
||||
'trans_amount' => '10', // 转账金额
|
||||
'product_code' => 'TRANS_ACCOUNT_NO_PWD',
|
||||
'biz_scene' => 'DIRECT_TRANSFER',
|
||||
'payee_info' => [
|
||||
'identity' => 'zoujingli@qq.com',
|
||||
'identity_type' => 'ALIPAY_LOGON_ID',
|
||||
'name' => '邹景立',
|
||||
],
|
||||
]);
|
||||
echo '<pre>';
|
||||
var_export($result);
|
||||
} catch (Exception $e) {
|
||||
echo $e->getMessage();
|
||||
}
|
||||
|
38
vendor/zoujingli/wechat-developer/_test/alipay-transfer-query.php
vendored
Normal file
38
vendor/zoujingli/wechat-developer/_test/alipay-transfer-query.php
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
// +----------------------------------------------------------------------
|
||||
// | WeChatDeveloper
|
||||
// +----------------------------------------------------------------------
|
||||
// | 版权所有 2014~2018 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | 官方网站: http://think.ctolog.com
|
||||
// +----------------------------------------------------------------------
|
||||
// | 开源协议 ( https://mit-license.org )
|
||||
// +----------------------------------------------------------------------
|
||||
// | github开源项目:https://github.com/zoujingli/WeChatDeveloper
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// 1. 手动加载入口文件
|
||||
include "../include.php";
|
||||
|
||||
// 2. 准备公众号配置参数
|
||||
$config = include "./alipay.php";
|
||||
|
||||
try {
|
||||
// 实例支付对象
|
||||
// $pay = We::AliPayTransfer($config);
|
||||
// $pay = new \AliPay\Transfer($config);
|
||||
$pay = \AliPay\Transfer::instance($config);
|
||||
|
||||
// 参考链接:https://docs.open.alipay.com/api_28/alipay.fund.trans.common.query/
|
||||
$result = $pay->queryResult([
|
||||
'out_biz_no' => '201808080001', // 订单号
|
||||
'product_code' => 'TRANS_ACCOUNT_NO_PWD',
|
||||
'biz_scene' => 'DIRECT_TRANSFER',
|
||||
]);
|
||||
echo '<pre>';
|
||||
var_export($result);
|
||||
} catch (Exception $e) {
|
||||
echo $e->getMessage();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user