123456789101112131415161718192021222324252627282930313233343536373839 |
- local root = {
- {
- chapterId = 1,
- id = 1,
- points = 4,
- items = {{id=101,count=80}}
- },
- {
- chapterId = 1,
- id = 2,
- points = 6,
- items = {{id=101,count=90}}
- },
- {
- chapterId = 1,
- id = 3,
- points = 7,
- items = {{id=101,count=100},{id=102,count=50}}
- },
- {
- chapterId = 2,
- id = 1,
- points = 10,
- items = {{id=101,count=80}}
- },
- {
- chapterId = 2,
- id = 2,
- points = 20,
- items = {{id=101,count=90}}
- },
- {
- chapterId = 2,
- id = 3,
- points = 30,
- items = {{id=101,count=100},{id=102,count=50}}
- }
- }
- return root
|