[TOC]
简要描述
请求URL
http://10.1.2.14:8090/news/getNews
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
newsId |
是 |
int |
获取到的该新闻的编号 |
请求示例
返回示例
{"res":true,"message":"{\"id\":3058,\"title\":\"新婚\",\"smallImage\":\"upload/news/images/c54ded76-a8a0-47cc-a912-3efc4024efce.jpg\",\"content\":\"\\u003cp\\u003e按时吃饭\\u003c/p\\u003e\",\"date\":\"2023年03月14日 20:00:15\",\"introduce\":\"爱情真的存在\"}"}
返回参数说明
参数名 |
类型 |
说明 |
res |
string |
返回状态,true:成功 |
message |
string |
返回编号,标题,图像,内容,日期,介绍 |
备注