简要描述:
- 会员中心模板01切换导航
请求域名:
- http://.yunzshop.com
请求URL:
GET: route=member.member.new-member-data
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"member_info": {
"member_id": null,
"avatar": "https:\/\/gongyinglian-1251768088.cos.ap-guangzhou.myqcloud.com\/images\/5\/2020\/08\/Izj6iW06eRIwh2GieyEJAQ6Q55N9dw.jpg",
"nickname": null,
"invite_code_status": "1",
"invite_code": "L15ORUV1",
"level_id": 0,
"level_name": "\u6dd8\u901b\u4f1a\u5458"
},
"order": {
"shop": {
"data": [{
"status": 0,
"status_name": "\u5f85\u652f\u4ed8",
"class": "icon-fontclass-daifukuan",
"total": 0
}, {
"status": 1,
"status_name": "\u5f85\u53d1\u8d27",
"class": "icon-fontclass-daifahuo",
"total": 0
}, {
"status": 2,
"status_name": "\u5f85\u6536\u8d27",
"class": "icon-fontclass-daishouhuo1",
"total": 0
}, {
"status": 11,
"status_name": "\u552e\u540e\u5217\u8868",
"class": "icon-fontclass-shouhouliebiao",
"total": 0
}],
"name": "\u5546\u57ce\u8ba2\u5355",
"weight": 0
},
"hotel": {
"data": [{
"status": 0,
"status_name": "\u5f85\u4ed8\u6b3e",
"class": "icon-fontclass-daifukuan2",
"total": 0
}, {
"status": 1,
"status_name": "\u5f85\u786e\u8ba4",
"class": "icon-fontclass-daiqueren",
"total": 0
}, {
"status": 2,
"status_name": "\u5f85\u5165\u4f4f",
"class": "icon-fontclass-dairuzhu1",
"total": 0
}, {
"status": 11,
"status_name": "\u5f85\u9000\u623f",
"class": "icon-fontclass-shouhouliebiao",
"total": 0
}, {
"status": -2,
"status_name": "\u5168\u90e8\u8ba2\u5355",
"class": "icon-fontclass-quanbudingdan",
"total": 0
}],
"name": "\u9152\u5e97\u8ba2\u5355",
"weight": 10
},
"fight-groups": {
"data": [{
"status": 0,
"status_name": "\u5f85\u4ed8\u6b3e",
"class": "icon-fontclass-daifukuan1",
"total": 0
}, {
"status": 1,
"status_name": "\u5f85\u53d1\u8d27",
"class": "icon-fontclass-daifahuo1",
"total": 0
}, {
"status": 2,
"status_name": "\u5f85\u6536\u8d27",
"class": "icon-fontclass-daishouhuo",
"total": 0
}, {
"status": 3,
"status_name": "\u5df2\u5b8c\u6210",
"class": "icon-fontclass-daishouhuo",
"total": 0
}, {
"status": 11,
"status_name": "\u552e\u540e\u5217\u8868",
"class": "icon-fontclass-shouhou",
"total": 0
}],
"name": "\u62fc\u56e2\u8ba2\u5355",
"weight": 20
},
},
"assets": {
"balance": {
"name": "\u4f59\u989d",
"value": 0,
"weight": 0
},
"point": {
"name": "\u79ef\u5206",
"value": 0,
"weight": 10
}
},
"plugins": {
"head": [{
"title": "\u5546\u54c1\u6536\u85cf",
"class": "icon-fontclass-shoucang",
"value": 0,
"mini_url": "\/packageD\/member\/collection\/collection",
"url": "collection"
}, {
"title": "\u6d4f\u89c8\u8bb0\u5f55",
"class": "icon-fontclass-liulan",
"value": 1,
"mini_url": "\/packageD\/member\/footprint\/footprint",
"url": "footprint"
}],
"body": [{
"name": "m-erweima",
"title": "\u4e8c\u7ef4\u7801",
"class": "icon-fontclass-erweima",
"url": "m-erweima",
"image": "tool_a(2).png",
"type_1": "interactive",
"type_2": "",
"weight_1": 4000,
"weight_2": 0,
"default_weight": 1
}, {
"name": "m-pinglun",
"title": "\u8bc4\u8bba",
"class": "icon-fontclass-pinglun",
"url": "myEvaluation",
"image": "tool_a(4).png",
"mini_url": "\/packageD\/member\/myEvaluation\/myEvaluation",
"type_1": "interactive",
"type_2": "",
"weight_1": 4100,
"weight_2": 0,
"default_weight": 2
}, {
"name": "m-guanxi",
"title": "\u5ba2\u6237",
"class": "icon-fontclass-kehu",
"url": "myRelationship",
"image": "tool_a(3).png",
"mini_url": "\/packageD\/member\/myRelationship\/myRelationship",
"type_1": "essential_tool",
"type_2": "",
"weight_1": 800,
"weight_2": 0,
"default_weight": 3
}]
},
"plugin_data": [{
"code": "recommendGoods",
"name": "\u63a8\u8350\u5546\u54c1",
"sort": 0,
"class": "app\\common\\services\\member\\center\\MemberCenterService",
"data": {
"current_page": 1,
"data": [],
"first_page_url": "http:\/\/c.com\/admin\/shop?page=1",
"from": 1,
"last_page": 6,
"last_page_url": "http:\/\/c.com\/admin\/shop?page=6",
"next_page_url": "http:\/\/c.com\/admin\/shop?page=2",
"path": "http:\/\/c.com\/admin\/shop",
"per_page": 20,
"prev_page_url": null,
"to": 20,
"total": 104
}
}, {
"code": "fightGroups",
"name": "\u62fc\u56e2\u6d3b\u52a8",
"sort": 3,
"class": "Yunshop\\FightGroups\\services\\MemberCenterService"
}]
}
}
错误时返回:
参数名 | 类型 | 说明 |
---|---|---|
member_info | array | 会员基本信息 |
order | array | 订单信息 |
assets | array | 资产信息 |
plugins | array | 插件入口信息 |
plugins[head] | array | 模版一插件入口头部 |
plugins[body] | array | 模版一插件入口信息 |
plugin_data | array | 模版一底部挂件信息 |
备注:
- 更多返回错误代码请看首页的错误代码描述