二歪同学

  • 微信小程序
  • 支付宝小程序
  • 云闪付
  • 使用方法
  • 第一步:创建快捷指令
  • 第二步:设置快捷方法
  • 博客首页
  • 三行代码
  • 运营笔记
  • 生活随笔
  • 杂项归档
  • 关于博主
  • 友情链接
  • 榜上有名
  • 文章归档
  • 扩展工具
    • 豆瓣影音
    • 博客图床
    • 网站监测
    • 在线网盘
  • 订阅博客
  • 联系博主
  • GitHub
  • Mail

疫情期间,如何应对健康码的高频使用?

  • 二歪同学
  • 2022-05-23
  • 0

疫情两年来,随着4月下旬以来近二十天的隔离,再次让我深深感受到了疫情对生活的影响,上一次隔离还是2020年2月春节前夕回家和返回JN后,其余时间基本都可以保持正常的外出和工作以及生活。

5月初,JN全面实行场所码,所有的公共场所、单位都不例外,这意味着我每天从早上上班到公司、中午出去吃饭、去超市买零食等等,都要打开健康码小程序。

正常的操作是打开手机解锁、滑动桌面、点击桌面的快捷指令、等待跳转微信小程序,尤其是使用手机不熟练的中老年人更是要先打开微信/支付宝,然后在搜索健康码,更为复杂。

所以,我在想有没有什么更快捷的方法?

看了看iOS中的快捷指令,我尝试用辅助功能 > 触控 > 轻点背面 > 打开快捷指令。

所以目前的问题是,我得创建一个快捷指令,实现打开调起微信并直接打开微信小程序健康吗。在参考了一个同类快捷指令(打开其他地区健康码),我发现需要一个参数:即小程序的 url 。

由于微信官方社区又对 URL Scheme 的有效期做了进一步限制,所以只能将目光投向支付宝小程序。详情参阅

又因为小程序 URL Scheme 必须由开发者主动申请后,我们才能根据开发者公布的 URL Scheme 进行下一步操作,所以我们只能上网查询对应小程序的 Url 才能实现上述操作,好在万能 Github 有类似的整合项目,感谢大佬们默默无闻的付出。

以下为对应小程序的Url,开源地址:JdaieLin/health-code-url-scheme: 微信/支付宝健康码小程序 url scheme收集 (github.com)

微信小程序

地区健康码别名url scheme已验证可用
广东粤康码/穗康码weixin://dl/business/?t=QDZVQEO2z9f
⭕️ 2022-4-11 到期
四川天府健康通weixin://dl/business/?t=Je3MKDRpAWv⭕️ 2022-4-11 到期

支付宝小程序

