How to get the appid of the Alipay applet

Recently, when reviewing the Alipay applet, I encountered a problem: Alipay requires that the content of the applet be rich, but the content of our first issue is thin, and we want to develop our own functions. The schedule does not allow it, so we want to jump from our applet. to another applet. At this time, it is necessary to obtain the appid of the other applet to jump.

This method is also learned from visiting the community, and now I will review and consolidate it.

Take [Shanghai Pudong Development Bank Credit Card] as an example to operate the steps:
1. Click on the upper right corner of the applet. . . button;
2. Click the 'Share' button (some applets will disable sharing, at this time there is no way but to change the applet);
3. Click the 'Copy Link' button;

例子:浦发银行信用卡:https://ur.alipay.com/_1GlSvbBMjzVh8eVjVVfTQ5

insert image description here

4. After pasting the copied address in the browser, click the 'esc' key immediately during the page loading process to prevent page redirection (this step must be fast, otherwise the APPid will not be obtained after the page redirection is completed);

按【浦发银行信用卡】的例子我们得到的链接:
https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2021002114673141%26page%3Dpages%252Findex%252Findex%26enbsv%3D0.2.2208230959.19%26chInfo%3Dch_share__chsub_CopyLink%26apshareid%3DD2E4CDAA-E49D-4E1D-9A62-AD1FBA6AAB4F%26shareBizType%3DH5App_XCX%26fxzjshareChinfo%3Dch_share__chsub_CopyLink

![Insert picture description here](https://img-blog.csdnimg.cn/d8a49c3dbc1c4dff8fa4c139ca32ceca.png#pic_center
5. Then press F12 (inspect element), browser console input decodeURIComponent(decodeURIComponent('browser link ')), and then press the enter key, so that you can get the parsed link;

解析后链接:
https://render.alipay.com/p/s/i/?scheme=alipays://platformapi/startapp?appId=2021002114673141&page=pages/index/index&enbsv=0.2.2208230959.19&chInfo=ch_share__chsub_CopyLink&apshareid=D2E4CDAA-E49D-4E1D-9A62-AD1FBA6AAB4F&shareBizType=H5Ap

6. Observe the parsed link, we can get APPid: 2021002114673141

insert image description here

Guess you like

Origin blog.csdn.net/u010950187/article/details/128549656