文档
测试

注册用户

POST
http://localhost:8003/api/User/register

请求头

参数名
类型
描述
必填
token
string
示例:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhZG1pbiIsInN1YiI6InVzZXIiLCJhdWQiOiIxODI2MjI3NTEzMiIsImV4cCI6MTY0NzE5MDI3NSwibmJmIjoxNjQ3MTgzMDc1LCJpYXQiOjE2NDcxODMwNzUsImp0aSI6Ijc1OGIxMjhiZjNjNzUzYWRhZmRlY2I1MDNjNjZiNDk5IiwibG9naW5fdHlwZSI6InVzZXIiLCJjb21weV9pZCI6MzJ9.zEdCdEwxV4h9ZUebv5M71iX5GY-eJr0PLoESfh9TBLI
必填

请求参数

参数名
类型
描述
必填
phone
int
示例:18262275132
必填
type
int
示例:2
必填
password
int
示例:123456
必填
code
int
示例:4118
必填
serial_no
string
示例:2028:f825dcea890e90c04100
必填
openid
string
示例:o9wY-49Aqwh8sJCP2qdraDGsrm0Q
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:绑定成功!
必填
status
string
示例:1
必填
data
object
数据字典
必填
id
int
示例:112
必填
phone
string
示例:18262275132
必填
password
string
示例:25d55ad283aa400af464c76d713c07ad
必填
name
string
示例:测试1222232
必填
type
int
示例:4
必填
picture_name
string
示例:01a9505f1fe18fa801215aa0360231.jpg@2o.jpg
必填
picture_url
string
示例:uploads/20220313\c8caec4fbef3e38e55c4cdb576ecb3e0.jpg
必填
picture_path
object
示例:null
必填
wechat_info
object
示例:null
必填
relname_id
object
示例:null
必填
record_id
object
示例:null
必填
address
object
示例:null
必填
surplus
int
示例:0
必填
register_time
string
示例:1630910297
必填
end_login_time
string
示例:1647183075
必填
is_realname
int
示例:0
必填
id_card
object
示例:null
必填
id_card_front
object
示例:null
必填
id_card_front_path
object
示例:null
必填
id_card_bg
object
示例:null
必填
id_card_bg_path
object
示例:null
必填
id_card_hand
object
示例:null
必填
id_card_hand_path
object
示例:null
必填
is_safety
int
示例:0
必填
is_qualify
int
示例:0
必填
qualify_image
object
示例:null
必填
qualify_image_path
object
示例:null
必填
is_official
int
示例:0
必填
official_prove
object
示例:null
必填
worker_score
int
示例:0
必填
worker_score_count
int
示例:0
必填
gps_x
string
示例:10
必填
gps_y
string
示例:11
必填
compy_id
int
示例:32
必填
token
string
示例:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhZG1pbiIsInN1YiI6InVzZXIiLCJhdWQiOiIxODI2MjI3NTEzMiIsImV4cCI6MTY0NzE5MTE2NCwibmJmIjoxNjQ3MTgzOTY0LCJpYXQiOjE2NDcxODM5NjQsImp0aSI6IjZlMzVmYTZjNDAzYWI2NWM5NWI1NjljMGY1NjUyYzBjIiwidHlwZSI6NH0.Z328WdbQDD_40Rzrh_zU5eXslPYIYE_pLQaNsgN6JcU
必填
errcode
string
示例:绑定成功!
必填