The Discuz rookie network verification and charging system framework is developed by PHP+MYSQL language, with a pure API interface, which can quickly connect to external apps, web, and various software developments;
This framework adopts the mature and stable Discuz3.4 forum system and is developed under the MVC framework environment;
This framework seamlessly integrates the built-in functions of the Discuz user system, adopts an independent framework developed in the form of plug-ins, separates the code, and supports secondary development and expansion;
Through this framework, the data output interface can be infinitely expanded, and data can be operated, output and other functions through external access API interface;
All functions of this system are implemented and controlled using API external interfaces. The data output format is mainly JSON and can receive external GET and POST parameters;
The client supports Python, Java, C, Yi Language, PHP, Yi Android, Huoshan Mobile, some game development engines, and all other mainstream development languages.
Applicable environment:
PHP version>5.6 or above;
DISCUZ version>3.0 or above;
MYSQL version>5.5 or above;
Framework process:
Client: Submit data to the entry file through the framework protocol;
Server-controller: After receiving the data, it is diverted through the control process;
Server-model: receives the offloading instructions and performs modular data processing;
Server-View: Receives the processed data and returns it to the client through JSON for reception;
Framework processing flow: Incoming data-->Entry file-->Controller-->Model processing-->Data return!
Framework features:
Independent framework: an independently developed api-specific framework protocol that uses DB and native code to independently encapsulate the core library without any redundant instructions. The code is concise and fast;
Code separation: All codes under this framework are separated from the discuz framework and do not conflict with the discuz version and other plug-ins. The native code does not have any unofficial process operations on the database to ensure that the data and structural logic are not destroyed;
Unique encryption: This framework uses dynamic two-way, customizable encryption technology to effectively ensure that the token value maintains dynamic change verification technology. This encryption technology can add signatures and interference codes. In addition, according to your own situation, you can customize the personal encryption method to strengthen it. It is seamless and the only personal encryption technology in the world;
Dynamic verification: On the basis of unique encryption, dynamic aging comes into being, setting the validity time of the ciphertext. When the time is up, the verification data must be updated again. Each time the ciphertext is updated, it is different to ensure data security;
Parameter protection: Data transmission is filtered by the discuz security mechanism. However, discuz does not strictly filter negative parameter values and string escapes, which can easily cause errors. This framework strengthens the formatting of values and strings, effectively blocking malicious injection attacks!
Core processing: The core logic and verification functions of this framework are all processed within the framework, effectively eliminating security risks caused by logic errors caused by low security levels of external software and being cracked;
Secondary expansion: This framework can infinitely expand any custom logic function within the functional scope of the discuz framework, and can also perform data operations and calls on all functional modules and all plug-ins in the discuz framework;
Access verification: This framework combines the built-in function of prohibiting IP and prohibiting access to member groups in the discuz framework to realize control over proxy IP and member group login;
Time verification: This framework verifies the client time and server time to ensure data logic security;
File verification: This framework ensures the integrity of client files through customized client md5 signature verification, effectively preventing file cracking and changes;
Charging modes: point deduction mode, purchase user group mode, timed deduction mode;
Recharge function: Combined with the built-in recharge and recharge card functions of the discuz framework, users can recharge points;
Agency function: Combined with the built-in recharge and recharge card functions of the discuz framework, users can apply for card sales discount permissions and obtain dividends;
Promotion function: Combined with the built-in promotion inviter in the discuz framework, when the invitee uses the recharge card to recharge, the inviter will receive a certain proportion of rewards;
Heartbeat packet function: return user online activities, verify machine code, and process expired heartbeat packets that have not been sent offline;
Variable function: Provides powerful remote variables and private variables. A single variable can store 4G of data, allowing developers to develop software more perfectly;
Card number login: implement direct login with card number, bind it to account, set card number status, and have independent control for more convenient management;
Interface control: Powerful interface control system, each interface is independently set to access and process every second and hourly access online;
Integrated interface: Under this framework, through custom interface functions, external api calling interfaces are added, data calls are made through this framework, and stronger functions are expanded;
Interface module:
Login module: user login, plug-in configuration, registered users;
User module: user information, extended information, obtaining avatar;
Points module: points increase or decrease;
Friends module: message sending, friend information;
Recharge module: Points recharge;
Agent module: Tika sales;
Extension module: Add new users to expand data storage and notes;
Calling module: post calling, member ranking;
Log module: interface log:
Withdrawal module: apply for cash withdrawal and background payment;
User group module: purchase, recharge, switching;
Forum module: list, post, reply
Ranking module: member points ranking, extended information ranking
Mobile phone module: SMS sending, mobile phone account binding, mobile phone login
QQ module: QQ login
Other function download experience...
Function customization:
Interface customization: In addition to common interfaces, logical calls and modifications are made to data in the discuz built-in framework;
External customization: call and modify data from third-party plug-ins;
Function expansion: third-party external interface, official self-provided interface;
Instructions for use:
First of all, you must ensure the security of the server, administrator account, ftp password, and mysql password, because after these are cracked, any files and data on the website will be unsafe;
When developing computer and mobile phone software, it is recommended to use DLL encapsulation calls for transmission keys, API plaintext interfaces, and parameters, which can greatly protect the security of the interface;
When developing software, it is necessary to fully make software reverse engineering and debugging judgments, and combine the framework's own file md5 signature and other protection measures, packaging and other operations to ensure software security;
The transmission key and plug-in source code must be kept confidential and are strictly prohibited from being leaked. Try not to let others know what network verification system you use;
Before using the interface, you must carefully check the interface documentation and use it after multiple successful debuggings. If you find debugging bugs, report them to the author in time for repairs;