多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**简要描述:** - 获取公共页面的数据 **请求URL:** - ` api/pc/commonData` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | **返回示例** ``` { "code": 1, "msg": "", "data": { "article": [ { "id": 5, "title": "五折活动" }, { "id": 4, "title": "双12活动满减" }, { "id": 3, "title": "电商商城" } ], "logo": "http://www.likeshop.localhost/uploads/images/20210305174618d99a46256.png", "name": "LikeShop管理后台", "cart_num": 0, "coupon_num": 2, "oa_qr_code": "http://www.likeshop.localhost/uploads/images/background/20201226/9fdc5e3330a9f80d28f1be995e61870b.gif", "mnp_qr_code": "http://www.likeshop.localhost/uploads/images/background/20201209/f01b8cfd6bf96699af368ba9bfa66268.png" }, "show": 0, "time": "1.100157" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |article|array|公告信息 |----id|int|id |----title |string |标题 |logo|string|网站logo |name|string|网站名称 |cart_num|int|购物车数量 |coupon_num|int|优惠券数量 |oa_qr_code|string|公众号二维码 |mnp_qr_code|string|小程序二维码 **备注** -