V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
terryl
V2EX  ›  Apple

[求助] 如何用捷径快速调用随申办市民云 app 中的健康码?

  •  
  •   terryl · 2021-02-22 22:48:37 +08:00 · 5356 次点击
    这是一个创建于 1130 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如题,如何在 iOS 上,通过捷径快速调用随申办市民云 app 中的健康码?🙏

    18 条回复    2022-12-01 15:00:28 +08:00
    mxT52CRuqR6o5
        1
    mxT52CRuqR6o5  
       2021-02-22 23:25:10 +08:00 via Android   ❤️ 2
    alipays://platformapi/startapp?page=pages/my-station-type/my-station-type&appId=2019072665939857
    可以用上面的链接做支付宝小程序健康码的捷径(安卓可以用 tasker)
    我安卓这边实际体验是,操作倒是只需要一步,打开码的速度比 app 慢很多,不清楚 iphone 上会差多少
    hanliu
        2
    hanliu  
       2021-02-22 23:43:45 +08:00 via iPhone
    知乎文章可行:iPhone 如何轻拍背面两下快速打开「健康码」?
    renmu123
        3
    renmu123  
       2021-02-22 23:44:05 +08:00 via Android
    截图(
    1350943277
        4
    1350943277  
       2021-02-23 00:18:53 +08:00
    [![ybeaI1.png]( https://s3.ax1x.com/2021/02/23/ybeaI1.png)]( https://imgchr.com/i/ybeaI1)
    alipays://platformapi/startapp?appId=2019072665939857&page=pages/my-station-type/my-station-type
    fx777
        5
    fx777  
       2021-02-23 09:27:46 +08:00
    随申办市民云 有没有 小程序版本的?
    我这倒是 弄好了,从快捷指令 直接跳转到 北京健康宝小程序的健康码页面,其他小程序同理。
    App 的话,主要得看 App 本身支不支持那个页面的 URLscheme,如果不提供的话,好像没办法,我之前研究跳转到云闪付的乘车码,始终搞不定
    terryl
        6
    terryl  
    OP
       2021-02-24 08:41:52 +08:00
    多谢各位的建议。

    我想尝试找随申办市民云的 URLscheme,好像有很多 string,应该用 shiminyun 就可以了吧。

    <key>CFBundleURLTypes</key>
    <array>
    <dict>
    <key>CFBundleTypeRole</key>
    <string>Editor</string>
    <key>CFBundleURLName</key>
    <string>com.mobi.wonders.apps.shiminyun</string>
    <key>CFBundleURLSchemes</key>
    <array>
    <string>wx71b9687b6b6b0558</string>
    <string>wxf5a4d28c2e7a377f</string>
    <string>wb155699732</string>
    <string>mobi.w3studio.apps.ios.shsm</string>
    <string>shiminyun</string>
    <string>wxa35e40fad0759ae0</string>
    <string>wxf2af8b191f71788b</string>
    <string>shaismy</string>
    <string>shiminyunpay</string>
    </array>
    </dict>
    <dict>
    <key>CFBundleTypeRole</key>
    <string>Editor</string>
    <key>CFBundleURLSchemes</key>
    <array>
    <string>wx66f78552738ad25e</string>
    </array>
    </dict>
    </array>
    terryl
        7
    terryl  
    OP
       2021-02-25 14:08:39 +08:00
    抓了个包看到链接地址,应该这样就可以直接调用随申办市民云内的健康码了,不需要通过微信或者支付宝绕一圈:

    shiminyun://tttps://suishenmafront1.sh.gov.cn:443
    terryl
        8
    terryl  
    OP
       2021-02-25 14:41:10 +08:00
    链接不对,也不是 https 的问题。
    Macolor21
        9
    Macolor21  
       2021-02-28 02:15:34 +08:00 via iPhone
    我用的是国家政务平台那个健康码,alipayqr://platformapi/startapp?saId=2019011763060066 。url 填这个,然后 safari 打开 url,就行了。
    rek103
        10
    rek103  
       2021-08-20 08:14:44 +08:00 via iPhone   ❤️ 4
    shaismy://platformapi/startapp?code=SUISHENMA
    terryl
        11
    terryl  
    OP
       2021-09-04 12:15:19 +08:00
    @rek103 非常感谢~~
    reker
        12
    reker  
       2022-06-01 17:25:40 +08:00
    @rek103 有没有随申办的扫一扫 scheme ?现在到处要扫场所码。感谢
    kmvvv
        13
    kmvvv  
       2022-06-02 07:48:51 +08:00 via iPhone   ❤️ 2
    @reker shaismy://platformapi/startapp?code=SCANCODE
    lionelliu2000
        14
    lionelliu2000  
       2022-06-05 00:36:35 +08:00
    @kmvvv 大佬请问有核酸码的 scheme 嘛?感谢
    Nchyn
        15
    Nchyn  
       2022-06-07 00:03:16 +08:00
    @lionelliu2000 核酸码是一个有效期长达 1 个月的静态图片,直接截图写成网页了事
    @kmvvv 感谢您
    xhsmile
        16
    xhsmile  
       2022-06-28 14:35:38 +08:00   ❤️ 1
    @lionelliu2000
    随申码
    shaismy://platformapi/startapp?code=SUISHENMA
    扫一扫
    shaismy://platformapi/startapp?code=SCANCODE
    核酸查询
    shaismy://platformapi/startapp?code=HSJC
    核酸码
    shaismy://platformapi/startapp?code=HSM
    核酸采样点
    shaismy://platformapi/startapp?code=HSJCD
    zhaochenyong
        17
    zhaochenyong  
       2022-07-14 18:51:47 +08:00 via iPhone
    @xhsmile 要是能把指定场所码传给 SCANCODE 就好了
    xhsmile
        18
    xhsmile  
       2022-12-01 15:00:28 +08:00
    @zhaochenyong 这不太可能,URLscheme 是 iOS 上搞出来的,毕竟还要考虑 Android 用户,只能用 http
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2721 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 15:40 · PVG 23:40 · LAX 08:40 · JFK 11:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.