ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯(lián)系官方銷售客服

1835022288

028-61286886

投訴 已解決 怎么使用用戶中心列表數(shù)據(jù)使用的是幫助中心的參數(shù)獲取的結(jié)果卻不 4 0
迅睿粉絲 2019-11-19 21:40:29 私信
迅睿CMS版本:4.3.3 #php

怎么使用:用戶中心列表數(shù)據(jù) http://www.zbshanke.com/doc/415.html


http://wang.com/index.php?api_auth_code=5e18f4c764abd848ec01b999559b2dfd&api_auth_uid=1&appid=1&appsecret=PHPCMF975993A341D09&s=member&app=news&c=home&m=index&page=1

使用的是幫助中心的參數(shù),獲取的結(jié)果卻不一樣!!


image.png

解決方案
  • 截圖不夠全,應(yīng)該是正確的返回?cái)?shù)據(jù)

    已經(jīng)有了data[menu],那么

    data[list]就是列表的數(shù)據(jù),

  • {
    	"code": 1,
    	"msg": "view",
    	"data": {
    		"menu": {
    			"1": {
    				"id": "1",
    				"pid": "0",
    				"name": "賬號(hào)管理",
    				"uri": "",
    				"url": "",
    				"mark": "user",
    				"hidden": "0",
    				"icon": "fa fa-user",
    				"group": [],
    				"site": [],
    				"displayorder": "0",
    				"link": {
    					"2": {
    						"id": "2",
    						"pid": "1",
    						"name": "資料修改",
    						"uri": "account/index",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-cog",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					},
    					"3": {
    						"id": "3",
    						"pid": "1",
    						"name": "頭像設(shè)置",
    						"uri": "account/avatar",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-smile-o",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					},
    					"4": {
    						"id": "4",
    						"pid": "1",
    						"name": "手機(jī)認(rèn)證",
    						"uri": "account/mobile",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-mobile",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					},
    					"5": {
    						"id": "5",
    						"pid": "1",
    						"name": "修改密碼",
    						"uri": "account/password",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-expeditedssl",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					},
    					"6": {
    						"id": "6",
    						"pid": "1",
    						"name": "賬號(hào)綁定",
    						"uri": "account/oauth",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-qq",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					},
    					"7": {
    						"id": "7",
    						"pid": "1",
    						"name": "登錄記錄",
    						"uri": "account/login",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-calendar",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					}
    				}
    			},
    			"8": {
    				"id": "8",
    				"pid": "0",
    				"name": "財(cái)務(wù)管理",
    				"uri": "",
    				"url": "",
    				"mark": "pay",
    				"hidden": "0",
    				"icon": "fa fa-rmb",
    				"group": [],
    				"site": [],
    				"displayorder": "0",
    				"link": {
    					"9": {
    						"id": "9",
    						"pid": "8",
    						"name": "在線充值",
    						"uri": "recharge/index",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-rmb",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					},
    					"10": {
    						"id": "10",
    						"pid": "8",
    						"name": "我的交易",
    						"uri": "paylog/index",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-calendar",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					},
    					"11": {
    						"id": "11",
    						"pid": "8",
    						"name": "虛擬金幣",
    						"uri": "scorelog/index",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-diamond",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					},
    					"12": {
    						"id": "12",
    						"pid": "8",
    						"name": "提醒消息",
    						"uri": "notice/index",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-envelope",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					}
    				}
    			},
    			"13": {
    				"id": "13",
    				"pid": "0",
    				"name": "內(nèi)容管理",
    				"uri": "",
    				"url": "",
    				"mark": "content-module",
    				"hidden": "0",
    				"icon": "fa fa-th-large",
    				"group": [],
    				"site": [],
    				"displayorder": "0",
    				"link": {
    					"14": {
    						"id": "14",
    						"pid": "13",
    						"name": "我的評(píng)論",
    						"uri": "content/comment",
    						"url": "",
    						"mark": "",
    						"hidden": "0",
    						"icon": "fa fa-comments",
    						"group": [],
    						"site": [],
    						"displayorder": "0"
    					},
    					"15": {
    						"id": "15",
    						"pid": "13",
    						"name": "文章管理",
    						"uri": "news/home/index",
    						"url": "",
    						"mark": "module-news",
    						"hidden": "0",
    						"icon": "fa fa-sticky-note",
    						"group": [],
    						"site": [],
    						"displayorder": "-1"
    					}
    				}
    			}
    		},
    		"page_bar": "<div class=\"page-bar\">\n                <ul class=\"page-breadcrumb\">\n                    <li>\n                        <i class=\"fa fa-home\"></i>\n                        <span>用戶中心</span>\n                        <i class=\"fa fa-angle-right\"></i>\n                    </li>\n                    \n                    <li>\n                        <i class=\"fa fa-th-large\"></i>\n                        <span>內(nèi)容管理</span>\n                        <i class=\"fa fa-angle-right\"></i>\n                    </li>\n                    <li>\n                        <i class=\"fa fa-sticky-note\"></i>\n                        <span>文章管理</span>\n                    </li>\n                    \n                </ul>\n            </div>",
    		"mymenu": [
    			"15",
    			"13"
    		],
    		"meta_name": "文章管理",
    		"meta_title": "文章管理_內(nèi)容管理_用戶中心",
    		"meta_keywords": null,
    		"meta_description": null,
    		"member": {
    			"id": "1",
    			"email": "admin@admin.com",
    			"phone": "",
    			"username": "admin",
    			"password": "443daf04e19edbb045bfd67d79744b55",
    			"salt": "846c260d71",
    			"name": "創(chuàng)始人",
    			"money": "1000000.00",
    			"freeze": "0.00",
    			"spend": "0.00",
    			"score": "1000000",
    			"experience": "1000000",
    			"regip": "",
    			"regtime": "1574071728",
    			"randcode": "0",
    			"is_admin": "1",
    			"is_lock": "0",
    			"is_auth": "1",
    			"is_verify": "1",
    			"is_mobile": "1",
    			"is_avatar": "1",
    			"is_complete": "1",
    			"uid": "1",
    			"authid": [
    				1
    			],
    			"avatar": "http://wang.com/api/member/1.jpg",
    			"adminid": 1,
    			"tableid": 1,
    			"group": {
    				"1": {
    					"id": "1",
    					"uid": "1",
    					"gid": 1,
    					"lid": "0",
    					"stime": "0",
    					"etime": "0",
    					"group_name": "注冊(cè)用戶",
    					"group_level": null
    				}
    			},
    			"groupid": {
    				"1": 1
    			},
    			"levelid": {
    				"1": "0"
    			}
    		},
    		"module": {
    			"id": "1",
    			"name": "文章",
    			"icon": "fa fa-sticky-note",
    			"site": {
    				"1": {
    					"html": 0,
    					"theme": "default",
    					"domain": "",
    					"template": "default"
    				}
    			},
    			"config": {
    				"type": "module",
    				"name": "文章",
    				"icon": "fa fa-sticky-note",
    				"system": "1",
    				"mtype": "1"
    			},
    			"share": "1",
    			"comment": {
    				"use": "1",
    				"num": "0",
    				"my": "0",
    				"reply": "0",
    				"ct_reply": "0",
    				"pagesize": "",
    				"pagesize_mobile": "",
    				"pagesize_api": "",
    				"review": [],
    				"field": []
    			},
    			"setting": {
    				"order": "displayorder DESC,updatetime DESC",
    				"verify_msg": "",
    				"delete_msg": "",
    				"list_field": {
    					"title": {
    						"use": "1",
    						"order": "1",
    						"name": "主題",
    						"width": "",
    						"func": "title"
    					},
    					"catid": {
    						"use": "1",
    						"order": "2",
    						"name": "欄目",
    						"width": "120",
    						"func": "catid"
    					},
    					"author": {
    						"use": "1",
    						"order": "3",
    						"name": "作者",
    						"width": "100",
    						"func": "author"
    					},
    					"updatetime": {
    						"use": "1",
    						"order": "4",
    						"name": "更新時(shí)間",
    						"width": "160",
    						"func": "datetime"
    					}
    				},
    				"comment_list_field": {
    					"content": {
    						"use": "1",
    						"order": "1",
    						"name": "評(píng)論",
    						"width": "",
    						"func": "comment"
    					},
    					"author": {
    						"use": "1",
    						"order": "3",
    						"name": "作者",
    						"width": "100",
    						"func": "author"
    					},
    					"inputtime": {
    						"use": "1",
    						"order": "4",
    						"name": "評(píng)論時(shí)間",
    						"width": "160",
    						"func": "datetime"
    					}
    				},
    				"flag": null,
    				"param": null,
    				"search": {
    					"use": "1",
    					"field": "title,keywords",
    					"total": "500",
    					"length": "4",
    					"param_join": "-",
    					"param_rule": "0",
    					"param_field": "",
    					"param_join_field": [
    						"",
    						"",
    						"",
    						"",
    						"",
    						"",
    						""
    					],
    					"param_join_default_value": "0"
    				}
    			},
    			"dirname": "news",
    			"cname": "文章",
    			"html": 0,
    			"title": "文章",
    			"urlrule": null,
    			"domain": "",
    			"mobile_domain": "",
    			"url": "/index.php?s=news",
    			"murl": "/index.php?s=news",
    			"field": {
    				"title": {
    					"id": "1",
    					"name": "主題",
    					"fieldname": "title",
    					"fieldtype": "Text",
    					"relatedid": "1",
    					"relatedname": "module",
    					"isedit": "1",
    					"ismain": "1",
    					"issystem": "1",
    					"ismember": "1",
    					"issearch": "1",
    					"disabled": "0",
    					"setting": {
    						"option": {
    							"width": 400,
    							"fieldtype": "VARCHAR",
    							"fieldlength": "255"
    						},
    						"validate": {
    							"xss": 1,
    							"required": 1,
    							"formattr": "onblur=\"check_title();get_keywords('keywords');\""
    						}
    					},
    					"displayorder": "0"
    				},
    				"thumb": {
    					"id": "2",
    					"name": "縮略圖",
    					"fieldname": "thumb",
    					"fieldtype": "File",
    					"relatedid": "1",
    					"relatedname": "module",
    					"isedit": "1",
    					"ismain": "1",
    					"issystem": "1",
    					"ismember": "1",
    					"issearch": "1",
    					"disabled": "0",
    					"setting": {
    						"option": {
    							"ext": "jpg,gif,png",
    							"size": 10,
    							"width": 400,
    							"fieldtype": "VARCHAR",
    							"fieldlength": "255"
    						}
    					},
    					"displayorder": "0"
    				},
    				"keywords": {
    					"id": "3",
    					"name": "關(guān)鍵字",
    					"fieldname": "keywords",
    					"fieldtype": "Text",
    					"relatedid": "1",
    					"relatedname": "module",
    					"isedit": "1",
    					"ismain": "1",
    					"issystem": "1",
    					"ismember": "1",
    					"issearch": "1",
    					"disabled": "0",
    					"setting": {
    						"option": {
    							"width": 400,
    							"fieldtype": "VARCHAR",
    							"fieldlength": "255"
    						},
    						"validate": {
    							"xss": 1,
    							"formattr": " data-role=\"tagsinput\""
    						}
    					},
    					"displayorder": "0"
    				},
    				"description": {
    					"id": "4",
    					"name": "描述",
    					"fieldname": "description",
    					"fieldtype": "Textarea",
    					"relatedid": "1",
    					"relatedname": "module",
    					"isedit": "1",
    					"ismain": "1",
    					"issystem": "1",
    					"ismember": "1",
    					"issearch": "1",
    					"disabled": "0",
    					"setting": {
    						"option": {
    							"width": 500,
    							"height": 60,
    							"fieldtype": "VARCHAR",
    							"fieldlength": "255"
    						},
    						"validate": {
    							"xss": 1,
    							"filter": "dr_clearhtml"
    						}
    					},
    					"displayorder": "0"
    				},
    				"content": {
    					"id": "5",
    					"name": "內(nèi)容",
    					"fieldname": "content",
    					"fieldtype": "Ueditor",
    					"relatedid": "1",
    					"relatedname": "module",
    					"isedit": "1",
    					"ismain": "0",
    					"issystem": "1",
    					"ismember": "1",
    					"issearch": "1",
    					"disabled": "0",
    					"setting": {
    						"option": {
    							"mode": 1,
    							"width": "100%",
    							"height": 400
    						},
    						"validate": {
    							"xss": 1,
    							"required": 1
    						}
    					},
    					"displayorder": "0"
    				}
    			},
    			"system": "1",
    			"category": {
    				"1": {
    					"id": "1",
    					"tid": "1",
    					"pid": "0",
    					"mid": "news",
    					"pids": "0,1",
    					"name": "新聞動(dòng)態(tài)",
    					"dirname": "xwdt",
    					"pdirname": "",
    					"child": 1,
    					"childids": "1,7,8",
    					"domain": "",
    					"mobile_domain": "",
    					"thumb": "",
    					"show": "1",
    					"content": "",
    					"setting": {
    						"linkurl": "",
    						"urlrule": 0,
    						"seo": {
    							"list_title": "[第{page}頁{join}]{catpname}{join}{modname}{join}{SITE_NAME}",
    							"list_keywords": "",
    							"list_description": ""
    						},
    						"template": {
    							"pagesize": "10",
    							"mpagesize": "10",
    							"page": "page.html",
    							"list": "list.html",
    							"category": "category.html",
    							"search": "search.html",
    							"show": "show.html"
    						},
    						"html": 0
    					},
    					"displayorder": "0",
    					"topid": "1",
    					"catids": [
    						"1",
    						"7",
    						"8"
    					],
    					"permission": "",
    					"url": "/index.php?c=category&id=1",
    					"total": 17
    				},
    				"2": {
    					"id": "2",
    					"tid": "1",
    					"pid": "0",
    					"mid": "news",
    					"pids": "0",
    					"name": "圖片展示",
    					"dirname": "tpzs",
    					"pdirname": "",
    					"child": 0,
    					"childids": 2,
    					"domain": "",
    					"mobile_domain": "",
    					"thumb": "",
    					"show": "1",
    					"content": "",
    					"setting": {
    						"linkurl": "",
    						"urlrule": 0,
    						"seo": {
    							"list_title": "[第{page}頁{join}]{catpname}{join}{modname}{join}{SITE_NAME}",
    							"list_keywords": "",
    							"list_description": ""
    						},
    						"template": {
    							"pagesize": "10",
    							"mpagesize": "10",
    							"page": "page.html",
    							"list": "list.html",
    							"category": "category.html",
    							"search": "search.html",
    							"show": "show.html"
    						},
    						"html": 0
    					},
    					"displayorder": "0",
    					"topid": "2",
    					"catids": [
    						"2"
    					],
    					"permission": [],
    					"url": "/index.php?c=category&id=2",
    					"total": 7
    				},
    				"7": {
    					"id": "7",
    					"tid": "1",
    					"pid": "1",
    					"mid": "news",
    					"pids": "0,1",
    					"name": "互聯(lián)網(wǎng)",
    					"dirname": "hulianwang",
    					"pdirname": "xwdt/",
    					"child": 0,
    					"childids": 7,
    					"domain": "",
    					"mobile_domain": "",
    					"thumb": "",
    					"show": "1",
    					"content": "",
    					"setting": {
    						"edit": 1,
    						"template": {
    							"list": "list.html",
    							"show": "show.html",
    							"category": "category.html",
    							"search": "search.html",
    							"pagesize": 20
    						},
    						"seo": {
    							"list_title": "[第{page}頁{join}]{name}{join}{modname}{join}{SITE_NAME}",
    							"show_title": "[第{page}頁{join}]{title}{join}{catname}{join}{modname}{join}{SITE_NAME}"
    						},
    						"html": 0,
    						"urlrule": 0
    					},
    					"displayorder": "0",
    					"topid": "1",
    					"catids": [
    						"7"
    					],
    					"permission": [],
    					"url": "/index.php?c=category&id=7",
    					"total": 14
    				},
    				"8": {
    					"id": "8",
    					"tid": "1",
    					"pid": "1",
    					"mid": "news",
    					"pids": "0,1",
    					"name": "PHP技術(shù)",
    					"dirname": "phpjishu",
    					"pdirname": "xwdt/",
    					"child": 0,
    					"childids": 8,
    					"domain": "",
    					"mobile_domain": "",
    					"thumb": "",
    					"show": "1",
    					"content": "",
    					"setting": {
    						"edit": 1,
    						"template": {
    							"list": "list.html",
    							"show": "show.html",
    							"category": "category.html",
    							"search": "search.html",
    							"pagesize": 20
    						},
    						"seo": {
    							"list_title": "[第{page}頁{join}]{name}{join}{modname}{join}{SITE_NAME}",
    							"show_title": "[第{page}頁{join}]{title}{join}{catname}{join}{modname}{join}{SITE_NAME}"
    						},
    						"html": 0,
    						"urlrule": 0
    					},
    					"displayorder": "0",
    					"topid": "1",
    					"catids": [
    						"8"
    					],
    					"permission": [],
    					"url": "/index.php?c=category&id=8",
    					"total": 3
    				}
    			},
    			"category_dir": {
    				"xwdt": "1",
    				"tpzs": "2",
    				"guanyuwomen": "3",
    				"jishuzhichi": "4",
    				"gongsijieshao": "5",
    				"xunruicmskuangjia": "6",
    				"hulianwang": "7",
    				"phpjishu": "8"
    			},
    			"category_field": {
    				"thumb": {
    					"name": "縮略圖",
    					"ismain": 1,
    					"ismember": 1,
    					"fieldtype": "File",
    					"fieldname": "thumb",
    					"setting": {
    						"option": {
    							"ext": "jpg,gif,png,jpeg",
    							"size": 10,
    							"input": 1,
    							"attachment": ""
    						}
    					}
    				},
    				"content": {
    					"name": "欄目?jī)?nèi)容",
    					"ismain": 1,
    					"fieldtype": "Ueditor",
    					"fieldname": "content",
    					"setting": {
    						"option": {
    							"mode": 1,
    							"height": 300,
    							"width": "100%",
    							"attachment": ""
    						}
    					}
    				}
    			},
    			"category_level": 1,
    			"category_data_field": 0,
    			"form": []
    		},
    		"module_memu": {
    			"list": {
    				"name": "內(nèi)容管理",
    				"icon": "fa fa-sticky-note",
    				"url": "http://wang.com/index.php?s=member&app=news&c=home&m=index"
    			},
    			"verify": {
    				"name": "審核管理",
    				"icon": "fa fa-edit",
    				"url": "http://wang.com/index.php?s=member&app=news&c=verify&m=index"
    			},
    			"draft": {
    				"name": "草稿箱",
    				"icon": "fa fa-pencil",
    				"url": "http://wang.com/index.php?s=member&app=news&c=draft&m=index"
    			},
    			"add": {
    				"name": "發(fā)布內(nèi)容",
    				"icon": "fa fa-plus",
    				"url": "http://wang.com/index.php?s=member&app=news&c=home&m=add"
    			}
    		},
    		"list": [
    			{
    				"id": "24",
    				"catid": "2",
    				"title": "附件分離云存儲(chǔ)",
    				"thumb": "http://cdn-file.xunruicms.com/uploadfile/201903/70d141ccc7fc8aa.jpg",
    				"keywords": "云存儲(chǔ),分離,附件",
    				"description": "迅睿CMS文件存儲(chǔ)可以分為本地和遠(yuǎn)程方式,可以在附件設(shè)置中去配置各種存儲(chǔ)策略。圖片縮略圖可單獨(dú)設(shè)置緩存目錄,把縮略圖圖片放到高效的ssd硬盤中。設(shè)置附件存儲(chǔ)策略,將附件存儲(chǔ)到任意磁盤位置同時(shí)遠(yuǎn)程附件存...",
    				"hits": "9",
    				"uid": "1",
    				"author": "admin",
    				"status": "9",
    				"url": "/index.php?c=show&id=24",
    				"link_id": "0",
    				"tableid": "0",
    				"inputip": "127.0.0.1",
    				"inputtime": "1551777558",
    				"updatetime": "1551777583",
    				"comments": "0",
    				"avgsort": "0.00",
    				"displayorder": "0"
    			},
    			{
    				"id": "23",
    				"catid": "2",
    				"title": "全站生成靜態(tài)",
    				"thumb": "http://cdn-file.xunruicms.com/uploadfile/201903/3779e03411b013.jpg",
    				"keywords": "全站生成靜態(tài),全站",
    				"description": "迅睿CMS 支持全站生成靜態(tài)文件,生成電腦頁面的同時(shí)生成移動(dòng)端頁面,一鍵操作。自定義網(wǎng)站目錄迅睿CMS支持將站點(diǎn)目錄放到任意位置,如果做成純靜態(tài)站點(diǎn)的話相當(dāng)方便了。生成全站靜態(tài)一鍵生成全站靜態(tài)文件,可...",
    				"hits": "0",
    				"uid": "1",
    				"author": "admin",
    				"status": "9",
    				"url": "/index.php?c=show&id=23",
    				"link_id": "0",
    				"tableid": "0",
    				"inputip": "127.0.0.1",
    				"inputtime": "1551777534",
    				"updatetime": "1551777556",
    				"comments": "0",
    				"avgsort": "0.00",
    				"displayorder": "0"
    			},
    			{
    				"id": "22",
    				"catid": "2",
    				"title": "在線充值/付款",
    				"thumb": "http://cdn-file.xunruicms.com/uploadfile/201903/ade3578802566d2.jpg",
    				"keywords": "在線充值,付款",
    				"description": "迅睿CMS支持微信公眾號(hào)內(nèi)支付、微信掃碼支付、微信H5喚醒支付、微信小程序支付、支付寶掃碼和Wap支付。電腦端在線充值微信公眾號(hào)內(nèi)支付微信小程序支付",
    				"hits": "0",
    				"uid": "1",
    				"author": "admin",
    				"status": "9",
    				"url": "/index.php?c=show&id=22",
    				"link_id": "0",
    				"tableid": "0",
    				"inputip": "127.0.0.1",
    				"inputtime": "1551777508",
    				"updatetime": "1551777531",
    				"comments": "0",
    				"avgsort": "0.00",
    				"displayorder": "0"
    			},
    			{
    				"id": "21",
    				"catid": "2",
    				"title": "模板管理/編輯模板",
    				"thumb": "http://cdn-file.xunruicms.com/uploadfile/201903/6a2b4be4f7b0d.jpg",
    				"keywords": "模板管理,編輯模板,模板",
    				"description": "迅睿CMS支持在線編輯模板內(nèi)容,變更模板代碼等操作中文注釋模板名稱,方便開發(fā)者維護(hù)模板;修改模板時(shí)系統(tǒng)會(huì)自動(dòng)存儲(chǔ)老模板的歷史記錄,以免數(shù)據(jù)丟失。",
    				"hits": "0",
    				"uid": "1",
    				"author": "admin",
    				"status": "9",
    				"url": "/index.php?c=show&id=21",
    				"link_id": "0",
    				"tableid": "0",
    				"inputip": "127.0.0.1",
    				"inputtime": "1551777472",
    				"updatetime": "1551777506",
    				"comments": "0",
    				"avgsort": "0.00",
    				"displayorder": "0"
    			},
    			{
    				"id": "20",
    				"catid": "2",
    				"title": "數(shù)據(jù)字典/字段介紹",
    				"thumb": "http://cdn-file.xunruicms.com/uploadfile/201903/cfa8ae0b589a3f7.jpg",
    				"keywords": "數(shù)據(jù)字典,字段,介紹",
    				"description": "迅睿CMS后臺(tái)可以直接查看數(shù)據(jù)結(jié)構(gòu)和字段介紹,非常方便開發(fā)者。開發(fā)者可以在后臺(tái)進(jìn)行數(shù)據(jù)優(yōu)化、數(shù)據(jù)修復(fù)、異常檢測(cè),以及執(zhí)行sql等操作",
    				"hits": "0",
    				"uid": "1",
    				"author": "admin",
    				"status": "9",
    				"url": "/index.php?c=show&id=20",
    				"link_id": "0",
    				"tableid": "0",
    				"inputip": "127.0.0.1",
    				"inputtime": "1551777439",
    				"updatetime": "1551777470",
    				"comments": "0",
    				"avgsort": "0.00",
    				"displayorder": "0"
    			},
    			{
    				"id": "19",
    				"catid": "2",
    				"title": "APP/小程序接口開發(fā)",
    				"thumb": "http://cdn-file.xunruicms.com/uploadfile/201903/a99c47b41e6e744.jpg",
    				"keywords": "小程序,接口,開發(fā)",
    				"description": "迅睿CMS為移動(dòng)端APP、小程序提供完備的服務(wù)端數(shù)據(jù)解決方案,提供客戶端對(duì)全站內(nèi)容讀寫接口,文件上傳和下載統(tǒng)一接口,完美復(fù)合移動(dòng)端 APP 開發(fā)者的需求。迅睿CMS后臺(tái)可設(shè)置多套密鑰機(jī)制,提供客戶端A...",
    				"hits": "0",
    				"uid": "1",
    				"author": "admin",
    				"status": "9",
    				"url": "/index.php?c=show&id=19",
    				"link_id": "0",
    				"tableid": "0",
    				"inputip": "127.0.0.1",
    				"inputtime": "1551777377",
    				"updatetime": "1551777437",
    				"comments": "0",
    				"avgsort": "0.00",
    				"displayorder": "0"
    			},
    			{
    				"id": "18",
    				"catid": "2",
    				"title": "多個(gè)網(wǎng)站終端",
    				"thumb": "http://cdn-file.xunruicms.com/uploadfile/201903/eea07766cc93d16.jpg",
    				"keywords": "終端,網(wǎng)站終端,網(wǎng)站",
    				"description": "什么是網(wǎng)站終端?傳統(tǒng)網(wǎng)站可以分為電腦pc、移動(dòng)端mobile兩個(gè)展示界面。迅睿CMS不僅支持這兩個(gè)界面,還可以通過自定義終端來設(shè)置不同終端的展示界面,例如百度MIP界面等等名詞解釋:終端目錄:英文目錄...",
    				"hits": "0",
    				"uid": "1",
    				"author": "admin",
    				"status": "9",
    				"url": "/index.php?c=show&id=18",
    				"link_id": "0",
    				"tableid": "0",
    				"inputip": "127.0.0.1",
    				"inputtime": "1551777295",
    				"updatetime": "1551777372",
    				"comments": "0",
    				"avgsort": "0.00",
    				"displayorder": "0"
    			},
    			{
    				"id": "17",
    				"catid": "8",
    				"title": "PHP的語言層面的優(yōu)化以及代碼優(yōu)化技巧",
    				"thumb": "",
    				"keywords": "代碼優(yōu)化技巧,語言層面,層面",
    				"description": "大規(guī)模的系統(tǒng)開發(fā)中,Cache無疑是至關(guān)重要的,php世界里,雖然不如java當(dāng)中,有那么豐富的cache解決方案可以選擇,但是,仍然有一些成熟的方案。1、語言層面的優(yōu)化:php具有不少引擎(engi...",
    				"hits": "0",
    				"uid": "1",
    				"author": "admin",
    				"status": "9",
    				"url": "/index.php?c=show&id=17",
    				"link_id": "0",
    				"tableid": "0",
    				"inputip": "127.0.0.1",
    				"inputtime": "1551777174",
    				"updatetime": "1551777231",
    				"comments": "0",
    				"avgsort": "0.00",
    				"displayorder": "0"
    			},
    			{
    				"id": "16",
    				"catid": "8",
    				"title": "PHP 7安裝使用體驗(yàn):性能大提升、擴(kuò)展支持不夠、升級(jí)需謹(jǐn)慎",
    				"thumb": "",
    				"keywords": "性能,安裝使用體驗(yàn),擴(kuò)展",
    				"description": "伴隨著PHP 7的發(fā)布,這幾天關(guān)于PHP 7性能和兼容性成了大家討論的熱點(diǎn)話題,PHP 7表現(xiàn)出來的高性能讓不少人蠢蠢欲動(dòng),有些“嘗鮮”的朋友已經(jīng)將PHP 7應(yīng)用到了生產(chǎn)環(huán)境當(dāng)中了。同時(shí),LNMP等熱...",
    				"hits": "0",
    				"uid": "1",
    				"author": "admin",
    				"status": "9",
    				"url": "/index.php?c=show&id=16",
    				"link_id": "0",
    				"tableid": "0",
    				"inputip": "127.0.0.1",
    				"inputtime": "1551777023",
    				"updatetime": "1551777172",
    				"comments": "0",
    				"avgsort": "0.00",
    				"displayorder": "0"
    			},
    			{
    				"id": "15",
    				"catid": "8",
    				"title": "PHP中htmlentities()和htmlspecialchars()函數(shù)的區(qū)別",
    				"thumb": "",
    				"keywords": "htmlentities,htmlspecialchars,函數(shù)",
    				"description": "htmlentities()和htmlspecialchars()函數(shù)的區(qū)別htmlentities()函數(shù)可以將所有適用的字符轉(zhuǎn)換為HTML實(shí)體;如果不指定編碼的話遇到中文會(huì)亂碼。htmlspeci...",
    				"hits": "0",
    				"uid": "1",
    				"author": "admin",
    				"status": "9",
    				"url": "/index.php?c=show&id=15",
    				"link_id": "0",
    				"tableid": "0",
    				"inputip": "127.0.0.1",
    				"inputtime": "1551776925",
    				"updatetime": "1551777021",
    				"comments": "0",
    				"avgsort": "0.00",
    				"displayorder": "0"
    			}
    		],
    		"total": 24,
    		"param": {
    			"app": "news",
    			"appid": "1",
    			"appsecret": "PHPCMF975993A341D09",
    			"api_auth_uid": "1",
    			"api_auth_code": "5e18f4c764abd848ec01b999559b2dfd",
    			"_": "1574211229168",
    			"total": 24,
    			"order": "updatetime desc"
    		},
    		"mypages": "<ul class=\"pagination\"><li><a>共24條</a></li><li class=\"active\"><a>1</a></li><li><a href=\"http://wang.com/index.php?s=member&app=news&c=home&m=index&appid=1&appsecret=PHPCMF975993A341D09&api_auth_uid=1&api_auth_code=5e18f4c764abd848ec01b999559b2dfd&_=157421122916               
                
  • 這個(gè)返回?cái)?shù)據(jù)是,當(dāng)前用戶中心的頁面全部的模板變量,其中l(wèi)ist是列表顯示的數(shù)據(jù)


    image.png

    一般我們做app數(shù)據(jù)調(diào)用時(shí),都會(huì)用到回調(diào)函數(shù),按需調(diào)用數(shù)據(jù)而不是全部調(diào)用數(shù)據(jù)

    滿意答案
    短信幣+1
  • 迅睿框架創(chuàng)始人:感謝首席,萬能API讀取原來如此簡(jiǎn)單,只要替換APP后面的參數(shù),獲取不同模型的內(nèi)容list數(shù)據(jù)。。