###登录
POST {{baseUrl}}/login/login
Content-Type: application/json

{
"loginName":"admin",
"password":"admin",
"securityCode":"8888"
}

> {%
client.global.set("SmsSet_id", JSON.parse(response.body).data.id);
client.global.set("authToken", JSON.parse(response.body).data.token);
%}

###新闻列表
POST {{baseUrl}}/news/list
Content-Type: application/json

{
    "page":1,
    "size":10
}


###新闻更新与保存
POST {{baseUrl}}/news/save
Authorization: {{authToken}}
Content-Type: application/json

{
        "categoryId":397,
        "categoryName":"77topp",
        "title":"7xmpmu",
        "titleLogoPath":"hfkapu",
        "content":"ioss95",
        "top":0,
        "viewNums":0,
        "publishTime":"1694966400000",
}

> {%
client.global.set("News_id", JSON.parse(response.body).data.id);
%}

###新闻查看
GET {{baseUrl}}/news/info?id={{News_id}}
Accept: application/json

###新闻编辑
GET {{baseUrl}}/news/edit?id={{News_id}}
Accept: application/json


###新闻删除
GET {{baseUrl}}/news/delete?id={{News_id}}
Authorization: {{authToken}}
Accept: application/json




