文档
测试

新增文章接口

POST
https://www.whhipoint.com/tp5/public/index.php/api/Qytk/add_article

请求参数

参数名
类型
描述
必填
title_cn
中文标题
必填
title_en
英文标题
必填
time
发布时间
必填
image
海报图片
必填
content_cn
中文内容
必填
content_en
英文内容
必填
type
显示在最新动态列表中:0不显示.1:显示
必填

响应参数

参数名
类型
描述
必填
title_cn
中文标题
必填
title_en
英文标题
必填
time
发布时间
必填
image
海报图片
必填
content_cn
中文内容
必填
content_en
英文内容
必填
type
显示在最新动态列表中:0不显示.1:显示
必填

说明 / 示例

{ "code": 200, "msg": "新增成功", "data": { "title_cn": "中文标题", "title_en": "英文标题", "time": "2021-02-03", "content_cn": "中文内容", "content_en": "英文内容", "type": "1", "image": "https://www.whhipoint.com/tp5/public/uploads/20210203/55ce530c3204ff283166ef5acfb07d05.jpg", "aid": "1" } }