socketio建立连接时添加更多参数 #33

Open
opened 2024-12-13 14:25:23 +08:00 by liangyuanpeng · 3 comments
  1. pageType 参数
    例如 https://smartoilets.net/simplepage/PWH/F2/male 则为 pageType=simplepage
    https://smartoilets.net/tab/home/twsc/4A/male 则为 pageType=tab

  2. siteName/wcName/roomType

例如 https://smartoilets.net/simplepage/PWH/F2/male 则为 siteName=PWH&wcName=F2&roomType=male

  1. query param 参数
    例如 https://smartoilets.net/simplepage/PWH/F2/male?profile=cleaner&ab=123 则为 profile=cleaner&ab=123

  2. webapp 版本信息, 当前页面版本
    如 webappVersion=v0.1

1. pageType 参数 例如 https://smartoilets.net/simplepage/PWH/F2/male 则为 pageType=simplepage https://smartoilets.net/tab/home/twsc/4A/male 则为 pageType=tab 2. siteName/wcName/roomType 例如 https://smartoilets.net/simplepage/PWH/F2/male 则为 siteName=PWH&wcName=F2&roomType=male 3. query param 参数 例如 https://smartoilets.net/simplepage/PWH/F2/male?profile=cleaner&ab=123 则为 profile=cleaner&ab=123 4. webapp 版本信息, 当前页面版本 如 webappVersion=v0.1
Author
Owner

相关:

某些页面订阅了不需要的数据,可能是开发期间为了便捷或svg中有错误命名导致, 在前端/svg 修复问题之前, 服务器可以暂时关闭这些数据推送,减少流量

相关: - https://gitea.yunhorn.com/smartoilets-front/projects/issues/25 - https://gitea.yunhorn.com/smartoilets-front/projects/issues/16 某些页面订阅了不需要的数据,可能是开发期间为了便捷或svg中有错误命名导致, 在前端/svg 修复问题之前, 服务器可以暂时关闭这些数据推送,减少流量
jeff was assigned by liangyuanpeng 2024-12-13 14:26:52 +08:00
Author
Owner

适用于所有页面 simplepage, fbpage, tab ...

如果socketio已经组件化的话似乎很快?, 但不确认

适用于所有页面 simplepage, fbpage, tab ... 如果socketio已经组件化的话似乎很快?, 但不确认
Author
Owner

目前这块是否已经组件化? 这意味着以后如果有新的页面的话, 只要对接了socketio就意味着带有这个基础能力, 这样就不需要反复提及了 @ginfone 同 https://gitea.yunhorn.com/smartoilets-front/projects/issues/28

目前这块是否已经组件化? 这意味着以后如果有新的页面的话, 只要对接了socketio就意味着带有这个基础能力, 这样就不需要反复提及了 @ginfone 同 https://gitea.yunhorn.com/smartoilets-front/projects/issues/28
liangyuanpeng changed title from socketio建立连接时添加一个 pagetye 参数 to socketio建立连接时添加更多参数 2024-12-20 10:26:26 +08:00
liangyuanpeng added the
kind/feature
label 2024-12-25 16:09:46 +08:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: smartoilets-front/projects#33
No description provided.