Unified token

  • ID : qzss_tokenall
  • edition : 2.10.8
  • author : Thousand Bamboo Calligraphy Sheng ( Author website )  Contact author
  • Official website :
  • system requirements : Z-BlogPHP 1.7.3 Finch
  • Update Date : 2023-12-04 16:53:01   Updated within half a year
  • amount of downloads : five hundred and seventy-one
  • Scoring : The average score of 0 people voting is 0/10
  • PHP version : 5.2 and higher
  • size : 420KB

Get apps

This plug-in provides developers with a unified way to obtain tokens on all platforms, effectively avoiding repeated authorization.

After development, please list this plug-in as dependency.

Note for ordinary users: Unless a plug-in depends on this plug-in, it is useless for ordinary users.

Note: Up to now, this plug-in is still a beta version, and some methods and schemes still need to be polished. At present, the data integrity is not ensured by the major version update, which simply means that each major version update may lead to the loss of historical data.

Update log:

20231204 v2.10.8

New: configuration related to quick hand applet


20230914 v2.10.7

Optimization: the qzss_tokenall_get_uid_or_openid function will automatically integrate users with the same unionid when it is passed in to the unionid. The integration method is to transfer the binding information to the user table with the smallest id (including the article author, reviewer, and attachment uploader), and the information such as sign in, score, and vip will be superimposed accordingly, The background can choose whether to delete redundant user information at the same time when integrating


20230905 v2.10.6

New: Toutiao applet, QQ applet, Baidu applet configuration
New: qqunionid and wxunionid key names are used to store the unionid field. The system will store both openid and unionid, which can avoid the problem of invalid user binding data caused by the unionid switch
New: qzss_tokenall_get_uid_or_openid ($a, $mod) The first parameter can accept array, and the specified key can be openid, unionid, uid
Optimization: user registration logic. When unionid is enabled, it will first find out whether the current openid has been registered. If it has been registered, it will directly bind unionid to the user


20230714 v2.10.2

Fix: WeChat applet token acquisition

Fix: a text error in the background


20230625 v2.9.0

New: Baidu applet related fields


20230614 v2.8.0

Add some user information fields to record the change of user points

Add a third-party token caching method, which can realize the coexistence and sharing of multiple account tokens


20230611 v2.7.0

Add some platform openid fields to facilitate adaptation

Add user information fields, such as vip level, opening time, remaining time, sign in record and other fields, to facilitate the unified information storage unit of user center plug-ins


20230531 v2.6.1

coordination Super app_full platform applet Make some compatibility updates


20230526 v2.5.1

Add the default password field for each host registration

Add the fields of each appeal registration default user group

New user token setting and obtaining function

Optimize some functions


20230506 v2.5.0

New WeChat applet support

Description of optimization part


20220915 v2.4.3

Add QQ Interconnection Configuration Parameters

Optimize some codes


20220913 v2.4.0

Transfer the cache file directory, which may damage the old data. Upgrade cautiously
Add Alipay related configuration items
Add WeChat payment merchant configuration item
Optimized configuration code
Optimization configuration page description view


20220902 v2.0.0

New string encryption and decryption function
New unified registration and login module for platform users
Add two default parameters
Set the unified WeChat Token to be enabled by default after the plug-in is enabled
Repair one descriptive character
Fix a explained logic error
Change a generic function name


20220901 v1.8.1
Add new function description
Add a function to obtain the user's WeChat information

Fix a file bug


20220901 v1.6.0
Add to get the bound WeChat openid through the uid
Add to obtain the bound corresponding uid through openid
Optimize user information acquisition mechanism


20220826 v1.4.0
Add remote access to TOKEN function
Add the function of remote access to jsapi_ticket
The above two functions are convenient for remote call verification and sharing of multiple websites with one public account, such as unified login, unified sharing of authorization, etc.

Optimize some codes


20220730 v1.1.0
Add the current jsapi_ticket display of the configuration page
Add user information acquisition function qzss_get_weixin_userinfo_by_openid ($openid, $info=null)
Repairing a Note Text

Add qzss_get_weixin_userinfo_by_openid ($openid, $info=null) method to obtain the current WeChat user information


20220708 v1.0.2

This plug-in is provided for free. All developers are welcome to adapt


20220628 v1.0.1
Repair the known error bug
Add judgment reminder suggestions
Add real-time token detection. If it is not configured or is configured incorrectly, it will be prompted

Delete platform projects not developed temporarily


20220625 v1.0.0
Basic version release
Complete WeChat token and ticket docking




 image.png

 image.png


Hello, Z Blog related website has opened the real name system, please log in Bind your phone , and then make comments. Thank you for your support.

Personal code style: concise, one line at a time, avoid useless variables, and save server resources. In conclusion, efficiency is king! This is a growing developer. The plug-in developed has great potential. The initial price is low and there is great room for appreciation. Please contact WeChat xy5108 with questions, suggestions, customized plug-ins and website problems, and indicate the purpose of zblog+

ZBLOG Application Center - Application Purchase and Use Agreement


1. Before purchasing an app, you need to confirm whether the app meets your needs. Digital products do not support trial. According to Article 25 of the Consumer Protection Law, the app is a digital product downloaded online and cannot be refunded once it is downloaded and installed after purchase.
2. The application you purchased in the application center, Only the license of the application, and the ownership of the application still belongs to the application provider.
3. An application can only be used for a single account. Without the consent of the website and the application provider, No secondary release, gift, resale, lease, piracy, etc , otherwise we will Permanently close the user account And reserves the right to continue to investigate relevant responsibilities.
4. If The website containing the application is resold or given away, leased, etc. Please purchase the application with a new account or remove the application Otherwise, it will be deemed as violating the use agreement and permanently canceling the right to use the account.
5. Unless otherwise specified, the purchased applications only include relevant use rights and free update services, and the application center and application provider do not provide additional after-sales installation and other services.
6. The risks in your use of the application are entirely borne by the user, including system damage, data loss and any other risks.
seven Users shall not use this app to engage in any behavior that violates laws, regulations and social public order and good customs in any way. Users must bear all legal responsibilities for the possible consequences of their improper use, and the website and application provider will not bear any responsibility.
eight If the application provider and the website find that the user installs the application on illegal websites such as pornography, gambling, drugs and fraud, they will stop the user's use rights and services, and report the user's illegal information to the network supervision department.
9. The website and application providers reserve the right to change, restrict, freeze or terminate your use of certain content without notifying you and assuming no responsibility for you.


Purchasing Guide


1. Please first Registered account , and Sign in Application Center.
2. Directly click "Buy App" and follow the instructions.


Download Guide


1. The buyer logs in on his Z-Blog website, enters the background, and clicks the "Application Center" menu on the left menu bar.
2. On the home page of the "Application Center", log in using the application center registration account.
3. Enter "My Application Warehouse" to see the successfully purchased applications. Click "Download" to download and install them.


Other precautions


1. If you cannot normally access the application center through the background of your own website, please purchase carefully, because this may cause the application to fail to download and install smoothly.
2. If the paid application cannot be downloaded normally, please check Z-Blog and application updates in the background of your website. If you have updated to the latest version and still cannot download, please contact us in time.
3. The local settings may be overwritten when the update is applied. Please make a backup before the update.