1、触发erp成长值up
topic: users.growthup
线上的mq:(user和sns均是发aws和qq,所以会监视两个云)
rabbit_common = rabbitmq-common.yohoops.org:5672
rabbit_common_user = yoho
rabbit_common_password = yoho
涉及到到的场景:
1.个人资料完善100%(个人资料包括头像、昵称、性别、生日、身高、体重)
触发的方法:
app.passport.modifyHead
app.passport.modifyBase
http://localhost:8081/users/UserBaseRest/modifyUserBase
{"uid":"50001678","gender":"1","nick_name":"damianhua222222"}
body json格式如下:
{"createTime":1493793024,"type":20,"uid":50001432}
2.邮箱认证涉及到的场景:
- PC上认证邮箱
3.手机认证涉及到的场景:
触发方法:
http://localhost:8081/users/RegisterRest/register
{"profile":"15651035157","password":"yoho9646"}
body json格式消息如下:
{"createTime":1493793432,"type":22,"uid":50001674}
- PC上手机认证
- 新用户手机注册
- 新的第三方(未注册过)提示绑定手机号码
- 老的第三方(注册过)提示绑定手机号码
- 个人中心中更换手机号码
4.登录涉及到以下场景:
触发方法:http://localhost:8081/users/LoginRest/login
{"profile":"15651035157","password":"yoho9646"}
body json格式消息体:
{"createTime":1493793024,"type":43,"uid":50001432}
- 手机号码登录
- 第三方登录
- 手机号码快捷登录
5.晒单
body json格式如下:
{"createTime":1493793024,"type":20,"uid":50001432,"orderCode":1061014593}