In the scenario, the code is matched from the result of the first request and used as a parameter for the next request.
Take the red envelope grab as an example:
1. Create a red envelope, and get the red envelope code from the returned result
2. code is set as a globally accessible variable
3. Get the code and pass it as a parameter
Article source: https://www.cnblogs.com/iLoveMyD/p/6737374.html
Reference article: https://blog.csdn.net/r455678/article/details/53576182