简要说明
使用条件
安装
创建
配置
部署生产环境
方法
关于表格转换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 def leaveGroup(self,clientid,group): ``` 将clientid从某个组中删除 当clientid下线(连接断开)时会自动与退出组,开发者无需在onClose事件调用leaveGroup ##参数 - ##### clientid 客户端id - ##### Group 组名 非必填 ##范例 ```python async def onMessage(self,clientid,message): "当客户端发来信息时" #message = '{"type":"leave", "group":"group1"}' data=json_decode(message) self.leaveGroup(clientid,data['group']) ```
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 def leaveGroup(self,clientid,group): ``` 将clientid从某个组中删除 当clientid下线(连接断开)时会自动与退出组,开发者无需在onClose事件调用leaveGroup ##参数 - ##### clientid 客户端id - ##### Group 组名 非必填 ##范例 ```python async def onMessage(self,clientid,message): "当客户端发来信息时" #message = '{"type":"leave", "group":"group1"}' data=json_decode(message) self.leaveGroup(clientid,data['group']) ```
获取
登录
获取
确认设置密码