地区健康码别名url scheme已验证可用
安徽
安康码
alipays://platformapi/startapp?appId=2018081661065647&page=pages%2Fservice%2Fservice%3furl%3dhttps%3a%2f%2fakm.ahzwfw.gov.cn%2fakm-sj-user%2findex.html%3fbelongarea%3d340100%24%2fhome%3fbelongarea%3d340100%26auth%3dct
✅
北京
北京
健康宝alipays://platformapi/startapp?appId=2021001135679870✅
天津alipays://platformapi/startapp?appId=20000067&url=https%3A%2F%2Frender.alipay.com%2Fp%2Fc%2Ftianjin-jkm%2Freport.html%3ForgCode%3D120000-91330106MA27Y4U47R-p0000%26type%3Dtwocode%26needRequestCodeDetail%3DYES%26from%3Doffline%26showChooseCity%3DYES✅
重庆渝康码alipays://platformapi/startapp?appId=2021001130674650✅
福建alipays://platformapi/startapp?appId=2021003125688065&page=pages/index/index✅
甘肃健康出行码
alipays://platformapi/startapp?appId=20000067&url=https%3A%2F%2Fwx.jkgs.gov.cn%2Fwap%2FhealthPass%2FaliPay%2Faccess
✅
广西alipays://platformapi/startapp?appId=68687957&url=%2Fp%2Fc%2F18j5w1jmsiqo%2Freport.html%3ForgCode%3D450000-91330106MA27Y4U47R-p0000%26type%3Dtwocode%26needRequestCodeDetail%3DYES%26from%3Doffline%26showChooseCity%3DYES✅
贵州alipays://platformapi/startapp?appId=2021001135637273✅
海南alipays://platformapi/startapp?appId=2021001155692504&query=action%3Dopen%26tab%3Dcode%26source%3D%E5%9F%8E%E5%B8%82%E5%81%A5%E5%BA%B7%E7%A0%81✅
河北alipays://platformapi/startapp?appId=2021002100611022&page=pages/index/index✅
河南alipays://platformapi/startapp?appId=2019091067186151&query=code%3Dalipays_ysb_jkm%26region%3D410500%26value%3Dhttps%253A%252F%252Frender.alipay.com%252Fp%252Fc%252Fhenan-jkm%252Freport.html%253ForgCode%253D410500-91330106MA27Y4U47R-p0000%2526type%253Dtwocode%2526needRequestCodeDetail%253DYES%2526from%253Doffline✅
湖北alipays://platformapi/startapp?appId=2021001132656455&nbupdate=syncforce&nbversion=0.2.2003261457.6✅
湖南健康卡alipays://platformapi/startapp?appId=2021002133603718✅
吉林吉祥码alipays://platformapi/startapp?appId=2019082066328992&page=pages%2Fqrcode%2Fqrcode✅
江苏苏康码alipays://platformapi/startapp?appId=2018062060350751&page=%2Fpages%2Fweb%2Fweb%3Furl%3Dhttps%3A%2F%2Fjsstm.jszwfw.gov.cn%2FjkmIndex.html✅
江西赣通码alipays://platformapi/startapp?appId=2018082161130063&page=pages%2Fh5Load%2Fh5Load%3Flightappiduuid%3D6gdemQfv%26appName%3D%E8%B5%A3%E9%80%9A%E7%A0%81%26isneeduserinfo%3D0%26spec%3D5%26lightappurl%3Dhttps%3A%2F%2Fganfutong.jiangxi.gov.cn%2Fjmopen%2Fwebapp%2Fhtml5%2Fgantongma%2Findex.html✅
内蒙古alipays://platformapi/startapp?appId=2021001114655676&page=pages%2fweb-view%2fweb-view%3furl%3dhttps%3a%2f%2fzwfw.nmg.gov.cn%2fapp%2ficity%2fapps%2fareas%2fneimenggu%2fcard-healthcode%2findex.html%26title%3d%e5%81%a5%e5%ba%b7%e7%a0%81%26form%3dexternal✅
青海alipays://platformapi/startapp?appId=2021001143672652&query=healthqrcode✅
山东alipays://platformapi/startapp?appId=2021001136608745✅
陕西-西安alipays://platformapi/startapp?appId=2021001140645628✅
上海
随申码
alipays://platformapi/startapp?appId=2019072665939857&page=pages%2Fmy-station-type%2Fmy-station-type✅
四川天府健康通alipays://platformapi/startapp?appId=2021002116662889✅
新疆alipays://platformapi/startapp?appId=2019111269039717&page=pages%2fhealthcode%2fhealthcode_index%2fhealthcode_index✅
云南alipays://platformapi/startapp?appId=2021002139686716✅
浙江-杭州alipays://platformapi/startapp?appId=20000067&url=https://h5.dingtalk.com/healthAct/index.html?source=zfbcsfw0211✅
全国alipays://platformapi/startapp?appId=20000067&url=https%3A%2F%2F68687564.h5app.alipay.com%2Fwww%2Findex.html✅ 需要再次点击

云闪付

地区健康码别名url scheme已验证可用
全国通用upwallet://applet?encryptAppId=d9a62204ddad59af✅

使用方法

第一步:创建快捷指令

根据上述小程序代码找到对应地区的小程序 URL (如失效请访问此处查看最新小程序代码),然后打开快捷指令,创建新的指令,添加第一步操作指令:URL ,并粘贴对应的小程序URL地址,最后添加一步打开URT 指令即可。可以自行执行创建快捷指令是否可以实现正常跳转,第一次跳转授权对应的权限。

第二步:设置快捷方法

打开 iOS 系统设置,以此打开 辅助功能 > 触控 > 轻点背面 > (轻点两(三)下) > 打开对应快捷指令。

以上就是全部思路,在需要使用小程序的时候,只需要拿起手机,连续敲打手机背部三次,即可实现快捷操作。

© 2023 二歪同学
Theme by Wing
鲁ICP备2021036422号
  • {{ item.name }}
  • {{ item.name }}