The java WeChat Mini Programs template message implements the form submitted by user A, but the message is pushed to user B

crux of the problem: WeChat Mini Programs template message implements the form submitted by A user, but the message is pushed to B user

it is no problem to submit the form to An according to the official document An and send the message to A. I just want to ask you if you can implement the form submitted by user A but push the message to user B.

Please do not answer the question [A submit form to A message], ask [A user submitted form but message sent to B user] Oh, thank you

you need a formid of b


Mini Program API document says: < form/ > component of the page. When the attribute report-submit is true, you can declare it as a template message to be sent. Click the button to submit the form to get the formId, to send the template message. Or when the user completes the payment behavior, you can get the prepay_id to send the template message.

when a user has submitted a form in Mini Program and the form is declared to send a template message, the developer needs to provide services to the user. Developers can allow developers to push a limited number of template messages to users within 7 days (one can be sent after one submission, and the number of multiple submissions is independent of each other)

so you need to get the formid, corresponding to the record and there is actually a time limit

.

Thank you for answering.
currently, you can only send a person who submitted a form, which has been processed through your own business logic

.
Menu