For those who are willing to read the text, please come in. Thank you.

now there is such a scene:
1. Develop a Mini Program background, the other side provides an interface document, the interface needs to be signed, the background PHP to do signature
2. Press the normal front end to take the document directly and use the interface, but the background is required to access a copy of the data.
my idea is that after the backend requests the interface data back, it directly sends the data to the front end, stores the data before giving it to the front end, and updates my stored data when the interface is updated.
3. But I always feel like I"m taking a detour, and I also feel that my library is just a backup, which doesn"t work. Even if the data is not requested remotely
, should I give my saved data to the front end?

Php
Mar.12,2021

problem

  1. there are three things to look at, but the third point is really questionable, not the scenario
  2. the other side? Who is the front-end Mini Program or the third party?
  3. the background accesses a copy of the data, which means to store a copy?

the problem I understand (see here directly):
end: backend (developed by the subject), Mini Program frontend, third-party interface,
scenario: the third-party interface data is provided directly to the frontend, but because it needs to be signed and security issues are considered, it cannot be sent directly to the frontend, so it is signed by the backend (PHP) you developed, and then transferred to Mini Program frontend.

is that the question? If so, I will answer again. No, then, er, er

Menu