基本信息
Path: /api/account/addAuthor
Method: POST
接口描述:添加个人或者企业类型著作权人
请求参数
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | 
|---|---|---|---|---|
| Content-Type | application/x-www-form-urlencoded | 是 | 
Body
| 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 | 
|---|---|---|---|---|
| signature | text | 是 | 90b7a0abc1737fb68a6d3c26b990ca7a | 签名 | 
| app_id | text | 是 | cade4e832627b4f6 | 应用ID | 
| timestamp | text | 是 | 1577330898 | 时间戳 | 
| nonce | text | 是 | d4d37f05a8a7c4eb21668b6f36dacc11 | md5(时间戳) | 
| access_token | text | 是 | $2y$10$eC0xMg0YSNAsJMulOhV02eiMQ1tcQUJu7HdgAKzjgJyKH04QeNhUm | 请求token以后的参数 | 
| smscode | text | 是 | 8888 | 手机验证码 | 
| type | int | 是 | 1 | 身份类型(1个人,2企业) | 
| name | text | 是 | 张三 | 姓名or公司名 | 
| mobile | text | 是 | 18888888888 | 手机号 | 
| uid | int | 是 | 1 | 用户ID | 
| identity | text | 否 | 51018411111111 | 身份证(个人) | 
| identity_img_front | text | 否 | https://x.jpg | 身份证正面(个人) | 
| identity_img_back | text | 否 | https://y.jpg | 身份证背面(个人) | 
| full_area_name | text | 否 | 陕西省西安市长安区 | 所在区域(个人) | 
| license | text | 否 | 91340100MA8N3HGR8A | 营业执照号(企业) | 
| license_img | text | 否 | https://z.jpg | 印业执照相片(企业) | 
| warrant | text | 否 | https://a.jpg | 异地授权书 | 
返回数据
{"status": 200,"msg": "添加成功","time": 1689920397,"data": {"id": "2380" // 新增著作权人ID}}


