🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** - 公告详情 **请求URL:** - `/shopapi/shop_notice/detail` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |id |是 |int |公告ID | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "id": 2, "name": "公告2", "synopsis": "公告简介", "image": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png", "content": "公告内容", "sort": 50, "status": 1, "views": 4, "likes": 0, "create_time": "2021-08-23 14:06:59", "update_time": "1970-01-01 08:33:41", "delete_time": null, "publish_time": "2021-08-23 14:06:24" } } ``` **返回参数: |参数名 |类型 |说明 | |:--| |id |int |公告ID | |name |string |公告标题 | |synopsis |string |公告简介 | |image |string |公告封面图 | |content |string |公告内容 | |sort |int |公告排序 | |status |int |公告状态:0-隐藏;1-显示 | |views |int |浏览量 | |likes |int |点赞量 | |create_time |string |创建时间 | |update_time |string |更新时间 | |publish_time |string |发布时间 |