This PC28-style number-data system is a secondary-development-ready source code download package built on PHP 7.x + ThinkPHP 5.1 + MySQL + Nginx, with the web entry point in public/. It bundles a mobile front end, a PC admin panel, and a mobile admin panel that share one database. It is published on dajian168 for educational research only — useful for developers studying real-time WebSocket push, data polling collectors, and multi-role admin architecture in a communication-system codebase.
If you only have time to audit three parts, read the collector, the WebSocket layer, and the rebate chain. When I deployed this package in a test VM, these were the pieces with the most transferable engineering patterns.
Plan for roughly 6 steps and change 3 configuration items before anything runs. There is a setting in the admin panel for room visibility that defaults to fully open — flip that off immediately on a public-facing test host.
public/.config/fs.php — merchant ID, secret key, and gateway URL for the third-party game module.| Item | Requirement |
|---|---|
| PHP | 7.x (ThinkPHP 5.1) |
| Database | MySQL 5.7+ |
| Web server | Nginx, root = public/ |
| Extras | Supervisor for collector, WebSocket port opened |
Best fit: developers learning settlement, polling, and admin-panel patterns; not a production product. The package covers member management, credit adjustments, bet records, missed-period backfill, customer-service sessions, and operation logs — around 8 admin modules in total. That breadth is exactly why it works as a study artifact for communication-system backends.
One honest caveat from testing: the code ships with live third-party interface placeholders. Strip them, swap in sandbox endpoints, and confirm local regulations before doing anything beyond a private demo. Treat this dajian168 download as a reference implementation, never as a turnkey business.
Q: Does the polling collector need to run separately from Nginx/PHP-FPM?
A: Yes. It is a long-running CLI process. Run it under supervisor or systemd; otherwise it dies when your SSH session closes.
Q: Where do I configure the third-party game merchant parameters?
A: In config/fs.php — merchant number, secret key, and gateway URL are all in that single file.
Q: Can I modify the front-end skin without touching the backend?
A: Yes. The mobile front end is template-separated from the ThinkPHP controllers, so re-skinning the room and lobby views does not affect the polling or settlement logic.







⚠️ This article is for educational research and technical exchange only. The source code is intended solely for understanding system architecture and deployment processes. Do not use it for illegal purposes. Any commercial operation is unrelated to the author.