文档
测试

新增轮播接口

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

请求参数

参数名
类型
描述
必填
type
展示区域:1:首页-已完成任务;2:首页-开始任务
必填
order
轮播顺序
必填
brand_title_cn
中文标题
必填
brand_title_en
英文标题
必填
brand_image
图片
必填
jump_type
跳转方式:1:url; 2:文章id
必填
jump_content
跳转内容
必填

响应参数

参数名
类型
描述
必填
type
展示区域:1:首页-已完成任务;2:首页-开始任务
必填
order
轮播顺序
必填
brand_title_cn
中文标题
必填
brand_title_en
英文标题
必填
brand_image
图片
必填
jump_type
跳转方式:1:url; 2:文章id
必填
jump_content
跳转内容
必填
aid
操作人id
必填
brand_time
发布时间
必填

说明 / 示例

{ "code": 200, "msg": "新增成功", "data": { "type": "1", "order": "1", "brand_title_cn": "中文标题", "brand_title_en": "英文标题", "jump_type": "1", "jump_content": "www.baidu.com", "brand_image": "https://www.whhipoint.com/tp5/public/uploads/20210203/e41df0cffb20345289e706f87c5c9d8c.jpg", "aid": "1", "brand_time": "2021-02-03" } }