Merge remote-tracking branch 'origin/master'

This commit is contained in:
zhaoxiang 2018-03-06 11:24:38 +08:00
commit 8448841085
168 changed files with 20 additions and 10 deletions

View File

@ -3,8 +3,12 @@
namespace app\api\controller; namespace app\api\controller;
use Curl\Curl;
class Index extends Base { class Index extends Base {
public function index() { public function index() {
$curl = new Curl();
dump($curl->get('http://www.apiadmin.org'));exit;
$this->debug([ $this->debug([
'TpVersion' => THINK_VERSION 'TpVersion' => THINK_VERSION
]); ]);

View File

@ -1,23 +1,29 @@
{ {
"name": "topthink/think", "name": "apiadmin/apiadmin3",
"description": "the new thinkphp framework", "description": "the api manager",
"type": "project", "type": "project",
"keywords": [ "keywords": [
"framework", "api",
"thinkphp", "apiadmin",
"ORM" "tp5"
], ],
"homepage": "http://thinkphp.cn/", "homepage": "http://www.apiadmin.org/",
"license": "Apache-2.0", "license": "Apache-2.0",
"authors": [ "authors": [
{ {
"name": "liu21st", "name": "zhao",
"email": "liu21st@gmail.com" "email": "756958008@qq.com"
} }
], ],
"autoload": {
"psr-4": {
"app\\": "application"
}
},
"require": { "require": {
"php": ">=5.4.0", "php": ">=5.6.0",
"topthink/framework": "~5.0.0" "topthink/framework": "~5.0.0",
"php-curl-class/php-curl-class": "^8.0"
}, },
"extra": { "extra": {
"think-path": "thinkphp" "think-path": "thinkphp"

0
thinkphp/.gitignore vendored Executable file → Normal file
View File

0
thinkphp/.htaccess Executable file → Normal file
View File

0
thinkphp/.travis.yml Executable file → Normal file
View File

0
thinkphp/CONTRIBUTING.md Executable file → Normal file
View File

0
thinkphp/LICENSE.txt Executable file → Normal file
View File

0
thinkphp/README.md Executable file → Normal file
View File

0
thinkphp/base.php Executable file → Normal file
View File

0
thinkphp/codecov.yml Executable file → Normal file
View File

0
thinkphp/composer.json Executable file → Normal file
View File

0
thinkphp/console.php Executable file → Normal file
View File

0
thinkphp/convention.php Executable file → Normal file
View File

0
thinkphp/helper.php Executable file → Normal file
View File

0
thinkphp/lang/zh-cn.php Executable file → Normal file
View File

0
thinkphp/library/think/App.php Executable file → Normal file
View File

0
thinkphp/library/think/Build.php Executable file → Normal file
View File

0
thinkphp/library/think/Cache.php Executable file → Normal file
View File

0
thinkphp/library/think/Collection.php Executable file → Normal file
View File

0
thinkphp/library/think/Config.php Executable file → Normal file
View File

0
thinkphp/library/think/Console.php Executable file → Normal file
View File

0
thinkphp/library/think/Controller.php Executable file → Normal file
View File

0
thinkphp/library/think/Cookie.php Executable file → Normal file
View File

0
thinkphp/library/think/Db.php Executable file → Normal file
View File

0
thinkphp/library/think/Debug.php Executable file → Normal file
View File

0
thinkphp/library/think/Env.php Executable file → Normal file
View File

0
thinkphp/library/think/Error.php Executable file → Normal file
View File

0
thinkphp/library/think/Exception.php Executable file → Normal file
View File

0
thinkphp/library/think/File.php Executable file → Normal file
View File

0
thinkphp/library/think/Hook.php Executable file → Normal file
View File

0
thinkphp/library/think/Lang.php Executable file → Normal file
View File

0
thinkphp/library/think/Loader.php Executable file → Normal file
View File

0
thinkphp/library/think/Log.php Executable file → Normal file
View File

0
thinkphp/library/think/Model.php Executable file → Normal file
View File

0
thinkphp/library/think/Paginator.php Executable file → Normal file
View File

0
thinkphp/library/think/Process.php Executable file → Normal file
View File

0
thinkphp/library/think/Request.php Executable file → Normal file
View File

0
thinkphp/library/think/Response.php Executable file → Normal file
View File

0
thinkphp/library/think/Route.php Executable file → Normal file
View File

0
thinkphp/library/think/Session.php Executable file → Normal file
View File

0
thinkphp/library/think/Template.php Executable file → Normal file
View File

0
thinkphp/library/think/Url.php Executable file → Normal file
View File

0
thinkphp/library/think/Validate.php Executable file → Normal file
View File

0
thinkphp/library/think/View.php Executable file → Normal file
View File

0
thinkphp/library/think/cache/Driver.php vendored Executable file → Normal file
View File

0
thinkphp/library/think/cache/driver/File.php vendored Executable file → Normal file
View File

0
thinkphp/library/think/cache/driver/Lite.php vendored Executable file → Normal file
View File

0
thinkphp/library/think/cache/driver/Memcache.php vendored Executable file → Normal file
View File

0
thinkphp/library/think/cache/driver/Memcached.php vendored Executable file → Normal file
View File

0
thinkphp/library/think/cache/driver/Redis.php vendored Executable file → Normal file
View File

0
thinkphp/library/think/cache/driver/Sqlite.php vendored Executable file → Normal file
View File

0
thinkphp/library/think/cache/driver/Wincache.php vendored Executable file → Normal file
View File

0
thinkphp/library/think/cache/driver/Xcache.php vendored Executable file → Normal file
View File

0
thinkphp/library/think/config/driver/Ini.php Executable file → Normal file
View File

0
thinkphp/library/think/config/driver/Json.php Executable file → Normal file
View File

0
thinkphp/library/think/config/driver/Xml.php Executable file → Normal file
View File

0
thinkphp/library/think/console/Command.php Executable file → Normal file
View File

0
thinkphp/library/think/console/Input.php Executable file → Normal file
View File

0
thinkphp/library/think/console/LICENSE Executable file → Normal file
View File

0
thinkphp/library/think/console/Output.php Executable file → Normal file
View File

0
thinkphp/library/think/console/bin/README.md Executable file → Normal file
View File

0
thinkphp/library/think/console/bin/hiddeninput.exe Executable file → Normal file
View File

0
thinkphp/library/think/console/command/Build.php Executable file → Normal file
View File

0
thinkphp/library/think/console/command/Clear.php Executable file → Normal file
View File

0
thinkphp/library/think/console/command/Help.php Executable file → Normal file
View File

0
thinkphp/library/think/console/command/Lists.php Executable file → Normal file
View File

0
thinkphp/library/think/console/command/Make.php Executable file → Normal file
View File

View File

0
thinkphp/library/think/console/command/make/Model.php Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

0
thinkphp/library/think/console/input/Argument.php Executable file → Normal file
View File

0
thinkphp/library/think/console/input/Definition.php Executable file → Normal file
View File

0
thinkphp/library/think/console/input/Option.php Executable file → Normal file
View File

0
thinkphp/library/think/console/output/Ask.php Executable file → Normal file
View File

0
thinkphp/library/think/console/output/Descriptor.php Executable file → Normal file
View File

0
thinkphp/library/think/console/output/Formatter.php Executable file → Normal file
View File

0
thinkphp/library/think/console/output/Question.php Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

0
thinkphp/library/think/controller/Rest.php Executable file → Normal file
View File

0
thinkphp/library/think/controller/Yar.php Executable file → Normal file
View File

0
thinkphp/library/think/db/Builder.php Executable file → Normal file
View File

0
thinkphp/library/think/db/Connection.php Executable file → Normal file
View File

0
thinkphp/library/think/db/Query.php Executable file → Normal file
View File

0
thinkphp/library/think/db/builder/Mysql.php Executable file → Normal file
View File

0
thinkphp/library/think/db/builder/Pgsql.php Executable file → Normal file
View File

0
thinkphp/library/think/db/builder/Sqlite.php Executable file → Normal file
View File

0
thinkphp/library/think/db/builder/Sqlsrv.php Executable file → Normal file
View File

Some files were not shown because too many files have changed in this diff Show More