文档
测试

用户注册

POST
{{host}}/userAPI/register

接口描述

小程序新用户注册

请求参数

参数名
类型
描述
必填
code
string
示例:041hWdHa1fcZ1C0uznIa1BIhqH3hWdHJ
必填
name
string
示例:catop
必填
type
string
目前只有public和staff两种
必填
department
string
示例:计算机学院
必填

响应参数

参数名
类型
描述
必填
body
object
示例:null
必填
err_code
int
0=ok,-1=内部错误,-2=当前用户已注册
必填
msg
string
示例:ok
必填
prompt
string
示例:注册成功
必填