客户资料修改页提交
接口地址:/admin/profile_post POST
客户资料修改页提交 -- wyh
接口说明:客户资料修改页提交(文件name:idfront,idback,license)
接口参数
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| client_id | 整型 | 必填 | 1 | - | 客户ID |
| username | 字符串 | 必填 | 1 | - | 用户名 |
| sex | 整型 | 必填 | 1 | - | 性别(0未知,1男,2女) |
| avatar | 字符串 | 非必填 | 1 | - | 头像 |
| profession | 字符串 | 非必填 | 1 | - | 职业 |
| signature | 字符串 | 非必填 | 1 | - | 个性签名 |
| companyname | 字符串 | 非必填 | 1 | - | 所在公司 |
| 字符串 | 非必填 | 0 | - | 邮件 | |
| 字符串 | 非必填 | 0 | - | ||
| sale_id | 字符串 | 非必填 | 0 | - | 销售id |
| country | 字符串 | 非必填 | 0 | - | 国家 |
| province | 字符串 | 非必填 | 0 | - | 省份 |
| city | 字符串 | 非必填 | 0 | - | 城市 |
| region | 字符串 | 非必填 | 0 | - | 区 |
| address1 | 字符串 | 非必填 | 1 | - | 具体地址1 |
| postcode | 字符串 | 非必填 | 1 | - | 邮编 |
| phone_code | 整型 | 非必填 | 1 | - | 电话区号 |
| phonenumber | 字符串 | 非必填 | 1 | - | 电话 |
| currency | 整型 | 非必填 | 1 | - | 使用货币ID |
| defaultgateway | 字符串 | 必填 | 1 | - | 选择默认支付接口 |
| notes | 字符串 | 非必填 | 0 | - | 管理员备注 |
| groupid | 整型 | 非必填 | 0 | - | 用户组ID |
| status | 整型 | 非必填 | 0 | - | 状态(0未激活,1激活,2关闭) |
| language | 字符串 | 非必填 | 0 | - | 语言(传zh_cn/zh_xg/en_us等) |
| know_us | 字符串 | 非必填 | 0 | - | 了解途径 |
| custom[id] | 字符串 | 必填 | 0 | - | 自定义字段值.形式:custom[id] |
返回结果
{
"status":200/201/203/204/400/401/406,
"msg":提示信息,
"data":{
}
}提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改