socketio建立连接时添加更多参数 #33
Labels
No Label
area/smartpanel
bug
done-waiting-confirmed
kind/feature
page/admin
page/simplepage
page/tab-admin
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: smartoilets-front/projects#33
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
pageType 参数
例如 https://smartoilets.net/simplepage/PWH/F2/male 则为 pageType=simplepage
https://smartoilets.net/tab/home/twsc/4A/male 则为 pageType=tab
siteName/wcName/roomType
例如 https://smartoilets.net/simplepage/PWH/F2/male 则为 siteName=PWH&wcName=F2&roomType=male
query param 参数
例如 https://smartoilets.net/simplepage/PWH/F2/male?profile=cleaner&ab=123 则为 profile=cleaner&ab=123
webapp 版本信息, 当前页面版本
如 webappVersion=v0.1
相关:
某些页面订阅了不需要的数据,可能是开发期间为了便捷或svg中有错误命名导致, 在前端/svg 修复问题之前, 服务器可以暂时关闭这些数据推送,减少流量
适用于所有页面 simplepage, fbpage, tab ...
如果socketio已经组件化的话似乎很快?, 但不确认
目前这块是否已经组件化? 这意味着以后如果有新的页面的话, 只要对接了socketio就意味着带有这个基础能力, 这样就不需要反复提及了 @ginfone 同 https://gitea.yunhorn.com/smartoilets-front/projects/issues/28
socketio建立连接时添加一个 pagetye 参数to socketio建立连接时添加更多参数