similar to the function of non-members of major video websites to watch for 6 minutes for free, how to implement the code at the front end?
similar to the function of non-members of major video websites to watch for 6 minutes for free, how to implement the code at the front end?
it is not good to rely solely on the front end, because those who know a little about the front end can bypass this limitation. It is best for the back end to decide whether the video returned is a complete video based on whether the current user is a member, which is more secure.
index.wxml <!-- --> <dialog id="dialog" bind:cancelEvent="cancelEvent" bind:okEvent="okEvent">< dialog> index.js Code onReady: function () { dialog this.dialog = this.selectComponent( ...