简要描述:

  • 会员注册

action

域名/addons/yun_shop/external.php?i=10&mid=0&type=5&shop_id=null&route=member.register

参数:

参数名 是否必须 类型 说明
i int 当前公众号
type int 客户端类型 1-微信;2-小程序;5-pc;7-app
uid int 会员id
unionid string 微信开放平台统一unionid

返回示例:

正确时返回:

 {
    "result": 1,
	"msg": 'ok'
	"data": {
	    status:1
	}
  }

错误时返回:

   {
    "result": 0,
	"msg": 'uid为空'
	"data": {
	}
  }

返回参数说明:

参数名 类型 说明
result int 0-失败;1-成功
msg string 提示
data obj 数据对象

备注:

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