Alipay demo

The merchant system needs to call Alipay, and Alipay also needs to call the merchant system. In this way, when developing the environment, you will encounter Alipay’s extranet needing to access our intranet applications, and this problem needs to be solved through intranet penetration.
We can use natapp
https://natapp.cn/

Download the corresponding version according to the operating system platform. After downloading, it will be an exe executable program. It is best not to put it in a folder with spaces or a Chinese directory. Create a new config.ini configuration file in the same level directory of natapp.exe.

#将本文件放置于 natapp 同级目录 程序将读取 [default]
#在命令行参数模式如 natapp -authtoken=xxx 等相同参数将会覆盖掉此配置
#命令行参数 -config= 可以指定任意 config.ini 文件
[default]
authtoken=b750bcea34f18cb6 #对应一条隧道的 authtoken  通过natapp后台管理查看
clienttoken=</

Guess you like

Origin blog.csdn.net/huangbaokang/article/details/114111787