文档
测试

注册接口

POST
http://www.citybyteai.com/materials/api/user/add

接口描述

用户注册接口,请求参数为json格式

请求头

参数名
类型
描述
必填
Content-Type
application/json
必填

请求参数

参数名
类型
描述
必填
username
string
必填,用户名,长度6-16
必填
password
string
必填,密码,长度6-16
必填
nickname
string
选填,昵称
可选

响应参数

参数名
类型
描述
必填
msg
string
返回提示信息
必填
code
int
必填