文档
测试

记者上传问题接口

POST
http://ycs.xiansuoshe.com/mobile/Reporter/Question_submission

请求头

参数名
类型
描述
必填
Connection
string
示例:keep-alive
必填
Accept
string
示例:application/json, text/javascript, */*; q=0.01
必填
X-Requested-With
string
示例:XMLHttpRequest
必填
User-Agent
string
示例:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
必填
Origin
string
示例:http://ycs.xiansuoshe.com
必填
Referer
string
示例:http://ycs.xiansuoshe.com/reporter/Problemrepor/index
必填
Accept-Language
string
示例:zh-CN,zh;q=0.9
必填

请求参数

参数名
类型
描述
必填
title
string
标题 示例:工地文明有欠缺 后续管理待加强
必填
media_column
string
媒体栏目 示例:今日焦点
必填
exposure_type
int
1省级以上媒体曝光 2市级媒体曝光3区级媒体曝光 示例:1
必填
problem_class
string
问题分类 示例:违法建筑
必填
place
string
地点 示例:官渎路、武地融创滨湖湾项目工地、中国铁建花语江南项目工地
必填
submit_time
string
提交时间 示例:2021-08-13
必填
imgpath
string
主图 示例:https://prod-cp-tuoguan-shaoxingyulun.oss-cn-hangzhou.aliyuncs.com/614319eaa9dbf.jpg
必填
type
int
1上传视频2填写链接 示例:1
必填
url
string
链接 示例:
必填
video
string
视频地址 示例:https://prod-cp-tuoguan-shaoxingyulun.oss-cn-hangzhou.aliyuncs.com/614319f38f38e.MP4
必填
text
string
记者提交的富文本框 示例:越城区官渎路边一个在建排涝工程围挡缺失,武地融创滨湖湾项目工地门口机动车乱停,中国铁建花语江南项目工地大片围挡未设置公益广告等现象
必填

说明 / 示例

``` { "code": 200, //200成功 400 有错误 "msg": "添加成功" } ```