简要描述:

  • 编辑文章

请求域名:

  • http://xx.com

请求URL:

route=plugin.message-base.frontend.article.changeArticle

参数:

参数名 是否必须 类型 说明
article_id int 文章ID
article_name string 文章名
article string 文章内容
article_sort int 文章排序
is_private int 是否隐藏文章,1隐藏,0不隐藏

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "保存成功",
    "data": {
        "id": 10,
        "uniacid": 1,
        "base_id": 1,
        "level": 2,
        "parent_id": 1,
        "article_name": "文章1-4",
        "article": "1355652",
        "sort": 9,
        "article_sort": 996,
        "created_at": "2021-10-22 16:10:13",
        "updated_at": "2021-10-22 16:10:39",
        "deleted_at": null
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明