mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 安装三方库curl
This commit is contained in:
parent
c3bd810f36
commit
af9d1a176c
@ -3,8 +3,12 @@
|
||||
namespace app\api\controller;
|
||||
|
||||
|
||||
use Curl\Curl;
|
||||
|
||||
class Index extends Base {
|
||||
public function index() {
|
||||
$curl = new Curl();
|
||||
dump($curl->get('http://www.apiadmin.org'));exit;
|
||||
$this->debug([
|
||||
'TpVersion' => THINK_VERSION
|
||||
]);
|
||||
|
@ -22,7 +22,8 @@
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.6.0",
|
||||
"topthink/framework": "~5.0.0"
|
||||
"topthink/framework": "~5.0.0",
|
||||
"php-curl-class/php-curl-class": "^8.0"
|
||||
},
|
||||
"extra": {
|
||||
"think-path": "thinkphp"
|
||||
|
0
thinkphp/.gitignore
vendored
Executable file → Normal file
0
thinkphp/.gitignore
vendored
Executable file → Normal file
0
thinkphp/.htaccess
Executable file → Normal file
0
thinkphp/.htaccess
Executable file → Normal file
0
thinkphp/.travis.yml
Executable file → Normal file
0
thinkphp/.travis.yml
Executable file → Normal file
0
thinkphp/CONTRIBUTING.md
Executable file → Normal file
0
thinkphp/CONTRIBUTING.md
Executable file → Normal file
0
thinkphp/LICENSE.txt
Executable file → Normal file
0
thinkphp/LICENSE.txt
Executable file → Normal file
0
thinkphp/README.md
Executable file → Normal file
0
thinkphp/README.md
Executable file → Normal file
0
thinkphp/base.php
Executable file → Normal file
0
thinkphp/base.php
Executable file → Normal file
0
thinkphp/codecov.yml
Executable file → Normal file
0
thinkphp/codecov.yml
Executable file → Normal file
0
thinkphp/composer.json
Executable file → Normal file
0
thinkphp/composer.json
Executable file → Normal file
0
thinkphp/console.php
Executable file → Normal file
0
thinkphp/console.php
Executable file → Normal file
0
thinkphp/convention.php
Executable file → Normal file
0
thinkphp/convention.php
Executable file → Normal file
0
thinkphp/helper.php
Executable file → Normal file
0
thinkphp/helper.php
Executable file → Normal file
0
thinkphp/lang/zh-cn.php
Executable file → Normal file
0
thinkphp/lang/zh-cn.php
Executable file → Normal file
0
thinkphp/library/think/App.php
Executable file → Normal file
0
thinkphp/library/think/App.php
Executable file → Normal file
0
thinkphp/library/think/Build.php
Executable file → Normal file
0
thinkphp/library/think/Build.php
Executable file → Normal file
0
thinkphp/library/think/Cache.php
Executable file → Normal file
0
thinkphp/library/think/Cache.php
Executable file → Normal file
0
thinkphp/library/think/Collection.php
Executable file → Normal file
0
thinkphp/library/think/Collection.php
Executable file → Normal file
0
thinkphp/library/think/Config.php
Executable file → Normal file
0
thinkphp/library/think/Config.php
Executable file → Normal file
0
thinkphp/library/think/Console.php
Executable file → Normal file
0
thinkphp/library/think/Console.php
Executable file → Normal file
0
thinkphp/library/think/Controller.php
Executable file → Normal file
0
thinkphp/library/think/Controller.php
Executable file → Normal file
0
thinkphp/library/think/Cookie.php
Executable file → Normal file
0
thinkphp/library/think/Cookie.php
Executable file → Normal file
0
thinkphp/library/think/Db.php
Executable file → Normal file
0
thinkphp/library/think/Db.php
Executable file → Normal file
0
thinkphp/library/think/Debug.php
Executable file → Normal file
0
thinkphp/library/think/Debug.php
Executable file → Normal file
0
thinkphp/library/think/Env.php
Executable file → Normal file
0
thinkphp/library/think/Env.php
Executable file → Normal file
0
thinkphp/library/think/Error.php
Executable file → Normal file
0
thinkphp/library/think/Error.php
Executable file → Normal file
0
thinkphp/library/think/Exception.php
Executable file → Normal file
0
thinkphp/library/think/Exception.php
Executable file → Normal file
0
thinkphp/library/think/File.php
Executable file → Normal file
0
thinkphp/library/think/File.php
Executable file → Normal file
0
thinkphp/library/think/Hook.php
Executable file → Normal file
0
thinkphp/library/think/Hook.php
Executable file → Normal file
0
thinkphp/library/think/Lang.php
Executable file → Normal file
0
thinkphp/library/think/Lang.php
Executable file → Normal file
0
thinkphp/library/think/Loader.php
Executable file → Normal file
0
thinkphp/library/think/Loader.php
Executable file → Normal file
0
thinkphp/library/think/Log.php
Executable file → Normal file
0
thinkphp/library/think/Log.php
Executable file → Normal file
0
thinkphp/library/think/Model.php
Executable file → Normal file
0
thinkphp/library/think/Model.php
Executable file → Normal file
0
thinkphp/library/think/Paginator.php
Executable file → Normal file
0
thinkphp/library/think/Paginator.php
Executable file → Normal file
0
thinkphp/library/think/Process.php
Executable file → Normal file
0
thinkphp/library/think/Process.php
Executable file → Normal file
0
thinkphp/library/think/Request.php
Executable file → Normal file
0
thinkphp/library/think/Request.php
Executable file → Normal file
0
thinkphp/library/think/Response.php
Executable file → Normal file
0
thinkphp/library/think/Response.php
Executable file → Normal file
0
thinkphp/library/think/Route.php
Executable file → Normal file
0
thinkphp/library/think/Route.php
Executable file → Normal file
0
thinkphp/library/think/Session.php
Executable file → Normal file
0
thinkphp/library/think/Session.php
Executable file → Normal file
0
thinkphp/library/think/Template.php
Executable file → Normal file
0
thinkphp/library/think/Template.php
Executable file → Normal file
0
thinkphp/library/think/Url.php
Executable file → Normal file
0
thinkphp/library/think/Url.php
Executable file → Normal file
0
thinkphp/library/think/Validate.php
Executable file → Normal file
0
thinkphp/library/think/Validate.php
Executable file → Normal file
0
thinkphp/library/think/View.php
Executable file → Normal file
0
thinkphp/library/think/View.php
Executable file → Normal file
0
thinkphp/library/think/cache/Driver.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/Driver.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/File.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/File.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Lite.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Lite.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Memcache.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Memcache.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Memcached.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Memcached.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Redis.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Redis.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Sqlite.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Sqlite.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Wincache.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Wincache.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Xcache.php
vendored
Executable file → Normal file
0
thinkphp/library/think/cache/driver/Xcache.php
vendored
Executable file → Normal file
0
thinkphp/library/think/config/driver/Ini.php
Executable file → Normal file
0
thinkphp/library/think/config/driver/Ini.php
Executable file → Normal file
0
thinkphp/library/think/config/driver/Json.php
Executable file → Normal file
0
thinkphp/library/think/config/driver/Json.php
Executable file → Normal file
0
thinkphp/library/think/config/driver/Xml.php
Executable file → Normal file
0
thinkphp/library/think/config/driver/Xml.php
Executable file → Normal file
0
thinkphp/library/think/console/Command.php
Executable file → Normal file
0
thinkphp/library/think/console/Command.php
Executable file → Normal file
0
thinkphp/library/think/console/Input.php
Executable file → Normal file
0
thinkphp/library/think/console/Input.php
Executable file → Normal file
0
thinkphp/library/think/console/LICENSE
Executable file → Normal file
0
thinkphp/library/think/console/LICENSE
Executable file → Normal file
0
thinkphp/library/think/console/Output.php
Executable file → Normal file
0
thinkphp/library/think/console/Output.php
Executable file → Normal file
0
thinkphp/library/think/console/bin/README.md
Executable file → Normal file
0
thinkphp/library/think/console/bin/README.md
Executable file → Normal file
0
thinkphp/library/think/console/bin/hiddeninput.exe
Executable file → Normal file
0
thinkphp/library/think/console/bin/hiddeninput.exe
Executable file → Normal file
0
thinkphp/library/think/console/command/Build.php
Executable file → Normal file
0
thinkphp/library/think/console/command/Build.php
Executable file → Normal file
0
thinkphp/library/think/console/command/Clear.php
Executable file → Normal file
0
thinkphp/library/think/console/command/Clear.php
Executable file → Normal file
0
thinkphp/library/think/console/command/Help.php
Executable file → Normal file
0
thinkphp/library/think/console/command/Help.php
Executable file → Normal file
0
thinkphp/library/think/console/command/Lists.php
Executable file → Normal file
0
thinkphp/library/think/console/command/Lists.php
Executable file → Normal file
0
thinkphp/library/think/console/command/Make.php
Executable file → Normal file
0
thinkphp/library/think/console/command/Make.php
Executable file → Normal file
0
thinkphp/library/think/console/command/make/Controller.php
Executable file → Normal file
0
thinkphp/library/think/console/command/make/Controller.php
Executable file → Normal file
0
thinkphp/library/think/console/command/make/Model.php
Executable file → Normal file
0
thinkphp/library/think/console/command/make/Model.php
Executable file → Normal file
0
thinkphp/library/think/console/command/make/stubs/controller.plain.stub
Executable file → Normal file
0
thinkphp/library/think/console/command/make/stubs/controller.plain.stub
Executable file → Normal file
0
thinkphp/library/think/console/command/make/stubs/controller.stub
Executable file → Normal file
0
thinkphp/library/think/console/command/make/stubs/controller.stub
Executable file → Normal file
0
thinkphp/library/think/console/command/make/stubs/model.stub
Executable file → Normal file
0
thinkphp/library/think/console/command/make/stubs/model.stub
Executable file → Normal file
0
thinkphp/library/think/console/command/optimize/Autoload.php
Executable file → Normal file
0
thinkphp/library/think/console/command/optimize/Autoload.php
Executable file → Normal file
0
thinkphp/library/think/console/command/optimize/Config.php
Executable file → Normal file
0
thinkphp/library/think/console/command/optimize/Config.php
Executable file → Normal file
0
thinkphp/library/think/console/command/optimize/Route.php
Executable file → Normal file
0
thinkphp/library/think/console/command/optimize/Route.php
Executable file → Normal file
0
thinkphp/library/think/console/command/optimize/Schema.php
Executable file → Normal file
0
thinkphp/library/think/console/command/optimize/Schema.php
Executable file → Normal file
0
thinkphp/library/think/console/input/Argument.php
Executable file → Normal file
0
thinkphp/library/think/console/input/Argument.php
Executable file → Normal file
0
thinkphp/library/think/console/input/Definition.php
Executable file → Normal file
0
thinkphp/library/think/console/input/Definition.php
Executable file → Normal file
0
thinkphp/library/think/console/input/Option.php
Executable file → Normal file
0
thinkphp/library/think/console/input/Option.php
Executable file → Normal file
0
thinkphp/library/think/console/output/Ask.php
Executable file → Normal file
0
thinkphp/library/think/console/output/Ask.php
Executable file → Normal file
0
thinkphp/library/think/console/output/Descriptor.php
Executable file → Normal file
0
thinkphp/library/think/console/output/Descriptor.php
Executable file → Normal file
0
thinkphp/library/think/console/output/Formatter.php
Executable file → Normal file
0
thinkphp/library/think/console/output/Formatter.php
Executable file → Normal file
0
thinkphp/library/think/console/output/Question.php
Executable file → Normal file
0
thinkphp/library/think/console/output/Question.php
Executable file → Normal file
0
thinkphp/library/think/console/output/descriptor/Console.php
Executable file → Normal file
0
thinkphp/library/think/console/output/descriptor/Console.php
Executable file → Normal file
0
thinkphp/library/think/console/output/driver/Buffer.php
Executable file → Normal file
0
thinkphp/library/think/console/output/driver/Buffer.php
Executable file → Normal file
0
thinkphp/library/think/console/output/driver/Console.php
Executable file → Normal file
0
thinkphp/library/think/console/output/driver/Console.php
Executable file → Normal file
0
thinkphp/library/think/console/output/driver/Nothing.php
Executable file → Normal file
0
thinkphp/library/think/console/output/driver/Nothing.php
Executable file → Normal file
0
thinkphp/library/think/console/output/formatter/Stack.php
Executable file → Normal file
0
thinkphp/library/think/console/output/formatter/Stack.php
Executable file → Normal file
0
thinkphp/library/think/console/output/formatter/Style.php
Executable file → Normal file
0
thinkphp/library/think/console/output/formatter/Style.php
Executable file → Normal file
0
thinkphp/library/think/console/output/question/Choice.php
Executable file → Normal file
0
thinkphp/library/think/console/output/question/Choice.php
Executable file → Normal file
0
thinkphp/library/think/console/output/question/Confirmation.php
Executable file → Normal file
0
thinkphp/library/think/console/output/question/Confirmation.php
Executable file → Normal file
0
thinkphp/library/think/controller/Rest.php
Executable file → Normal file
0
thinkphp/library/think/controller/Rest.php
Executable file → Normal file
0
thinkphp/library/think/controller/Yar.php
Executable file → Normal file
0
thinkphp/library/think/controller/Yar.php
Executable file → Normal file
0
thinkphp/library/think/db/Builder.php
Executable file → Normal file
0
thinkphp/library/think/db/Builder.php
Executable file → Normal file
0
thinkphp/library/think/db/Connection.php
Executable file → Normal file
0
thinkphp/library/think/db/Connection.php
Executable file → Normal file
0
thinkphp/library/think/db/Query.php
Executable file → Normal file
0
thinkphp/library/think/db/Query.php
Executable file → Normal file
0
thinkphp/library/think/db/builder/Mysql.php
Executable file → Normal file
0
thinkphp/library/think/db/builder/Mysql.php
Executable file → Normal file
0
thinkphp/library/think/db/builder/Pgsql.php
Executable file → Normal file
0
thinkphp/library/think/db/builder/Pgsql.php
Executable file → Normal file
0
thinkphp/library/think/db/builder/Sqlite.php
Executable file → Normal file
0
thinkphp/library/think/db/builder/Sqlite.php
Executable file → Normal file
0
thinkphp/library/think/db/builder/Sqlsrv.php
Executable file → Normal file
0
thinkphp/library/think/db/builder/Sqlsrv.php
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user