简要说明
使用条件
安装
创建
配置
部署生产环境
方法
关于表格转换html字体问题
控制器
命令行运行
会话
响应
定义
变量
引用
循环
条件
方法调用
mysql方法
连接数据库
查询数据
添加数据
更新数据
删除数据
查询表达式
where
table
alias
field
limit
page
order
group
having
join
distinct
lock
getsql
get_exec_cursor
get_query_cursor
聚合查询
子查询
原生查询
事务操作
分布式数据库
长连接
mongo方法
任务队列
使用
onConnect
onMessage
onClose
sendToUid
sendToGroup
send_all
send_client
bindUid
unbindUid
joinGroup
leaveGroup
ungroup
getClientIdCountByGroup
getAllClientIdCount
getGroupCount
getGroupname
getuid
getGroup
###说明: ```python async def onClose(self,clientid): ``` 客户端与服务端连接断开时触发的回调函数。一般在这里做一些数据清理工作。 ##参数 - ##### clientid 全局唯一的客户端socket连接标识 ##范例 ```python async def onClose(self,clientid): "客户端与服务端连接断开时触发的回调函数" await self.sent_all(clientid,clientid+",已退出") #给所有用户发送消息 ```
kcweb官方开发手册
开发版
开发版
6.4.28
6.4.21
6.4.17
6.4.15
6.4.9
6.4.8
6.4.4
6.2
6.1
5.330
5.328
登录
 {{data.name}}
###说明: ```python async def onClose(self,clientid): ``` 客户端与服务端连接断开时触发的回调函数。一般在这里做一些数据清理工作。 ##参数 - ##### clientid 全局唯一的客户端socket连接标识 ##范例 ```python async def onClose(self,clientid): "客户端与服务端连接断开时触发的回调函数" await self.sent_all(clientid,clientid+",已退出") #给所有用户发送消息 ```
获取
登录
获取
确认设置密码