Request another machine? ? ? You can’t forward it! If you forward it, it is just a request, and the displayed address bar will not change. The front end should not be able to get b.com/aaa You should be able to get it with redirection, but the content in the request should be gone.
Suppose the current server is A and the other server is B. Let B directly make an external interface for A to use. A then returns the B processing result to the front end, or the front end directly requests B. When initiating WeChat payment, you want B to initiate a prepaid order request to A and then to the front end? If this is the case, you can directly request B from the front end. WeChat will not detect the server that initiated the prepaid order, but will only detect whether the URL of the initiating page is the WeChat payment authorized directory
Request another machine? ? ? You can’t forward it!
If you forward it, it is just a request, and the displayed address bar will not change. The front end should not be able to get b.com/aaa
You should be able to get it with redirection, but the content in the request should be gone.
Suppose the current server is A and the other server is B. Let B directly make an external interface for A to use. A then returns the B processing result to the front end,
or the front end directly requests B.
When initiating WeChat payment, you want B to initiate a prepaid order request to A and then to the front end?
If this is the case, you can directly request B from the front end. WeChat will not detect the server that initiated the prepaid order, but will only detect whether the URL of the initiating page is the WeChat payment authorized directory