### POST /resource * method: POST * version: v1.0 * describe: 修改资源 ##### 参数说明 | name | type | null| desc | |------|:-----|:----|:----:| | id | int | yes | id | | code | string | yes | 编码 | | name | string | no | 名称 | | digest| string | yes | 描述 | | tags | array | yes | 标签名数组 | | url | string | no | 地址 | | cpId| int | yes | 内容提供商id | | state| int| yes | 状态| ##### 结果示例 ``` { "code": "0000" "message": "", } ```