In the same interface, how to determine whether it is the request called by Mini Program or the official account?

in the same interface, how to determine whether it is a request called by Mini Program or an official account

When

is called, just wear a different field at the back end

.
Menu