This is a creation in Article, where the information may have evolved or changed.
Briefly said: Dual-track member integration System simulation distribution, agent logic mutually recommended node Generation 1 time times the principle of 2.
Bonus calculation has been done, convenient point mall, distribution financing system two development and expansion.
Demo Address: http://124.173.125.140:2000
User name: 15100000000 Password: 123456
Source Address: Https://gitee.com/611041314/dtsShuangGuiZhiHuiYuanJiFenXiTong
Development and operating environment:
With Linux system environment:
Install Nginx.
Modify static files in nginx.local.conf to point to (kingbloc.web) local directories
MySQL Database
Redis Cache Tool
Change the configuration (. ini) file database link information
Development language: golang1.8+; database mapping: Xorm
Message system: NSQ;
Key value storage: ETCD;
Database: mysql5.5+;
Cache: redis4+;
Agent layer: nginx1.10+;
Graphic Chart: echarts.js
Start:
chmod a+x dts.start.linuxdts.start.linux > Optional Parameters:-conf=/home/user/default.dts.ini/usr/bin/nginx-s/home/user/ Nginx.loacl.conf
Hurry up the Last picture:
Introduction to Business logic
Layer Touch Award Calculation rules:
Under their own declarations node, each layer of the left and right area of the first single collision, take the minimum amount and not greater than their declarations amount; the first layer 50%; the second and subsequent layers are 100%; the amount of the hit is the profit vertex account; infinite layer, infinite generation
Volume Touch Award Calculation rules:
By a certain period of time declarations performance to distinguish the size of the region, the large community at the same time minus the performance of the community, while the performance of 15% allocated to the income vertex account;
Lucky Prize Calculation
Before and after 20 people, a total of 40 people earnings current volume award of 1%, the front less than 20 people, to the back of the person up to 40 people,
Management Award Calculation
The day of the volume Touch prize beneficiary upward Search, while the allocation of benefits to the above xx, XX layer, the benefit amount for the same day all the volume Touch award 0.5%
Glamour Award
Direct push a certain number of people to give a fixed reward
Other instructions:
Declarations of different levels, different income ratios can be configured, immediately effective system application scenarios:
Applicable scenarios
Shopping malls, supermarkets, retail loyalty points system, membership system expansion, strengthening, upgrading;
Group financing System;
Project crowdfunding system;
Member financing, investment system;
Non-governmental loan member management system;
Member management system expansion business;
357 Reads