文档
测试

绑定客户

POST
http://localhost:8080/app/wolian/custom/bind

接口描述

如果返回的code小于0 需要toast弹出错误提示 停留在原页面 绑定成功 界面返回首页

请求参数

参数名
类型
描述
必填
user_id
string
当前登录用户id 示例:696928852bf74f94b4fcd34c93895f5a
必填
custom_name
string
客户姓名 示例:马潘
必填
custom_phone
int
客户电话 示例:18182108645
必填
login_pwd
int
登录密码 示例:12345678
必填
sign
string
请求接口签名 示例:bc086abb2c9c23d7844a38795abc6ac4
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
errors
object
数据字典
必填
msg
string
示例:绑定成功
必填
result
object
数据字典
必填
custom_name
string
示例:马潘
必填
user_id
string
示例:696928852bf74f94b4fcd34c93895f5a
必填
custom_phone
string
示例:18182108645
必填
login_pwd
string
示例:12345678
必填

说明 / 示例

{ "code": 1, "errors": { }, "msg": "绑定成功", "result": { "custom_name": "马潘", "user_id": "696928852bf74f94b4fcd34c93895f5a", "custom_phone": "18182108645", "login_pwd": "12345678" } }