简要描述:

  • 添加用户

action

域名 /admin/user/create

参数:

参数名 是否必须 类型 说明
以下数据 需要加数组 如:user[username]
username string 用户名
password string 密码
repassword string 确认密码
mobile int 手机号
application_number int 创建平台数量(为0或为空则不允许创建)
endtime int 有效期(为0则永久有效, 其他则传用户选择日期的时间戳)
avatar string 头像
remark string 备注

返回示例:

正确时返回:

 {
    "result": 1,
    "msg": '成功'
    "data": ""
  }

错误时返回:

   {
    "result": 0,
    "msg": '失败'
    "data": ""
  }

备注:

  • 更多返回错误代码请看首页的错误代码描述