Beginner small white One, is developing a rebate system, the core is a users can sell their own can also develop downline A/B/C and profit from the downline sales. Now there is a problem, how to achieve a and a/b/c up and down line relationship? Can be paid, thank you.
Reply content:
Beginner small white One, is developing a rebate system, the core is a users can sell their own can also develop downline A/B/C and profit from the downline sales. Now there is a problem, how to achieve a and a/b/c up and down line relationship? Can be paid, thank you.
Search for "infinite pole Classification".
The database design a parent_id, through the parent_id can query to the user's downline
Unlimited Poles can
ID name PID table design
This is an infinite classification, as is the answer of everyone. You refer to the http://www.imooc.com/learn/201