简要描述:

  • 申请招商员接口

请求URL:

plugin.merchant.frontend.merchant-apply.staff

参数:

参数名 是否必须 类型 说明
user arr 账号信息
user[username] str 账号
user[password] str 密码
user[password_again] str 确认密码

返回示例:

正确时返回:

{
	result: 1,
	msg: "提交申请成功,等待审核!",
	data: {
		status: 1
	}
}

错误时返回:

{
	"result": 0,
	"msg": "参数错误[config_status]",
	"data": []
}

{
	"result": 0,
	"msg": "信息不完整[user]",
	"data": []
}

{
	"result": 0,
	"msg": "两次不密码不相同",
	"data": []
}

{
	"result": 0,
	"msg": "此用户为系统存在用户",
	"data": []
}

{
    "result":0,
    "msg":"提交申请失败!",
    "data": {
		status: -1
    }
}

备注:

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