文档
测试

社区首页-政策项-修改

PUT
http://127.0.0.1:8888/community/commIndexPolicy

请求参数

参数名
类型
描述
必填
user_id
int
示例:1
必填
id
int
示例:1
必填
content
string
示例:这是修改后的内容
必填

响应参数

参数名
类型
描述
必填
data
string
示例:
必填
list
string
示例:
必填
msg
string
示例:操作成功
必填
status
int
示例:1
必填

说明 / 示例

### 响应如下 (status=1, msg="政策不存在") (status=0, msg="参数错误") (status=0, msg="输入内容不能为空") (status=1, msg="非管理员不能添加")