# ljw_swoole_simple **Repository Path**: quietblue/ljw_swoole_simple ## Basic Information - **Project Name**: ljw_swoole_simple - **Description**: No description available - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-02-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## swoole聊天项目 * 自己尝试的swoole聊天项目 * 暂时只做了用redis保存链接信息 * 顺便熟练了下composer:`有路由插件、错误插件、predis插件` * 聊天记录并没有保存 ## * 登录验证没有判断,随便什么都可以,
`登录方法在app\controllers\user.php login_post中`
`登录验证方法在 helpers\helper.php checkLogin中` * 用户名不能使用纯数字 * 频道的选择没有做全 ## 使用 * 默认是使用redis的2号数据库 * 请先在redis里面 添加一个频道集合
redis> zadd channels swoole_channel_1 swoole_channel_2 swoole_channel_3
* 配置文件在config文件夹中 ## QQ 84855512