这是一个用于添加用户的 API 接口。

请求方法

  • GET

请求路径

  • /api/user/add

参数说明

  • username:用户名,必填
  • email:邮箱,必填
  • password:密码,必填

示例

curl -X GET "http://example.com/api/user/add?username=example&email=example@example.com&password=examplepassword"

返回结果

  • status:请求状态码
  • message:请求结果信息
  • data:返回数据

注意事项

  • 用户名、邮箱、密码必须填写
  • 密码长度至少为 6 位
  • 邮箱格式必须正确

了解更多关于用户管理的 API

Golden_Retriever