Commit Graph

56 Commits

Author SHA1 Message Date
苏尹岚
54a878e166 登录bug,有可能是新用户没有userid 2020-04-22 14:21:28 +08:00
苏尹岚
e75001ab1a 小程序登录判断,如果没有openid就做标记 2020-04-22 12:04:57 +08:00
苏尹岚
8c96c62a7c 小程序登录判断,如果没有openid就做标记 2020-04-22 11:55:58 +08:00
苏尹岚
11cdb8828d 新增接口清除除参数token外这个人的token 2020-04-13 10:30:24 +08:00
苏尹岚
a15102c12b 根据用户有无手机号返回tokentype退回 2020-02-19 18:34:29 +08:00
苏尹岚
6719daaf05 根据用户有无手机号返回tokentype 2020-02-19 18:25:25 +08:00
苏尹岚
9919f66072 根据用户有无手机号返回tokentype 2020-02-19 18:20:51 +08:00
苏尹岚
78acdfdf19 订单打款查询验证方式增加微信支付appid参数 2020-02-19 09:01:38 +08:00
gazebo
0477de8916 认证支持同一类型多绑定 2020-02-13 16:45:09 +08:00
gazebo
b92cff3338 !token改为7部分 2020-01-08 10:38:55 +08:00
gazebo
c331ae3996 fk 2020-01-06 17:30:36 +08:00
gazebo
170cd63936 RegisterUser支持token 2020-01-06 16:36:52 +08:00
gazebo
fda22fa2d4 SendVerifyCode 2020-01-06 15:36:33 +08:00
gazebo
5d21158c7b SendVerifyCode时,如果是管理员,返回verifyCode 2020-01-06 12:13:28 +08:00
gazebo
e7199741a4 手机号正则修改,包括16开头的手机号 2019-12-03 10:32:48 +08:00
gazebo
603c6bffa2 auth2.Login中,暂时禁用利用得到受信任的信息查找用户 2019-11-21 10:40:21 +08:00
gazebo
a7164bb511 添加User.Avatar 2019-11-08 17:32:46 +08:00
gazebo
15a6fa09d4 输出与UnbindAuth相关的调试信息 2019-10-25 11:54:19 +08:00
gazebo
bed2d85833 RegisterUser支持注册用户时,不指定手机号 2019-10-21 15:14:34 +08:00
gazebo
bf86235ce2 - 添加用户最后登录信息 2019-09-24 18:09:32 +08:00
gazebo
d1d0e576eb - 移除常量字符串'1970-01-01 00:00:00' 2019-09-20 15:46:09 +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
e4f1812337 - 绑定认证方式前,先删除可能的相同的认证方式 2019-09-02 14:53:18 +08:00
gazebo
c0c79c368d - 用户已经存在,自动继承时,正确更新当前认证方式 2019-09-02 14:27:34 +08:00
gazebo
eaebbd387c - fk 2019-08-28 10:53:01 +08:00
gazebo
5eab792196 - 认证通过且通过手机(或邮箱)能找到用户,在没有相应认证方式的情况下,自动绑定此认证方式 2019-08-28 10:41:51 +08:00
gazebo
c5f859c92e - auth2添加固定TOKEN 2019-08-21 09:17:28 +08:00
gazebo
d59ca265c4 - IAuther.UnbindAuth的接口改为userID 2019-08-13 11:02:14 +08:00
gazebo
af88e9c52e - ren AuthInfo.ExpiresIn to ExpiresAt
- 将auth2中不是小驼峰的全部修改
2019-08-08 17:14:45 +08:00
gazebo
c020130819 - tasksch.NewParallelTask2,支持部分失败时得到准备的成功,失败个数信息 2019-08-06 14:20:32 +08:00
gazebo
407844aa81 - auth2.AddAuthBind的第一个参数从*AuthInfo改为IUser 2019-08-06 11:18:38 +08:00
gazebo
e853b45176 - 去除UserProvide.CreateUser 2019-07-31 15:06:07 +08:00
gazebo
25ac631c5c - refactor jxcontent and tasksch (remove dependency from jxcontent to tasksch)
- send dingding msg to user when async task finished
2019-03-22 15:04:28 +08:00
gazebo
bec5eb85cc - fk 2019-03-11 15:45:27 +08:00
gazebo
61fd3b5a90 - fk 2019-03-11 15:39:24 +08:00
gazebo
4455e51b3f - export auth2.GetTokenInfo 2019-03-11 14:50:25 +08:00
gazebo
2e65154206 - v2 token format changed
- DisableUser
- clear all tokens when disable user
- handle ding ding user leave event
2019-03-09 20:59:18 +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
ce109a60b3 - dingding auth 2019-03-07 21:15:19 +08:00
gazebo
8a1425c4d0 - authType userID2 to userid2 2019-03-05 12:06:24 +08:00
gazebo
5d0b5ec360 - fk 2019-03-05 11:50:49 +08:00
gazebo
f925049983 - fk 2019-03-05 11:43:40 +08:00
gazebo
a8e92dd92e - jxcontext.New 2019-03-05 11:18:30 +08:00
gazebo
273c50f6b7 - remove user2.ChangeMobile (use auth2.AddAuthBind instead) 2019-03-05 10:24:42 +08:00
gazebo
02f49207f1 - ErrInvalidParams 2019-03-05 09:51:05 +08:00
gazebo
dee5524331 - ErrAuthTypeAlreadyExist 2019-03-05 09:20:13 +08:00
gazebo
083f9ccbcf - set correct authIDType when calling auth2.Login 2019-03-04 17:50:16 +08:00
gazebo
4071308185 - more detail error info 4 RegisterUser 2019-03-04 17:25:29 +08:00