Open void9main opened 5 years ago
支持的 服务器上安装好redis扩展后 直接使用 TXApp::$base->redis 即可获得redis单例类 redis连接配置在 /app/config/dns_{生产环境}.php 中配置
如果多有个redis连接 也可以通过choose方法选择
$redis1 = TXApp::$base->redis;
对应config中的 默认redis配置
$redis2 = TXApp::$base->redis->choose('redis2')
对应config中的 redis2配置
这个框架还有更新么?
@showx 因为内部框架与内部系统库的耦合较多,很多内部更新的功能与开源的框架已经有部分脱节了 之后有时间会做一次整理开源输出,应该会以大版本的形式更新
能否支持redis扩展?