国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

How does ThinkPhp output second- and third-level columns in a tree shape?
為夢兼程
為夢兼程 2019-04-26 10:57:10
0
1
1301

I want to implement the column call of the following tree structure:

360截圖16660101677647.png

How to write the background controller, my database is as follows:

360截圖16550428537093.png

Who can help me solve this problem

為夢兼程
為夢兼程

reply all(1)
BLANK

The simplest idea: query the records with pid 0 in the database and then query the sub-columns in a loop. The number of layers required is just a few loops

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template