实例介绍
api接口,支持oauth2.0授权码模式,客户端模式sssssssssss
【实例截图】
【核心代码】
thinkphp5-restfulapi
└── thinkphp5-restfulapi
├── application
│ ├── api
│ │ ├── controller
│ │ │ ├── Api.php
│ │ │ ├── Factory.php
│ │ │ ├── Oauth.php
│ │ │ ├── Send.php
│ │ │ ├── Sms.php
│ │ │ ├── UnauthorizedException.php
│ │ │ ├── v1
│ │ │ │ ├── Fans.php
│ │ │ │ ├── Token.php
│ │ │ │ └── User.php
│ │ │ └── v2
│ │ │ └── User.php
│ │ └── model
│ │ ├── Oauth.php
│ │ └── User.php
│ ├── command.php
│ ├── common.php
│ ├── config.php
│ ├── database.php
│ ├── extra
│ │ └── queue.php
│ ├── index
│ │ └── controller
│ │ ├── Error.php
│ │ └── Index.php
│ ├── route.php
│ └── tags.php
├── build.php
├── composer.json
├── extend
├── LICENSE.txt
├── phpunit.xml
├── public
│ ├── favicon.ico
│ ├── index.php
│ ├── robots.txt
│ ├── router.php
│ └── static
├── README.md
├── runtime
├── screenshot
│ ├── api1.png
│ ├── api2.png
│ ├── api3.png
│ ├── oauth2.png
│ ├── oauth.png
│ ├── test1.png
│ ├── test2.png
│ ├── token2.png
│ ├── token.png
│ └── user.png
├── tests
│ ├── ExampleTest.php
│ └── TestCase.php
├── think
├── thinkphp
│ ├── base.php
│ ├── codecov.yml
│ ├── composer.json
│ ├── console.php
│ ├── CONTRIBUTING.md
│ ├── convention.php
│ ├── helper.php
│ ├── lang
│ │ └── zh-cn.php
│ ├── library
│ │ ├── think
│ │ │ ├── App.php
│ │ │ ├── Build.php
│ │ │ ├── cache
│ │ │ │ ├── driver
│ │ │ │ │ ├── File.php
│ │ │ │ │ ├── Lite.php
│ │ │ │ │ ├── Memcached.php
│ │ │ │ │ ├── Memcache.php
│ │ │ │ │ ├── Redis.php
│ │ │ │ │ ├── Sqlite.php
│ │ │ │ │ ├── Wincache.php
│ │ │ │ │ └── Xcache.php
│ │ │ │ └── Driver.php
│ │ │ ├── Cache.php
│ │ │ ├── Collection.php
│ │ │ ├── config
│ │ │ │ └── driver
│ │ │ │ ├── Ini.php
│ │ │ │ ├── Json.php
│ │ │ │ └── Xml.php
│ │ │ ├── Config.php
│ │ │ ├── console
│ │ │ │ ├── bin
│ │ │ │ │ ├── hiddeninput.exe
│ │ │ │ │ └── README.md
│ │ │ │ ├── command
│ │ │ │ │ ├── Build.php
│ │ │ │ │ ├── Clear.php
│ │ │ │ │ ├── Help.php
│ │ │ │ │ ├── Lists.php
│ │ │ │ │ ├── make
│ │ │ │ │ │ ├── Controller.php
│ │ │ │ │ │ ├── Model.php
│ │ │ │ │ │ └── stubs
│ │ │ │ │ │ ├── controller.plain.stub
│ │ │ │ │ │ ├── controller.stub
│ │ │ │ │ │ └── model.stub
│ │ │ │ │ ├── Make.php
│ │ │ │ │ └── optimize
│ │ │ │ │ ├── Autoload.php
│ │ │ │ │ ├── Config.php
│ │ │ │ │ ├── Route.php
│ │ │ │ │ └── Schema.php
│ │ │ │ ├── Command.php
│ │ │ │ ├── input
│ │ │ │ │ ├── Argument.php
│ │ │ │ │ ├── Definition.php
│ │ │ │ │ └── Option.php
│ │ │ │ ├── Input.php
│ │ │ │ ├── LICENSE
│ │ │ │ ├── output
│ │ │ │ │ ├── Ask.php
│ │ │ │ │ ├── descriptor
│ │ │ │ │ │ └── Console.php
│ │ │ │ │ ├── Descriptor.php
│ │ │ │ │ ├── driver
│ │ │ │ │ │ ├── Buffer.php
│ │ │ │ │ │ ├── Console.php
│ │ │ │ │ │ └── Nothing.php
│ │ │ │ │ ├── formatter
│ │ │ │ │ │ ├── Stack.php
│ │ │ │ │ │ └── Style.php
│ │ │ │ │ ├── Formatter.php
│ │ │ │ │ ├── question
│ │ │ │ │ │ ├── Choice.php
│ │ │ │ │ │ └── Confirmation.php
│ │ │ │ │ └── Question.php
│ │ │ │ └── Output.php
│ │ │ ├── Console.php
│ │ │ ├── controller
│ │ │ │ ├── Rest.php
│ │ │ │ └── Yar.php
│ │ │ ├── Controller.php
│ │ │ ├── Cookie.php
│ │ │ ├── db
│ │ │ │ ├── builder
│ │ │ │ │ ├── Mysql.php
│ │ │ │ │ ├── Pgsql.php
│ │ │ │ │ ├── Sqlite.php
│ │ │ │ │ └── Sqlsrv.php
│ │ │ │ ├── Builder.php
│ │ │ │ ├── Connection.php
│ │ │ │ ├── connector
│ │ │ │ │ ├── Mysql.php
│ │ │ │ │ ├── Pgsql.php
│ │ │ │ │ ├── pgsql.sql
│ │ │ │ │ ├── Sqlite.php
│ │ │ │ │ └── Sqlsrv.php
│ │ │ │ ├── exception
│ │ │ │ │ ├── BindParamException.php
│ │ │ │ │ ├── DataNotFoundException.php
│ │ │ │ │ └── ModelNotFoundException.php
│ │ │ │ └── Query.php
│ │ │ ├── Db.php
│ │ │ ├── debug
│ │ │ │ ├── Console.php
│ │ │ │ └── Html.php
│ │ │ ├── Debug.php
│ │ │ ├── Env.php
│ │ │ ├── Error.php
│ │ │ ├── exception
│ │ │ │ ├── ClassNotFoundException.php
│ │ │ │ ├── DbException.php
│ │ │ │ ├── ErrorException.php
│ │ │ │ ├── Handle.php
│ │ │ │ ├── HttpException.php
│ │ │ │ ├── HttpResponseException.php
│ │ │ │ ├── PDOException.php
│ │ │ │ ├── RouteNotFoundException.php
│ │ │ │ ├── TemplateNotFoundException.php
│ │ │ │ ├── ThrowableError.php
│ │ │ │ └── ValidateException.php
│ │ │ ├── Exception.php
│ │ │ ├── File.php
│ │ │ ├── Hook.php
│ │ │ ├── Lang.php
│ │ │ ├── Loader.php
│ │ │ ├── log
│ │ │ │ └── driver
│ │ │ │ ├── File.php
│ │ │ │ ├── Socket.php
│ │ │ │ └── Test.php
│ │ │ ├── Log.php
│ │ │ ├── model
│ │ │ │ ├── Collection.php
│ │ │ │ ├── Merge.php
│ │ │ │ ├── Pivot.php
│ │ │ │ ├── relation
│ │ │ │ │ ├── BelongsToMany.php
│ │ │ │ │ ├── BelongsTo.php
│ │ │ │ │ ├── HasMany.php
│ │ │ │ │ ├── HasManyThrough.php
│ │ │ │ │ ├── HasOne.php
│ │ │ │ │ ├── MorphMany.php
│ │ │ │ │ ├── MorphOne.php
│ │ │ │ │ ├── MorphTo.php
│ │ │ │ │ └── OneToOne.php
│ │ │ │ └── Relation.php
│ │ │ ├── Model.php
│ │ │ ├── paginator
│ │ │ │ └── driver
│ │ │ │ └── Bootstrap.php
│ │ │ ├── Paginator.php
│ │ │ ├── process
│ │ │ │ ├── Builder.php
│ │ │ │ ├── exception
│ │ │ │ │ ├── Failed.php
│ │ │ │ │ └── Timeout.php
│ │ │ │ ├── pipes
│ │ │ │ │ ├── Pipes.php
│ │ │ │ │ ├── Unix.php
│ │ │ │ │ └── Windows.php
│ │ │ │ └── Utils.php
│ │ │ ├── Process.php
│ │ │ ├── Request.php
│ │ │ ├── response
│ │ │ │ ├── Json.php
│ │ │ │ ├── Jsonp.php
│ │ │ │ ├── Redirect.php
│ │ │ │ ├── View.php
│ │ │ │ └── Xml.php
│ │ │ ├── Response.php
│ │ │ ├── Route.php
│ │ │ ├── session
│ │ │ │ └── driver
│ │ │ │ ├── Memcached.php
│ │ │ │ ├── Memcache.php
│ │ │ │ └── Redis.php
│ │ │ ├── Session.php
│ │ │ ├── template
│ │ │ │ ├── driver
│ │ │ │ │ └── File.php
│ │ │ │ ├── taglib
│ │ │ │ │ └── Cx.php
│ │ │ │ └── TagLib.php
│ │ │ ├── Template.php
│ │ │ ├── Url.php
│ │ │ ├── Validate.php
│ │ │ ├── view
│ │ │ │ └── driver
│ │ │ │ ├── Php.php
│ │ │ │ └── Think.php
│ │ │ └── View.php
│ │ └── traits
│ │ ├── controller
│ │ │ └── Jump.php
│ │ ├── model
│ │ │ └── SoftDelete.php
│ │ └── think
│ │ └── Instance.php
│ ├── LICENSE.txt
│ ├── logo.png
│ ├── phpunit.xml
│ ├── README.md
│ ├── start.php
│ └── tpl
│ ├── default_index.tpl
│ ├── dispatch_jump.tpl
│ ├── page_trace.tpl
│ └── think_exception.tpl
└── vendor
66 directories, 206 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论