
Developed by open source Mini programs, the original Mini programs only targeted reading, commenting, collecting, and liking wp articles. The homepage has been slightly changed. I am not a designer, so don't complain about the interface.
For the ripro theme, our article will have the general price of resources, the membership price and the lifetime membership price. Add the function of purchasing resources to the article interface.
Currently, only Alipay and balance payments are available for purchase payments. The current version does not have a balance recharge function. The payment function of Baidu's Mini programs only supports online payment at the Baidu cashier's counter, but the opening of the Baidu cashier requires a corporate account, which is quite troublesome. Therefore, the Alipay payment made here is still the Alipay h5 payment, but the third-party website address cannot be opened in the Mini programs, so it cannot be directly redirected. The only next best thing is to turn the h5 link into a QR code and keep it in the photo album. Use Alipay to scan the code, or Baidu app to scan the code to open it. I can't help it if I mind. If you need to connect to the Baidu checkout counter, you can give feedback. I don't have a Baidu checkout counter here, so there is no connection. The effect of the payment function is as follows.
After payment, a pop-up window will automatically jump to the Baidu online disk page corresponding to the resource. Special reminder: Mini programs cannot jump to three-party web pages, so you can only jump to Baidu's online disk here.
Mini programs I can check user balances, download times and other information. Membership can be opened online.
Authorization information has been added to the plug-in and is only available to permanent members of this website ( www.bcbccb.cn).
Installation tutorial:
Contains two compressed packages, one is wp plug-in and the other is source code for Mini programs. You can install the wp plug-in directly locally. This plug-in is open source and open.
As shown in the figure, set up authorization for Baidu Mini programs. Set up Mini programs appkey and appscrew.
Note that you need to turn on the restful interface switch in ripro, otherwise the interface call will not work.
The content settings for carousel notifications have been added to the general settings.
Plug-in settings complete.
Mini programs, Baidu first needs to apply for smart Mini programs. After passing it, download the IDE developed by Baidu Mini programs and directly import it into the source code project.
Modifying base.js in the utils directory and changing API_HOST to your domain name requires the https protocol.
Log in to the background settings of Baidu Mini programs to add business domain names, etc.
Test whether the function is normal. If you are not authorized, you need to go to the website (www.bcbccb.cn) to set up the authorized domain name, below my information
If you need to see the effect of Mini programs, you can search Meteor Resources Network on Baidu app to view it.
If you have any questions, you can give feedback, and it will be updated later based on your suggestions.
Comments0