根据新闻id获取新闻信息
    url localhost:8080/content/sfContent
    http请求方式 get
    参数
    Authorization(head请求头) 必填(token)
    参数格式 url?cntId=?
    返回值
    200 {
    “code”: “200”,
    “message”: “请求成功!”,
    “data”: [
    {
    “cnt_id”: 1,
    “category_id”: 0,
    “parent_path”: “”,
    “title”: “zhangsan”,
    “css”: “”,
    “description”: “”,
    “link_url”: “”,
    “model_id”: 0,
    “sort_id”: 0,
    “is_new”: 0,
    “is_hot”: 0,
    “is_top”: 0,
    “is_wap”: 0,
    “is_app”: 0,
    “hits”: 0,
    “favorites”: 0,
    “replies”: 0,
    “cons”: 0,
    “shares”: 0,
    “allow_reply”: 1,
    “from_type”: 0,
    “from_where”: “2”,
    “user_id”: 2,
    “user_name”: “2”,
    “last_checker_id”: 0,
    “create_time”: “2021-06-16T16:27:54.000+00:00”,
    “update_time”: “2021-06-16T16:27:54.000+00:00”,
    “template_id”: 0,
    “status_id”: 0,
    “message”: “2222222222”,
    “author_name”: “”,
    “points_amount”: 0,
    “level_list”: “”,
    “role_list”: “”,
    “is_pay”: false,
    “read_price”: 0.00,
    “trial_numbers”: 0,
    “paid_count”: 0,
    “paid_amount”: 0.00,
    “actual_paid_amount”: 0.00,
    “is_reward”: false,
    “rewards”: 0,
    “reward_amount”: 0.00,
    “actual_reward_amount”: 0.00
    }
    ]
    }
    500 服务器内部错误
    401 {
    code“: “401”,
    message“: “没有找到token,没有权限访问!”,
    “data”: null
    }

    {
    code“: “401”,
    message“: “token不正确”,
    “data”: null
    } |