在Congfig下放了个Db,如下 <?php namespace Config; /** * mysql配置 * @author walkor */ class Db { public static $user = array( 'host' => '127.0.0.1', 'port' => 3306, 'user' ...
1、在GatewayWorker/Lib/Store.php大概在84行下添加一行代码:self::$instance->auth(\Config\Store::$redis_auth); 2、在Applications/YourApp/Config/Store.php大概在52行下添加一行代码:public static $redis_auth = ""; 具体代码如下: GatewayW...