├── thinkphp ├── .htaccess ├── .gitignore ├── logo.png ├── library │ ├── think │ │ ├── console │ │ │ ├── bin │ │ │ │ ├── hiddeninput.exe │ │ │ │ └── README.md │ │ │ ├── command │ │ │ │ ├── make │ │ │ │ │ ├── stubs │ │ │ │ │ │ ├── model.stub │ │ │ │ │ │ ├── controller.plain.stub │ │ │ │ │ │ └── controller.stub │ │ │ │ │ ├── Model.php │ │ │ │ │ └── Controller.php │ │ │ │ ├── Build.php │ │ │ │ ├── Clear.php │ │ │ │ ├── Help.php │ │ │ │ ├── Lists.php │ │ │ │ ├── optimize │ │ │ │ │ ├── Route.php │ │ │ │ │ └── Config.php │ │ │ │ └── Make.php │ │ │ ├── LICENSE │ │ │ ├── output │ │ │ │ ├── driver │ │ │ │ │ ├── Nothing.php │ │ │ │ │ └── Buffer.php │ │ │ │ ├── question │ │ │ │ │ └── Confirmation.php │ │ │ │ └── formatter │ │ │ │ │ └── Stack.php │ │ │ └── input │ │ │ │ └── Argument.php │ │ ├── exception │ │ │ ├── RouteNotFoundException.php │ │ │ ├── HttpResponseException.php │ │ │ ├── ClassNotFoundException.php │ │ │ ├── TemplateNotFoundException.php │ │ │ ├── ValidateException.php │ │ │ ├── HttpException.php │ │ │ ├── DbException.php │ │ │ ├── PDOException.php │ │ │ ├── ThrowableError.php │ │ │ └── ErrorException.php │ │ ├── config │ │ │ └── driver │ │ │ │ ├── Ini.php │ │ │ │ ├── Json.php │ │ │ │ └── Xml.php │ │ ├── log │ │ │ └── driver │ │ │ │ └── Test.php │ │ ├── db │ │ │ ├── exception │ │ │ │ ├── BindParamException.php │ │ │ │ ├── ModelNotFoundException.php │ │ │ │ └── DataNotFoundException.php │ │ │ ├── Expression.php │ │ │ ├── builder │ │ │ │ ├── Sqlite.php │ │ │ │ └── Pgsql.php │ │ │ └── connector │ │ │ │ ├── Sqlite.php │ │ │ │ ├── Pgsql.php │ │ │ │ └── pgsql.sql │ │ ├── model │ │ │ ├── Pivot.php │ │ │ ├── Collection.php │ │ │ └── Relation.php │ │ ├── Env.php │ │ ├── controller │ │ │ ├── Yar.php │ │ │ └── Rest.php │ │ ├── process │ │ │ ├── exception │ │ │ │ ├── Failed.php │ │ │ │ └── Timeout.php │ │ │ ├── Utils.php │ │ │ └── pipes │ │ │ │ └── Pipes.php │ │ ├── response │ │ │ ├── Json.php │ │ │ ├── Jsonp.php │ │ │ ├── View.php │ │ │ ├── Redirect.php │ │ │ └── Xml.php │ │ ├── Exception.php │ │ ├── template │ │ │ └── driver │ │ │ │ └── File.php │ │ ├── session │ │ │ └── driver │ │ │ │ ├── Memcache.php │ │ │ │ ├── Redis.php │ │ │ │ └── Memcached.php │ │ └── Error.php │ └── traits │ │ └── think │ │ └── Instance.php ├── codecov.yml ├── start.php ├── console.php ├── composer.json ├── tpl │ ├── default_index.tpl │ └── dispatch_jump.tpl ├── .travis.yml ├── phpunit.xml ├── LICENSE.txt ├── base.php ├── CONTRIBUTING.md └── README.md ├── application ├── .htaccess ├── index │ ├── controller │ │ ├── Index.php │ │ ├── Command.php │ │ ├── User.php │ │ ├── Content.php │ │ └── Base.php │ └── view │ │ ├── base │ │ ├── header.html │ │ ├── left.html │ │ ├── nav.html │ │ └── page.html │ │ ├── command │ │ └── index.html │ │ ├── action │ │ ├── delete.html │ │ ├── timeset.html │ │ ├── addnew.html │ │ └── select.html │ │ ├── index │ │ ├── content.html │ │ └── index.html │ │ └── db │ │ └── dbindex.html ├── common.php ├── command.php ├── route.php ├── tags.php └── database.php ├── extend └── .gitignore ├── public ├── robots.txt ├── favicon.ico ├── static │ ├── img │ │ └── favicon.png │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ └── js │ │ └── npm.js ├── .htaccess ├── index.php └── router.php ├── .gitignore ├── vendor ├── topthink │ └── think-installer │ │ ├── .gitignore │ │ ├── composer.json │ │ └── src │ │ ├── Plugin.php │ │ ├── ThinkFramework.php │ │ ├── ThinkTesting.php │ │ └── ThinkExtend.php ├── autoload.php └── composer │ ├── autoload_classmap.php │ ├── autoload_namespaces.php │ ├── autoload_psr4.php │ ├── LICENSE │ ├── autoload_static.php │ ├── autoload_real.php │ └── installed.json ├── composer.json ├── .project ├── License ├── README.md └── .travis.yml /thinkphp/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all -------------------------------------------------------------------------------- /extend/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | composer.lock 3 | *.log 4 | /runtime 5 | -------------------------------------------------------------------------------- /thinkphp/.gitignore: -------------------------------------------------------------------------------- 1 | /composer.lock 2 | /vendor 3 | .idea 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /vendor/topthink/think-installer/.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | composer.lock 3 | /vendor -------------------------------------------------------------------------------- /thinkphp/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void9main/SeeRedis/HEAD/thinkphp/logo.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void9main/SeeRedis/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/static/img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void9main/SeeRedis/HEAD/public/static/img/favicon.png -------------------------------------------------------------------------------- /public/static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void9main/SeeRedis/HEAD/public/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void9main/SeeRedis/HEAD/public/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /thinkphp/library/think/console/bin/hiddeninput.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void9main/SeeRedis/HEAD/thinkphp/library/think/console/bin/hiddeninput.exe -------------------------------------------------------------------------------- /public/static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void9main/SeeRedis/HEAD/public/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/static/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/void9main/SeeRedis/HEAD/public/static/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /thinkphp/library/think/console/bin/README.md: -------------------------------------------------------------------------------- 1 | console 工具使用 hiddeninput.exe 在 windows 上隐藏密码输入,该二进制文件由第三方提供,相关源码和其他细节可以在 [Hidden Input](https://github.com/Seldaek/hidden-input) 找到。 2 | -------------------------------------------------------------------------------- /thinkphp/library/think/console/command/make/stubs/model.stub: -------------------------------------------------------------------------------- 1 | 2 | Options +FollowSymlinks -Multiviews 3 | RewriteEngine On 4 | 5 | RewriteCond %{REQUEST_FILENAME} !-d 6 | RewriteCond %{REQUEST_FILENAME} !-f 7 | RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 8 | 9 | -------------------------------------------------------------------------------- /thinkphp/codecov.yml: -------------------------------------------------------------------------------- 1 | comment: 2 | layout: header, changes, diff 3 | coverage: 4 | ignore: 5 | - base.php 6 | - helper.php 7 | - convention.php 8 | - lang/zh-cn.php 9 | - start.php 10 | - console.php 11 | status: 12 | patch: false 13 | -------------------------------------------------------------------------------- /application/index/controller/Index.php: -------------------------------------------------------------------------------- 1 | fetch('index/index'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /application/index/view/base/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
15 | void9main 16 | | github: 17 | 18 | https://github.com/void9main/SeeRedis 19 | 20 |
21 |~$ redis-server:{$ip},port:{$port}
32 |php版本大于5.5
5 |php.ini配置了php_redis.dll扩展
6 |
7 | (备注)php_redis.dll扩展下载地址:
8 | http://pecl.php.net/package/redis
9 |
git clone https://github.com/void9main/SeeRedis.git
12 |本地默认地址127.0.0.1,默认端口:6379
本地默认访问地址:127.0.0.1/seeredis/public/index.php
新增:密码设置,初始化密码位于config.php的password中,默认为123456
16 |MIT
18 |Copyright (c) 2019 void9main
19 |PHP version greater than 5.5
23 |Php.ini is configured with the php_redis.dll extension
24 |git clone https://github.com/void9main/SeeRedis.git
26 |Local default address127.0.0.1,The default port:6379
Local default access address:127.0.0.1/seeredis/public/index.php
New: password Settings, the initialization password is in the password of config.php, the default is123456
30 |MIT
32 |Copyright (c) 2019 void9main
33 | -------------------------------------------------------------------------------- /application/index/view/action/delete.html: -------------------------------------------------------------------------------- 1 |{$ip}:{$port}{$key}:{$vo}
37 | {/volist} 38 |{$key}:{$vo}
42 | {/volist} 43 |{$key}:{$vo}
47 | {/volist} 48 |{$key}:{$vo}
52 | {/volist} 53 || key | 56 |type | 57 |tll | 58 |操作 | 59 |
|---|---|---|---|
| {$vo.name} | 63 |{$vo.type} | 64 |{$vo.ttl} | 65 |66 | {php}if($vo['ttl']!="unknow"){{/php} 67 | {include file="action/delete" /} 68 | 72 | {include file="action/select" /} 73 | 76 | {include file="action/timeset" /} 77 | 80 | {php}}{/php} 81 | | 82 |