Commit Graph

49 Commits

Author SHA1 Message Date
gazebo
c196e7aab9 添加支付宝登录方式:alipaycode 2020-01-08 18:06:53 +08:00
gazebo
170cd63936 RegisterUser支持token 2020-01-06 16:36:52 +08:00
gazebo
5d21158c7b SendVerifyCode时,如果是管理员,返回verifyCode 2020-01-06 12:13:28 +08:00
gazebo
d7c77068cc DecryptData中更新sessionKey 2019-11-25 14:46:40 +08:00
gazebo
5cf7e75aaf UpdateUserByMiniInfo中更新头像或手机号 2019-11-12 09:29:19 +08:00
gazebo
2e02d05840 up 2019-11-11 18:23:02 +08:00
gazebo
e763aac526 新增修改用户手机号为微信绑定的手机号,user2/UpdateUserByMiniInfo 2019-11-11 16:50:21 +08:00
gazebo
128d719a9c 修改MiniDecryptData中的bug 2019-11-08 18:25:46 +08:00
gazebo
a7164bb511 添加User.Avatar 2019-11-08 17:32:46 +08:00
gazebo
f5e2b711fb SendMsg2Somebody不强制要求手机号 2019-11-06 14:32:44 +08:00
gazebo
15a6fa09d4 输出与UnbindAuth相关的调试信息 2019-10-25 11:54:19 +08:00
gazebo
fceab5848e 切换阿里短信服务账号 2019-10-21 15:48:23 +08:00
gazebo
3855e79809 用户修改属性时的最后修改人从jxadmin改为用户id
用户注册时也记录相应的最后登录信息
2019-10-09 11:06:08 +08:00
gazebo
47a0a892b6 - 重构了dao.GetAuthBind和dao.GetUserBindAuthInfo
- AuthBind的唯一索引调整为"AuthID", "Type", "BindType", "DeletedAt"
2019-09-06 16:26:47 +08:00
gazebo
dad8adc4bf + AuthBind中添加BindType
- 合并函数GetAuthBindsByAuthID2
- User中的mobile与email改为可为null
2019-09-03 15:35:54 +08:00
gazebo
5eab792196 - 认证通过且通过手机(或邮箱)能找到用户,在没有相应认证方式的情况下,自动绑定此认证方式 2019-08-28 10:41:51 +08:00
gazebo
cd84cbdfd2 - auth2与auth在小程序登录成功后,如有必要刷新openID 2019-08-13 11:23:36 +08:00
gazebo
d59ca265c4 - IAuther.UnbindAuth的接口改为userID 2019-08-13 11:02:14 +08:00
gazebo
342be58814 - 修复多小程序支持的BUG,从referer中得到小程序ID信息 2019-08-12 14:42:55 +08:00
gazebo
9ab43f291e - 新旧小程序兼容BUG修复 2019-08-12 14:15:11 +08:00
gazebo
d90bc3cb11 - 兼容一个新的微信小程序 2019-08-12 10:49:35 +08:00
gazebo
7b488090bc - rename AuthTypeWeixin from weixin to wxqrcode 2019-08-07 18:45:47 +08:00
gazebo
70c9862403 - fix bug in weixin.VerifySecret 2019-08-07 18:34:36 +08:00
gazebo
407844aa81 - auth2.AddAuthBind的第一个参数从*AuthInfo改为IUser 2019-08-06 11:18:38 +08:00
gazebo
c20f7bb360 - buildCacheKey to buildCacheKey4Verify 2019-08-05 10:49:17 +08:00
gazebo
efefe0ff52 - 无论成功与否,都存储verifyCode 2019-04-25 16:04:40 +08:00
gazebo
077a56b53e - 检查发送短信结果,出错报警 2019-04-03 16:02:15 +08:00
gazebo
f0fa933196 - make StartRefreshComment async 2019-03-15 09:37:54 +08:00
gazebo
3113e9d603 - replace literal 'admin' with const 2019-03-12 15:53:13 +08:00
gazebo
cd4bc1c810 - fix mobile.VerifySecret 2019-03-11 15:12:15 +08:00
gazebo
1012a855ea - refactor verify code 2019-03-11 10:37:57 +08:00
gazebo
4b362baea9 - fix bug in UnionFindAuthBind 2019-03-09 14:20:21 +08:00
gazebo
9d5381a8d8 - up 2019-03-08 16:03:27 +08:00
gazebo
8bcf464193 - refactor defauther.UnionFindAuthBind 2019-03-08 15:55:51 +08:00
gazebo
b137d3c444 - debug in dingding qrcode.VerifySecret 2019-03-08 11:28:19 +08:00
gazebo
99bb093f3f - new dingding api config 2019-03-08 11:10:14 +08:00
gazebo
d633a35a26 - qrcode auth for dingding 2019-03-08 10:52:02 +08:00
gazebo
ce109a60b3 - dingding auth 2019-03-07 21:15:19 +08:00
gazebo
782c686356 - add WeixinPageAPI 2019-03-05 14:48:58 +08:00
gazebo
cba9265eab - fix bugs in auth2 2019-03-05 14:18:40 +08:00
gazebo
f925049983 - fk 2019-03-05 11:43:40 +08:00
gazebo
12827d08a3 - fix bug in password.ChangePassword 2019-03-05 11:25:56 +08:00
gazebo
dee5524331 - ErrAuthTypeAlreadyExist 2019-03-05 09:20:13 +08:00
gazebo
2fe55bcb2b - remove sessionKey from storage. 2019-03-04 17:00:45 +08:00
gazebo
f65f3dfadb - status 2019-03-04 13:43:50 +08:00
gazebo
dce28f4aa0 - fullfill ChangePassword 2019-03-04 11:39:11 +08:00
gazebo
538a801ccd - fix bug in weixinmini.init 2019-03-04 11:10:41 +08:00
gazebo
6793e7443d - user2 2019-03-03 22:20:07 +08:00
gazebo
421240ac54 - first edition of auth2 2019-03-01 17:43:17 +08:00