- 注册时间
- 2023-2-20
- 最后登录
- 2024-5-14
- 阅读权限
- 10
- 积分
- 57
- 精华
- 0
- 帖子
- 8
|
发表于 2023-5-29 10:38:36
|显示全部楼层
[
{"z_state":1,"z_del":1,"d_putThisWayman":null,"z_id":1301,"d_uploaddate":"2023-05-27T07:57:15","z_name":"五金图纸","d_isFolder":"yes","d_guid":"4cbe4e32-7f6a-4cc9-b488-b0bfd668298e","z_shuyu":1300,"d_modifyman":null,"d_id":3000663,"d_putThisWaydate":null,"d_url":"UpLoadFile\\Drawing\\鸿志监控报价_20235169951638.png","d_state":1,"d_uploadman":"a5d0387f-fcb2-4cc7-888d-581f2d310e89","d_title":"title1","d_tuhao":"tuhao1","d_order":3000663,"d_del":1,"d_ispublic":null,"d_taocode":-1,"d_modifydate":null,"d_publicID":null,"iconCls":null,"d_guige":"guige1","d_memo":"memo1","d_kind":1301},
{"z_state":null,"z_del":null,"d_putThisWayman":null,"z_id":null,"d_uploaddate":null,"z_name":null,"d_isFolder":"yes","d_guid":"32e13ef3-18c9-447b-8ea0-e7e8fd6db16f","z_shuyu":null,"d_modifyman":null,"d_id":3030684,"d_putThisWaydate":null,"d_url":null,"d_state":1,"d_uploadman":null,"d_title":"ceshi1","d_tuhao":null,"d_order":3000663,"d_del":1,"d_ispublic":null,"d_taocode":3000663,"d_modifydate":null,"d_publicID":null,"iconCls":"mini-tree-folder mini-tree-icon mini-icon","d_guige":null,"d_memo":"","d_kind":null},
{"z_state":null,"z_del":null,"d_putThisWayman":null,"z_id":null,"d_uploaddate":null,"z_name":null,"d_isFolder":"yes","d_guid":"ca01588e-6906-4e18-a440-fa2618e953ed","z_shuyu":null,"d_modifyman":null,"d_id":3030690,"d_putThisWaydate":null,"d_url":null,"d_state":1,"d_uploadman":null,"d_title":"ceshi2","d_tuhao":null,"d_order":3030684,"d_del":1,"d_ispublic":null,"d_taocode":3030684,"d_modifydate":null,"d_publicID":null,"iconCls":"mini-tree-folder mini-tree-icon mini-icon","d_guige":null,"d_memo":"","d_kind":null},
3
]
版主,你好;感谢回复!这是我返回的JSON数据,我后面多返回了一个数据总数3;不碍事的;我找到原因了,其实JSON数据没问题;问题在于,数据量的跨度,我做了实验,比如我就取这三条数据,最终显示的多级目录是正常的,但是我返回的3万条数据,其中根目录和二级目录在前,三级目录在最后,这样多级目录就异常;我不知道这是怎么回事,但我数据库新增了一个排序字段,绕过了这个问题。如果版主有兴趣优化的话,可以试试多增加点数据 |
|